Login  Register

random selection from multiple measures

Posted by tino on Sep 04, 2014; 9:23pm
URL: http://spssx-discussion.165.s1.nabble.com/random-selection-from-multiple-measures-tp5727162.html

Dear All,

I have repeated measures of the same observational units; specifically, for each observational unit, there are 6 measurements.

From these six measurements, I need to randomly select one measurement for each person.

For example, if there were 100 persons measured six times, there would be 600 measurements. From these 600 measurement, I would need 100 measurements, but each person should only be sampled once.

Say "person" is numbered from 1 to 100, and "measurements" is numbered from 1 to 6. Which sytnax could I use to make the kind of selection outlined above? Many thanks for your help!

Tino

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD