Page History: Data Report
Compare Page Revisions
Page Revision: 2012/09/22 11:36
All experiment results can be stored in the special log file (in string format), that can be replenished through the Report variable.
Each time anything is written to the Report variable, it addes to the end of log.
For example, if log file has this in it:
1;1;1;True;900;1;True;864
and you put thi in a snippet:
Report=4;2;1;False;400;2;False;779
you will have a log file containing this:
1;1;1;True;900;1;True;864</br>
4;2;1;False;400;2;False;779</br>
Each new assignment of the Report variable adds its value to the new line of the log.
Log file is binary and secured: no information would be lost even in a case of sudden power-off.
Access to the log file is much more faster then access to ordinary file on a computer: it allows fast writing big data amounts in it.
Log file is text format file, so all data, that is added in it have to be in a text format.
Log can be exported to a text or Excel file.
If exporting to Excel, column separators can be set for easier export. Column separators can be set in the proper field in
HQ Properties. This is
Report column separators field. If export have to be automized,
proxy can be added to the Report variable. So Report will be accessible from sinppets.
Report=TrialNumber+";"+randomStimulusFactors
0+";"+randomStimulusFactors
1+";"+IsCongruentTrial+";"+(randomSOA*100)+";"+ResponseCode+";"+Correct+";"+RT;
All data is exported in Excel Format, allowing for simple data analysis in a standard statistical package. Once the information that will be contained in the report is defined, simply navigating to
Actions-Report to Excel on the main menu allows for the export of the latest experiment results.
Report is a variable which is always present (a fixed parameter), and the Column Headings that will be defined in Excel merely need to be designated. Upon execution of the snippet that holds the report information, the values that are defined will be added to the text file which eventually compiles the report.
Once an appropriate code snippet box is identified, the report headings can be defined simply by the code: Report= "list of all column headings". For example this may include the following:
Report="Participant Name; Total Trials; Correct Trials; RT; Response Button;".
Once the column headings have been defined, the data source for each trial needs to be defined using the actual variable lables as defined in the experiment, and converting true/false expressions into integers as necessary.
<nowiki>Report=SubjectName+";"+TotalTrialCount+";"+TrialCount+";"+RT+";"+ResponseButton;