0 votes
in SoSci Survey (English) by s083051 (140 points)

Hello,

I run a pilot study for a soscy survey script. I randomized 2 conditions 1 and 2. However, for a slide assessing the manipulation check, I have data for the condition 2 only. For this slide (page 16), I properly check that participants cannot skip without answering all the items and this slide is the same for both condition.

I would like to know if it is possible to find these missing data somewhere and why there is no data for this particular situation.

Thanks in advance,
Best,
Laure Freydefont.

PS: here is the link for the pilot study: https://www.soscisurvey.de/admin/index.php?o=Questionnaire

by SoSci Survey (327k points)
Could you please edit your question an post the PHP code from the page with the two conditions?
by s083051 (140 points)
Hello,

I don't really understand what you are asking me to do, can you clarify?
by SoSci Survey (327k points)
My first idea is that something went wrong in the randomization. Therefore I'd be interested in the PHP code that you've used in your questionnaire.
by s083051 (140 points)
Ah ok, so here it is:

if (value('SD01') == 1) {
urnDraw('maenner', 'IV01', 'end');
} else {
urnDraw('frauen', 'IV01', 'end');
}
$condition = value('IV01_01');
if($condition == 1) {
text('High_Autonomy');
} elseif ($condition == 2) {
text ('Low_Autonomy'); }

$condition = value('IV01_01'); //Bedingung 1 ist High Autonomy
if($condition == 1) {
question('MA_01');
} elseif ($condition == 2) {
setNextPage('Instr');
}

1 Answer

0 votes
by SoSci Survey (327k points)

According to your PHP code, the question MA_01 (this should be 'MA01' without an underscore!) is only displayed in condition 1. This means that no data can be collected for this question in condition 2.

If (?) your questionnaire displays the question in condition 2, then the question is probably shown twice (!) in condition 1. If that's the case, then please read: Problem solution for filters -> Top 3 (the rest of the page is very helpful as well). If the question is shown twice, then only the data from the second question on the page is stored (and of course, respondents get irritated), which might also explain the issue.

by s081167 (100 points)
Hello,

I work with Laure & I looked at the script as well, this is our problem:

We have missing data on the questions that come after our anagram task (Page 16). So the problem is not that group 2 doesn't see the question (MA01) mentioned in the PHP code above.

But it's that people in condition 1 in sometimes don't see page 16.
People in condition 1 have the possibility to stop the task after 5 trials.  For that I built in a "stop" button. PHP Code:
$condition = value('IV01_01');

if($condition == 1) {
   text('MA02');  //Kommentar: Frage für Leute in Bedingung 1 anzeigen, diese Leute können  die Aufgabe abbrechen, zusätzlich noch den Button anzeigen (in blau)

   html('<div style="text-align: center; margin: 2em 0">'. buttonToPage('SP', 'Beenden'). '</div>'  ); //Kommentar: SosciSurvey-Anleitung

} elseif ($condition == 2) {
         setNextPage('next'); //Kommentar: Frage für Leute in Bedingung 2 anzeigen, diese Leute können nicht die Aufgabe abbrechen
   }

I think the problem is, that if people click on that "stop" button, they get sent to page 17 and not 16.
Do you know how I can change that, so if they stop the trial they will continue on page 16?

Thanks!
by SoSci Survey (327k points)
Well, there is the line: buttonToPage('SP', 'Beenden')
I guess that page 17 hat the ID "SP" - then, what is the ID of page 16?
by s081167 (100 points)
Yes, that was it! Seems I just kept overlooking this bit...

Thank you very much for the support!

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...