Trouble with data columns


Author
Message
carmen0101
carmen0101
Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)Associate Member (252 reputation)
Group: Forum Members
Posts: 20, Visits: 96
I am struggling to ensure the "actual_crowd_anger" is recording the current item displayed in a set. From my data files, sometime the actual_crowd_anger =0 for the trial but I dont even have 0 as a current item number (I have attached an example of how I coded the data collection at the trial level of AsingleWF_001 - should I be writing currentitemnumber or currentitem or currentindex....?)

I am also struggling to get my AUDIT and AQ questionnaire expressions displaying in my data file (It only appear if I code it inotthe summary data file?)  Any advice is much appreciated!!

<values>
/drink = 0
/likert_response = 0
/slider_response = 0
/ success = false
/stimulusitems = ""
/actual_crowd_mean =0
/crowdgender =0
/rt = 0
</values>

<expressions>
/amplification_effect = values.likert_response - values.actual_crowd_mean

/q2_response = if (radiobuttons.q2.response == 99) 0 else radiobuttons.q2.response
/auditTotal = radiobuttons.q1.response + expressions.q2_response + radiobuttons.q3.response + radiobuttons.q4.response +
radiobuttons.q5.response + radiobuttons.q6.response + radiobuttons.q7.response + radiobuttons.q8.response +
radiobuttons.q9.response + radiobuttons.q10.response
/consumptionscore = radiobuttons.q1.response + expressions.q2_response + radiobuttons.q3.response
/dependencescore = radiobuttons.q4.response + radiobuttons.q5.response + radiobuttons.q6.response
/alcholrelated_problemscore = radiobuttons.q7.response + radiobuttons.q8.response +
radiobuttons.q9.response + radiobuttons.q10.response
/audit_attention_check = radiobuttons.q11.response

/physical_aggression = radiobuttons.Aq1.response+radiobuttons.Aq2.response+radiobuttons.Aq3.response
/verbal_aggression = radiobuttons.Aq4.response+radiobuttons.Aq5.response+radiobuttons.Aq6.response
/anger=radiobuttons.Aq7.response+radiobuttons.Aq8.response+radiobuttons.Aq9.response
/hostility=radiobuttons.Aq10.response+radiobuttons.Aq11.response+radiobuttons.Aq12.response
/total_aggression = expressions.physical_aggression
+ expressions.verbal_aggression + expressions.anger + expressions.hostility
</expressions>

<data>
/columns = (build, computer.platform, date, time, subject, group,
trialcode,values.drink, values.crowdgender, values.actual_crowd_mean, latency, response
values.rt, values.likert_response, expressions.amplification_effect,
values.slider_response, expressions.audit_attention_check)
</data>

<summarydata>
/ columns = (computer.platform, script.startdate, script.starttime, script.subjectid, script.elapsedtime, script.completed,
values.slider_response, expressions.audit_attention_check,
values.crowdgender, values.actual_crowd_mean, values.likert_response, expressions.amplification_effect,
expressions.auditTotal, expressions.consumptionscore, expressions.dependencescore, expressions.alcholrelated_problemscore
expressions.physical_aggression, expressions.verbal_aggression, expressions.anger, expressions.hostility, expressions.total_aggression)
</summarydata>

<trial AsingleWF_001>
/stimulustimes = [0=noreplacenorepeat(picture.Alcoholdrinks); 1700=blank; 1800=replace(picture.WF_001); 3800=picture.mask_WF_001]
/timeout = parameters.stimulusduration
/recorddata = true
/ branch = [return likert.angerlikert_WF_001]
/ ontrialbegin = [values.actual_crowd_mean=picture.WF_001.currentitemnumber;
        values.drink=1;
            values.crowdgender=1]
</trial>
<trial NsingleWF_001>
/stimulustimes = [0=noreplacenorepeat(picture.Neutraldrinks); 1700=blank; 1800=replace(picture.WF_001); 3800=picture.mask_WF_001]
/timeout = parameters.stimulusduration
/recorddata = true
/ branch = [return likert.angerlikert_WF_001]
/ ontrialbegin = [values.actual_crowd_mean=picture.WF_001.currentitemnumber;
        values.drink=0;
            values.crowdgender=1]
</trial>

<item WF_001>
/1="WF_001_01.jpg"
/2="WF_001_02.jpg"
/3="WF_001_03.jpg"
/4="WF_001_04.jpg"
/5="WF_001_05.jpg"
/6="WF_001_06.jpg"
/7="WF_001_07.jpg"
/8="WF_001_08.jpg"
/9="WF_001_09.jpg"
/10="WF_001_10.jpg"
/11="WF_001_11.jpg"
/12="WF_001_12.jpg"
/13="WF_001_13.jpg"
/14="WF_001_14.jpg"
/15="WF_001_15.jpg"
/16="WF_001_16.jpg"
/17="WF_001_17.jpg"
/18="WF_001_18.jpg"
/19="WF_001_19.jpg"
/20="WF_001_20.jpg"
/21="WF_001_21.jpg"
/22="WF_001_22.jpg"
/23="WF_001_23.jpg"
/24="WF_001_24.jpg"
/25="WF_001_25.jpg"
/26="WF_001_26.jpg"
/27="WF_001_27.jpg"
/28="WF_001_28.jpg"
/29="WF_001_29.jpg"
/30="WF_001_30.jpg"
/31="WF_001_31.jpg"
/32="WF_001_32.jpg"
/33="WF_001_33.jpg"
/34="WF_001_34.jpg"
/35="WF_001_35.jpg"
/36="WF_001_36.jpg"
/37="WF_001_37.jpg"
/38="WF_001_38.jpg"
/39="WF_001_39.jpg"
/40="WF_001_40.jpg"
/41="WF_001_41.jpg"
/42="WF_001_42.jpg"
/43="WF_001_43.jpg"
/44="WF_001_44.jpg"
/45="WF_001_45.jpg"
/46="WF_001_46.jpg"
/47="WF_001_47.jpg"
/48="WF_001_48.jpg"
/49="WF_001_49.jpg"
/50="WF_001_50.jpg"
</item>



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search