Page History: Data Report
Compare Page Revisions
Page Revision: 2012/09/22 14:58
All experiment results can be stored in a special log file (in string format), that can be replenished through the Report variable.
Each time anything is written to the Report variable, it is added to the end of log.
For example, if log file has this data in it:
1;1;1;True;900;1;True;864
and you put the following in a snippet:
Report=4;2;1;False;400;2;False;779
log file will change this way:
1;1;1;True;900;1;True;864
4;2;1;False;400;2;False;779
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 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 to it.
Log file is text format file, so all data which is added to it has 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 by the
Report column separators field.
To make log more regulated, column headers have to be added. It can be done before first Report assignment in the
Initialized snippet by adding something like this:
Report=TrialNumber+";"+randomStimulusFactors[0]+";"+randomStimulusFactors[1]+";"+IsCongruentTrial+";"+(randomSOA*100)+";"+ResponseCode+";"+Correct+";"+RT;
If export has to be automized,
proxy can be added to the Report variable. After that Report will be accessible from snippets.
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;