FW: macro help

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FW: macro help

Dominic Lusinchi
Dear colleagues,



Please disregard the message below that I sent on Friday as I have solved my
macro problem: the macro is doing what I want it to do! :-)



Thank you to any of you who might have wandered into that long message. Of
course, if you have any feedback I'm always pleased to hear from you.



Best regards to all,

Dominic



Dominic Lusinchi

Statistician

Far West Research

Statistical Consulting

San Francisco, California

415-664-3032

www.farwestresearch.com

  _____

From: Dominic Lusinchi [mailto:[hidden email]]
Sent: Friday, October 27, 2006 10:16 AM
To: SPSSX(r) Discussion
Subject: macro help



Dear colleagues,



First of all, this is a long email and I apologize for that.



Second I am a macro rookie, so what you will see, if you read on, is
probably not very elegant.



Any HELP much appreciated.



Here is what I want to do:



From a set of 10 scores (or n scores, more generally) I want to



1) select 5 (or m, more generally, where m < n),

2) compute the mean (or any other statistic for that matter) of those 5
scores then

3) do the same for the 5 remaining scores (n-m scores),

4) then compute the difference (or some other operation) and

5) put the result in a separate file,

6) finally repeat steps 1 through 5 x number of times.