Post by isadiskin on Oct 28, 2019 5:54:44 GMT
Dear all,
I am having problems to solve these two issues in my code.
1. I need the text stimuli (URLs) in the following list to be presented only once and without repetition. So each subject will be presented with 80 different URLs. Currently I used the function no_repeat but it doesn't matter. some stimuli are shown twice. This seems to be a bug in the program.
2. How can I give feedback (correct or incorrect) depending on individual's response on a likert scale? For example, if one rates high a known URL (rating from 4 or 5 in the Likert scale) they feedback = "correct" , if they rate low a known URL in the likert scale (1, 2,) feedback = incorrect? So far I am successfully collecting responses during the experiment using a scale, but I cannot give feedback.
Any idea will be of great help!
-------
# enter code
options
fullscreen
fonts
arial 24
bitmaps
instructions
thanks
example
experiment
errorfeedback
Notrust
trust
scale
earn
table trainconditions
"real re" 1 "google.com" 0 0
"real re" 2 "youtube.com" 0 0
"real re" 3 "facebook.com" 0 0
"real re" 4 "baidu.com" 0 0
"real re" 5 "wikipedia.org" 0 0
"real re" 6 "amazon.com" 0 0
"real re" 7 "yahoo.com" 0 0
"real re" 8 "twitter.com" 0 0
"real re" 9 "instagram.com" 0 0
"real re" 10 "ebay.com" 0 0
"gene u_1" 11 "skhu.com" 0 0
"gene u_10" 12 "blogspo6.com" 0 0
"gene u_11" 13 "loglm.tmall.com" 0 0
"gene u_13" 14 "aliexpresx.com" 0 0
"gene u_14" 15 "netfnix.com" 0 0
"gene u_16" 16 "linkddin.com" 0 0
"gene u_12" 17 "gifhub.com" 0 0
"gene u_10" 18 "aliexprexs.com" 0 0
"gene u_16" 19 "aplle.com" 0 0
"gene u_18" 20 "qqora.com" 0 0
"gene u_6" 21 "wbatsapp.com" 0 0
"gene u_8" 22 "wordppess.com" 0 0
"gene u_16" 23 "bbc.oc.uk" 0 0
"gene u_4" 24 "sptoify.com" 0 0
"gene u_10" 25 "tumblp.com" 0 0
"gene u_5" 26 "espm.com" 0 0
"gene u_20" 27 "pinteresr.com" 0 0
"gene u_4" 28 "mediefire.com" 0 0
"gene u_12" 29 "cnm.com" 0 0
"gene u_12" 30 "walnart.com" 0 0
"gene u_18" 31 "theguaddian.com" 0 0
"gene u_7" 32 "qlobo.com" 0 0
"gene u_14" 33 "ofvice.com" 0 0
"gene u_11" 34 "paypel.com" 0 0
"gene u_19" 35 "dailymotlon.com" 0 0
"gene u_11" 36 "adobg.com" 0 0
"gene u_15" 37 "drotbox.com" 0 0
"gene u_9" 38 "braigslist.org" 0 0
"gene u_2" 39 "mezsenger.com" 0 0
"gene u_17" 40 "indoatimes.com" 0 0
"gene u_19" 41 "mozilka.org" 0 0
"gene u_17" 42 "dailymaol.co.uk" 0 0
"gene u_17" 43 "redned.cn" 0 0
"gene u_1" 44 "daijing.com.cn" 0 0
"gene u_1" 45 "laibaba.com" 0 0
"gene u_4" 46 "steanpowered.com" 0 0
"gene u_4" 47 "sofvonic.com" 0 0
"gene u_9" 48 "cnep.com" 0 0
"gene u_9" 49 "china.c0rn.cn" 0 0
"gene u_6" 50 "doubleclkck.net" 0 0
"gene u_6" 51 "kissanhme.ru" 0 0
"gene u_20" 52 "diverr.com" 0 0
"gene u_20" 53 "edoclick.com" 0 0
"gene u_8" 54 "blickr.com" 0 0
"gene u_8" 55 "my.com" 0 0
"gene u_13" 56 "evito.ru" 0 0
"gene u_13" 57 "flipkzrt.com" 0 0
"gene u_11" 58 "geinus.com" 0 0
"gene u_11" 59 "nedium.com" 0 0
"gene u_10" 60 "livejasnin.com" 0 0
"test te" 61 "ameba.jp" 1 1
"test te" 62 "clarin.com" 1 1
"test te" 63 "liveleak.com" 1 1
"test te" 64 "plurk.com" 1 1
"test te" 65 "reverb.com" 1 1
"test te" 66 "strava.com" 1 1
"test te" 67 "fetlife.com" 1 1
"test te" 68 "stanford.edu" 1 1
"test te" 69 "hujiang.com" 1 1
"test te" 70 "jamnews.com" 1 1
"test te" 71 "atlassian.net" 1 1
"test te" 72 "haberler.com" 1 1
"test te" 73 "pelispedia.tv" 1 1
"test te" 74 "xozilla.com" 1 1
"test te" 75 "mysearch.com" 1 1
"test te" 76 "dribbble.com" 1 1
"test te" 77 "viki.com" 1 1
"test te" 78 "lichess.org" 1 1
"test te" 79 "auction.co.kr" 1 1
"test te" 80 "donga.com" 1 1
task comparison
table trainconditions
keys 1 2 3 4 5
delay 500
show background 0 0 0 ##creates a grey background
show text @3 0 -200
show bitmap scale 0 -50
rate option pos 0 -100
rate option labels Notrust trust
rate 5000 5
clear 1 2 3
readkey @4 100
clear 1 2
if @4 == 1 && RATE_STATUS == CORRECT
set $trialpay 10
set $trialcorrect 1
set &myglobalvariable increase $trialpay
show background 0 0 0 ## creates a black background
show bitmap earn
show text $trialpay 0 60 0 0 0
show text &myglobalvariable 0 130 0 0 0
delay 800
fi
if @4 == 1 && RATE_STATUS != CORRECT
set $trialpay 1
set $trialcorrect 0
set &myglobalvariable increase $trialpay
show background 0 0 0 ## creates a white background
show text $trialpay 0 60 0 0 0
show text &myglobalvariable 0 130 0 0 0
delay 800
fi
save @1 @2 RATE RATE_RT RATE_STATUS @4 $trialcorrect
block real
message experiment
tasklist
comparison 80 no_repeat
end
feedback
set &TotCount sum c7
set &TotCount1 sum c7 ; select c6 == 1
#text 0 -50 &TotCount1; prefix "Your percentage correct is:" ; postfix "%"
text 0 -50 "The experiment is now over"
text 0 100 "Press space bar to start completing the questionnaires."
end
I am having problems to solve these two issues in my code.
1. I need the text stimuli (URLs) in the following list to be presented only once and without repetition. So each subject will be presented with 80 different URLs. Currently I used the function no_repeat but it doesn't matter. some stimuli are shown twice. This seems to be a bug in the program.
2. How can I give feedback (correct or incorrect) depending on individual's response on a likert scale? For example, if one rates high a known URL (rating from 4 or 5 in the Likert scale) they feedback = "correct" , if they rate low a known URL in the likert scale (1, 2,) feedback = incorrect? So far I am successfully collecting responses during the experiment using a scale, but I cannot give feedback.
Any idea will be of great help!
-------
# enter code
options
fullscreen
fonts
arial 24
bitmaps
instructions
thanks
example
experiment
errorfeedback
Notrust
trust
scale
earn
table trainconditions
"real re" 1 "google.com" 0 0
"real re" 2 "youtube.com" 0 0
"real re" 3 "facebook.com" 0 0
"real re" 4 "baidu.com" 0 0
"real re" 5 "wikipedia.org" 0 0
"real re" 6 "amazon.com" 0 0
"real re" 7 "yahoo.com" 0 0
"real re" 8 "twitter.com" 0 0
"real re" 9 "instagram.com" 0 0
"real re" 10 "ebay.com" 0 0
"gene u_1" 11 "skhu.com" 0 0
"gene u_10" 12 "blogspo6.com" 0 0
"gene u_11" 13 "loglm.tmall.com" 0 0
"gene u_13" 14 "aliexpresx.com" 0 0
"gene u_14" 15 "netfnix.com" 0 0
"gene u_16" 16 "linkddin.com" 0 0
"gene u_12" 17 "gifhub.com" 0 0
"gene u_10" 18 "aliexprexs.com" 0 0
"gene u_16" 19 "aplle.com" 0 0
"gene u_18" 20 "qqora.com" 0 0
"gene u_6" 21 "wbatsapp.com" 0 0
"gene u_8" 22 "wordppess.com" 0 0
"gene u_16" 23 "bbc.oc.uk" 0 0
"gene u_4" 24 "sptoify.com" 0 0
"gene u_10" 25 "tumblp.com" 0 0
"gene u_5" 26 "espm.com" 0 0
"gene u_20" 27 "pinteresr.com" 0 0
"gene u_4" 28 "mediefire.com" 0 0
"gene u_12" 29 "cnm.com" 0 0
"gene u_12" 30 "walnart.com" 0 0
"gene u_18" 31 "theguaddian.com" 0 0
"gene u_7" 32 "qlobo.com" 0 0
"gene u_14" 33 "ofvice.com" 0 0
"gene u_11" 34 "paypel.com" 0 0
"gene u_19" 35 "dailymotlon.com" 0 0
"gene u_11" 36 "adobg.com" 0 0
"gene u_15" 37 "drotbox.com" 0 0
"gene u_9" 38 "braigslist.org" 0 0
"gene u_2" 39 "mezsenger.com" 0 0
"gene u_17" 40 "indoatimes.com" 0 0
"gene u_19" 41 "mozilka.org" 0 0
"gene u_17" 42 "dailymaol.co.uk" 0 0
"gene u_17" 43 "redned.cn" 0 0
"gene u_1" 44 "daijing.com.cn" 0 0
"gene u_1" 45 "laibaba.com" 0 0
"gene u_4" 46 "steanpowered.com" 0 0
"gene u_4" 47 "sofvonic.com" 0 0
"gene u_9" 48 "cnep.com" 0 0
"gene u_9" 49 "china.c0rn.cn" 0 0
"gene u_6" 50 "doubleclkck.net" 0 0
"gene u_6" 51 "kissanhme.ru" 0 0
"gene u_20" 52 "diverr.com" 0 0
"gene u_20" 53 "edoclick.com" 0 0
"gene u_8" 54 "blickr.com" 0 0
"gene u_8" 55 "my.com" 0 0
"gene u_13" 56 "evito.ru" 0 0
"gene u_13" 57 "flipkzrt.com" 0 0
"gene u_11" 58 "geinus.com" 0 0
"gene u_11" 59 "nedium.com" 0 0
"gene u_10" 60 "livejasnin.com" 0 0
"test te" 61 "ameba.jp" 1 1
"test te" 62 "clarin.com" 1 1
"test te" 63 "liveleak.com" 1 1
"test te" 64 "plurk.com" 1 1
"test te" 65 "reverb.com" 1 1
"test te" 66 "strava.com" 1 1
"test te" 67 "fetlife.com" 1 1
"test te" 68 "stanford.edu" 1 1
"test te" 69 "hujiang.com" 1 1
"test te" 70 "jamnews.com" 1 1
"test te" 71 "atlassian.net" 1 1
"test te" 72 "haberler.com" 1 1
"test te" 73 "pelispedia.tv" 1 1
"test te" 74 "xozilla.com" 1 1
"test te" 75 "mysearch.com" 1 1
"test te" 76 "dribbble.com" 1 1
"test te" 77 "viki.com" 1 1
"test te" 78 "lichess.org" 1 1
"test te" 79 "auction.co.kr" 1 1
"test te" 80 "donga.com" 1 1
task comparison
table trainconditions
keys 1 2 3 4 5
delay 500
show background 0 0 0 ##creates a grey background
show text @3 0 -200
show bitmap scale 0 -50
rate option pos 0 -100
rate option labels Notrust trust
rate 5000 5
clear 1 2 3
readkey @4 100
clear 1 2
if @4 == 1 && RATE_STATUS == CORRECT
set $trialpay 10
set $trialcorrect 1
set &myglobalvariable increase $trialpay
show background 0 0 0 ## creates a black background
show bitmap earn
show text $trialpay 0 60 0 0 0
show text &myglobalvariable 0 130 0 0 0
delay 800
fi
if @4 == 1 && RATE_STATUS != CORRECT
set $trialpay 1
set $trialcorrect 0
set &myglobalvariable increase $trialpay
show background 0 0 0 ## creates a white background
show text $trialpay 0 60 0 0 0
show text &myglobalvariable 0 130 0 0 0
delay 800
fi
save @1 @2 RATE RATE_RT RATE_STATUS @4 $trialcorrect
block real
message experiment
tasklist
comparison 80 no_repeat
end
feedback
set &TotCount sum c7
set &TotCount1 sum c7 ; select c6 == 1
#text 0 -50 &TotCount1; prefix "Your percentage correct is:" ; postfix "%"
text 0 -50 "The experiment is now over"
text 0 100 "Press space bar to start completing the questionnaires."
end