0 votes
in SoSci Survey (dt.) by s169543 (185 points)

Liebes SoSci-Suvey-Team,

Ich habe eine Frage zur Messung der Verweildauer pro Seite. Ich weiß, dass diese Zeit standardgemäß aufgezeichnet wird. Allerdings fehlen bei der time Variable im Datensatz einige Seiten.

Werden Seiten, die nur php-Code enthalten, nicht gemessen/aufgezeichnet?

Z.B. Mische auf S. 9 meines Fragebogens Items über mehrere Fragen hinweg und verteile die Items mittels LoopPage auf mehrere Seiten. Im Datensatz gibt es jedoch keine Variable mit time009.

Gibt es dennoch eine Möglichkeit zu erfassen, wie lange die Personen insgesamt auf S. 9 waren? Eine Summe über alle „loopPage-Runden“ wäre ausreichend, da mich nur die mittlere Antwortzeit pro Item interessiert.

Schon im Voraus vielen Dank für Ihre Hilfe!

by SoSci Survey (304k points)
Btte posten Sie doch einmal die Debug-Information, welche auf der Seite mit dem loopPage() angezeigt wird: https://www.soscisurvey.de/help/doku.php/de:create:debugging
by s169543 (185 points)
Der Debug-Modus zeigt Folgendes:

[Information]    Interview Nummer 243 wird fortgesetzt
[Information]    Der Fragebogen pre2021 im Projekt pre21 wird verwendet
[Information]    Die Verweildauer auf Seite 7 war 4 Sekunden
[Verarbeitung]    Lese Antworten von Seite 7
[Information]    Fragen bisher zu 67% vollständig beantwortet
[Verarbeitung]    Erstelle Seite 8 in Fragebogen pre2021
[Inhalt]    Erstelle Frage ZB01
[Information]    Vom Zufallsgenerator ZB01 wurden folgende Codes gezogen: 1
[Information]    value("ZB01") = 1
[Verarbeitung]    Springe zur Seite A (Nr. 9)
[Verarbeitung]    Erstelle Seite 9 in Fragebogen pre2021
[Inhalt]    Zeige Text Instruktion_2
[Information]    Die interne Variable IV01_01 wird mit dem Wert ST02_1,ST01_60,ST02_63,ST03_14,ST02_49,ST03_8,ST03_9,ST02_13,ST02_20,ST03_10,ST02_22,ST01_56,ST01_54,ST03_2,ST02_81,ST03_17,ST01_5,ST02_29,ST02_33,ST02_68,ST02_48,ST02_57,ST03_6,ST01_76,ST01_42,ST02_16,ST01_29,ST01_15,ST01_1,ST02_25,ST02_64,ST02_60,ST01_45,ST01_39,ST04_1,ST02_53,ST01_27,ST03_7,ST01_2,ST02_24,ST02_8,ST03_15,ST02_39,ST01_53,ST01_35,ST01_82,ST02_30,ST01_80,ST01_61,ST02_71,ST01_8,ST02_73,ST01_78,ST02_18,ST01_64,ST01_72,ST02_27,ST02_80,ST01_26,ST01_57,ST01_77,ST01_3,ST01_48,ST03_4,ST01_51,ST02_46,ST02_50,ST01_52,ST01_6,ST02_74,ST02_36,ST02_26,ST02_9,ST02_31,ST01_68,ST01_81,ST03_18,ST02_56,ST01_24,ST01_33,ST02_76,ST03_12,ST01_25,ST02_75,ST01_4,ST01_32,ST02_54,ST01_84,ST03_3,ST02_6,ST01_43,ST03_16,ST02_58,ST01_31,ST01_71,ST02_67,ST02_34,ST02_3,ST01_16,ST01_10,ST01_73,ST03_13,ST02_79,ST02_85,ST01_23,ST02_7,ST01_38,ST01_65,ST01_59,ST02_28,ST02_38,ST02_2,ST01_36,ST02_77,ST04_5,ST02_35,ST03_5,ST01_74,ST02_21,ST02_43,ST02_62,ST01_37,ST01_66,ST01_34,ST01_18,ST02_10,ST02_45,ST02_55,ST02_5,ST01_62,ST01_75,ST02_4,ST04_2,ST01_47,ST02_32,ST02_14,ST04_4,ST02_82,ST02_15,ST01_11,ST02_47,ST02_51,ST01_9,ST01_55,ST01_40,ST02_84,ST02_23,ST02_42,ST03_1,ST02_37,ST01_46,ST01_21,ST01_69,ST01_87,ST01_79,ST01_49,ST02_78,ST02_12,ST01_70,ST01_12,ST03_19,ST01_50,ST01_17,ST01_83,ST02_69,ST02_11,ST02_70,ST02_66,ST04_3,ST01_63,ST01_13,ST03_20,ST01_44,ST02_83,ST02_65,ST02_41,ST02_40,ST01_14,ST01_30,ST02_17,ST02_52,ST01_28,ST01_7,ST01_19,ST03_11,ST01_67,ST02_44,ST01_58,ST01_22,ST01_86,ST02_72,ST01_41,ST02_59,ST01_20,ST02_86,ST01_85,ST02_61,ST02_19 belegt.
[Information]    loopPage() wiederholt die Seite 9 nun 6 mal, beginnend mit dem Wert 0
[Inhalt]    Erstelle Frage ST01
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST01
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST03
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST03
[Inhalt]    Erstelle Frage ST03
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST03
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST01
[Inhalt]    Erstelle Frage ST01
[Inhalt]    Erstelle Frage ST03
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST03
[Inhalt]    Erstelle Frage ST01
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST03
[Inhalt]    Erstelle Frage ST01
[Inhalt]    Erstelle Frage ST01
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST01
[Inhalt]    Erstelle Frage ST01
[Inhalt]    Erstelle Frage ST01
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST02
[Inhalt]    Erstelle Frage ST01
by SoSci Survey (304k points)
Und wenn Sie dann auf "Weiter" klicken, was sagt die Debug-Information dann?

