building blocks of trials

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

building blocks of trials

luciano basso
Hi team,

I'm trying to write a syntax for a long time and not get success.

I have data from 200 subjects making many trials (the number is not
fixed for each subject) at two different moments - data is all in the
same column. Each trial is consists for 3 answers .. And I would like
to share the trials of each subject in 3 blocks.

I tried visual blinnig, but I can not use the filter.

I also used the RECODE, but seems to be pathetic, because we really
have to recode for each possible number of attempts, which can be from
1 to 120 ..

any ideas? please...

an example of data:


subject moment trial answer
1       1       1       1
1       1       1       1
1       1       1       1
1       1       2       1
1       1       2       2
1       2       2       2
1       2       1       3
1       2       1       2
1       2       1       2
1       2       2       1
1       2       2       4
1       2       2       2
1       2       3       1
1       2       3       2
1       2       3       4
1       2       4       4
1       2       4       4
1       2       4       2
2       1       1       1
2       1       1       1
2       1       1       1
2       1       2       2
2       1       2       2
2       1       2       2
2       1       3       1
2       1       3       1
2       1       3       2
2       2       1       3
2       2       1       4
2       2       1       1
2       2       2       2
2       2       2       3
2       2       2       4
2       2       3       1
2       2       3       2
2       2       3       2
2       2       4       4
2       2       4       4
2       2       4       4
2       2       5       4
2       2       5       4
2       2       5       4
3       1       1       4
3       1       1       4
3       1       1       3
3       1       2       3
3       1       2       2
3       1       2       2
3       1       3       2
3       1       3       1
3       1       3       1
3       1       4       1
3       1       4       2
3       1       4       2
3       1       5       4
3       1       5       4
3       1       5       4
3       2       1       4
3       2       1       4
3       2       1       4
3       2       2       4
3       2       2       4
3       2       2       4
3       2       3       4
3       2       3       2
3       2       3       1
3       2       4       2
3       2       4       2
3       2       4       1
3       2       5       2
3       2       5       1
3       2       5       4
3       2       6       1
3       2       6       4
3       2       6       1
3       2       7       2
3       2       7       2
3       2       7       3
3       2       8       2
3       2       8       2
3       2       8       4
3       2       9       1
3       2       9       2
3       2       9       4

Thanks...

Luciano Basso
University of Sao Paulo
Laboratory of Motor Behavior

=====================
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
Reply | Threaded
Open this post in threaded view
|

Re: building blocks of trials

Maguin, Eugene
Luciano,

Thank you for posting sample data. That helps a lot. Please explain these
two sentences: 'And I would like to share the trials of each subject in 3
blocks.' and 'Each trial is consists for 3 answers.' They are not meaningful
to me. Finally, please the result of the data transformation
operations--what does the data structure look like as a result of the
transformations.

By the way, please look at the varstocases command. This may be what you
will need to use but I am absolutely not sure.

Gene Maguin



>>I have data from 200 subjects making many trials (the number is not
fixed for each subject) at two different moments - data is all in the
same column. Each trial is consists for 3 answers .. And I would like
to share the trials of each subject in 3 blocks.

I tried visual blinnig, but I can not use the filter.

I also used the RECODE, but seems to be pathetic, because we really
have to recode for each possible number of attempts, which can be from
1 to 120 ..


an example of data:


subject moment trial answer
1       1       1       1
1       1       1       1
1       1       1       1
1       1       2       1
1       1       2       2
1       2       2       2
1       2       1       3
1       2       1       2
1       2       1       2
1       2       2       1
1       2       2       4
1       2       2       2
1       2       3       1
1       2       3       2
1       2       3       4
1       2       4       4
1       2       4       4
1       2       4       2
2       1       1       1
2       1       1       1
2       1       1       1
2       1       2       2
2       1       2       2
2       1       2       2
2       1       3       1
2       1       3       1
2       1       3       2
2       2       1       3
2       2       1       4
2       2       1       1
2       2       2       2
2       2       2       3
2       2       2       4
2       2       3       1
2       2       3       2
2       2       3       2
2       2       4       4
2       2       4       4
2       2       4       4
2       2       5       4
2       2       5       4
2       2       5       4
3       1       1       4
3       1       1       4
3       1       1       3
3       1       2       3
3       1       2       2
3       1       2       2
3       1       3       2
3       1       3       1
3       1       3       1
3       1       4       1
3       1       4       2
3       1       4       2
3       1       5       4
3       1       5       4
3       1       5       4
3       2       1       4
3       2       1       4
3       2       1       4
3       2       2       4
3       2       2       4
3       2       2       4
3       2       3       4
3       2       3       2
3       2       3       1
3       2       4       2
3       2       4       2
3       2       4       1
3       2       5       2
3       2       5       1
3       2       5       4
3       2       6       1
3       2       6       4
3       2       6       1
3       2       7       2
3       2       7       2
3       2       7       3
3       2       8       2
3       2       8       2
3       2       8       4
3       2       9       1
3       2       9       2
3       2       9       4

Thanks...

Luciano Basso
University of Sao Paulo
Laboratory of Motor Behavior

=====================
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

=====================
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