Meine Vermutung ist, dass Sie mit goToPage() arbeiten, also technisch gesehen zwei Seiten auf einer angezeigt werden. In diesem Fall wird die Verweildauer u.U. der ersten der beiden Seite zugeschrieben.
by s169543 (185 points)
Stimmt - ich arbeite im nächsten Schritt (auf Seite 10) mit goToPage()

Hier erscheint die Info:
[Information]    Interview Nummer 246 wird fortgesetzt
[Information]    Der Fragebogen pre2021 im Projekt pre21 wird verwendet
[Information]    Die Verweildauer auf Seite 9 betrug zusätzliche 10 Sekunden
[Verarbeitung]    Lese Antworten von Seite 9
[Information]    Antwort auf ST01_01 = 2
[Information]    Antwort auf ST01_07 = 2
[Information]    Antwort auf ST01_15 = 2
[Information]    Antwort auf ST01_17 = 2
[Information]    Antwort auf ST01_30 = 2
[Information]    Antwort auf ST01_40 = 2
[Information]    Antwort auf ST01_41 = 2
[Information]    Antwort auf ST01_45 = 2
[Information]    Antwort auf ST01_48 = 2
[Information]    Antwort auf ST01_53 = 2
[Information]    Antwort auf ST01_58 = 2
[Information]    Antwort auf ST01_60 = 2
[Information]    Antwort auf ST01_61 = 2
[Information]    Antwort auf ST01_63 = 2
[Information]    Antwort auf ST01_78 = 2
[Information]    Antwort auf ST02_17 = 2
[Information]    Antwort auf ST02_24 = 2
[Information]    Antwort auf ST02_27 = 2
[Information]    Antwort auf ST02_32 = 2
[Information]    Antwort auf ST02_34 = 2
[Information]    Antwort auf ST02_35 = 5
[Information]    Antwort auf ST02_36 = 2
[Information]    Antwort auf ST02_43 = 2
[Information]    Antwort auf ST02_48 = 2
[Information]    Antwort auf ST02_53 = 2
[Information]    Antwort auf ST02_62 = 2
[Information]    Antwort auf ST02_67 = 2
[Information]    Antwort auf ST02_71 = 2
[Information]    Antwort auf ST02_72 = 2
[Information]    Antwort auf ST04_04 = 2
[Information]    Antwort auf ST03_09 = 2
[Information]    Antwort auf ST03_15 = 2
[Information]    Antwort auf ST03_18 = 2
[Information]    Fragen bisher zu 100% vollständig beantwortet
[Verarbeitung]    Erstelle Seite 10 in Fragebogen pre2021
[Verarbeitung]    Springe zur Seite DE (Nr. 12)
[Verarbeitung]    Erstelle Seite 12 in Fragebogen pre2021
[Inhalt]    Zeige Text Debriefing
[Inhalt]    Erstelle Frage DE01

Heißt das, die Gesamtzeit für Seite 9 finde ich in TIME010?

Was mich allerdings etwas verwirrt ist Folgendes:
Ich habe insgesamt 2 Bedingung.

Diese teile ich auf Seite 8 mit einem Zufallsgenerator zu:

$zahl = value('ZB01');  
if ($zahl == 1) {
  goToPage('A');
} elseif ($zahl == 2) {
  goToPage('B');
}

Bedingung A wird auf Seite 9 geschickt - beantwortet dann alle Items und wird auf S. 10 mittels goToPage zum Debriefing (Seite 12) geschickt.

Bedigung B überspringt Seite 9 und 10 sieht auf 11 alle Fragen (auch mittels loopPage) und geht ganz normal (ohne goToPage) auf Seite 12. Wo finde ich dann hier die richtige Zeit? Bei TIME011 oder TIME012?

1 Answer

0 votes
by SoSci Survey (304k points)
selected by s169543
 
Best answer

Bedingung A wird auf Seite 9 geschickt - beantwortet dann alle Items und wird auf S. 10 mittels goToPage zum Debriefing (Seite 12) geschickt.

Dies in Verbindung mit dieser Debug-Information

[Information] Die Verweildauer auf Seite 9 betrug zusätzliche 10 Sekunden

Müsste eigentlich bedeuten, dass in TIME009 ein Wert gespeichert wird. Haben Sie einmal unter Erhobene Daten -> Daten ansehen überprüft, ob dort vielleicht ein Wert steht. Womöglich gab es nur beim Export/Import der Daten eine Unstimmigkeit.

Generell empfehle ich, den Einsatz von goToPage() auf das nötigste zu beschränken. Denn die Funktion führt dadurch, dass eben mehrere Seiten auf einer Ausgabeseite präsentiert werden, immer wieder zu Irritationen.

Wenn Sie den Zufallsgenerator auf einer separaten Seite haben, dann setzen Sie den Zufallsgenerator mit PHP-Code einfach mal auf die vorige Seite und ändern Sie goToPage() in ein setNextPage() ab:

$zahl = value('ZB01');  
if ($zahl == 1) {
  setNextPage('A');
} elseif ($zahl == 2) {
  setNextPage('B');
}

Bedigung B überspringt Seite 9 und 10 sieht auf 11 alle Fragen (auch mittels loopPage)

Wenn der Loop gleich lang ist, wäre es evtl. noch eleganter, dass Sie nur einen Loop verwenden und dort je nach Experimentalbedingung die passenden Fragen oder andere Inhalte zeigen.

by s169543 (185 points)
Vielen Dank für die schnelle Antwort.
Mit setNextPage() sieht die Speicherung der Zeit tatsächlich viel besser aus. Ich wusste nicht, dass goToPage() diesen Nachteil hat.

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

...