Navin statistical analysis and APA results for your data

Upload your data and say what each variable is. Answer the questions in each section. The page writes one R script, which only computes the numbers. Run it in R and bring back the results file it saves. The page then shows the output and writes the results section in APA style.

STEP 1Your data and its variables

Use a file with one row per participant: Excel (a sheet called data), CSV, or a data file from SPSS, Stata, SAS, JASP or OpenDocument. An optional sheet called variables can describe each column. Its columns are variable, description, level, values (such as 1=male, 2=female) and scale (such as Well-being). The description is the name used in the text. Items that share a scale become one questionnaire scale in step 2.

Every file is read inside your browser: nothing is uploaded. SPSS files keep their variable labels, value labels, missing codes and levels; Stata, SAS and JASP files keep the labels they hold. A Google Sheet must be shared as Anyone with the link. To use your data in RStudio later, save the Excel copy that the page offers after reading a non-Excel file.

VariableDescription (name in the text)LevelScaleValuesPossible rangeMissing codesMissing

STEP 2What do you want to analyse?

With the example data: every part gets its example analysis, all chosen and ready to run (good for showing the tool).

Answer yes or no for each section. Inside a section you can add as many analyses as you need. Press See an example in any section to see how a finished one looks (simulated data); with the example data, Use this example puts it in the section so you can run it. Scores and measures you create here can be chosen in all the later sections.

The saved file (.txt) opens in step 1, in the same box as a data file: the page comes back exactly as you left it, for example to prepare a demonstration.

Corrections for multiple comparisons (Bonferroni, Holm, Benjamini–Hochberg, Šidák) come in step 4, before the results text and the downloads: once the results are back, you tick which analyses each correction covers.

STEP 3The R script

Put the script in the same folder as your data file. Open it in RStudio and click Source. If the data are already open in R, the script uses them. Otherwise it looks for the file, and if it cannot find it, a window opens so you can choose it. R saves the results in the same folder as your data file, as results_ plus the day and time, for example results_17.10_1356.xlsx, so a new run never overwrites an earlier one.

What should this script run?

With checks first, you review the scales and the factors in step 4 (remove weak items, turn factors into scales), and then run the full script. You can repeat this as many times as you need.

Show the analysis plan part of the script

STEP 4Output and results section

After Run it here the results appear below by themselves. Only if you ran the script in RStudio: drop the results file here (results_…xlsx), or the …_output.txt file if R could not save Excel. By default the results section holds the tables, the descriptives and the significant results; everything else goes to the appendix. You can move any part between the results section, the appendix and leaving it out.

After you load the results, this step shows the review of the scales and of the factors (where you turn factors into scores), the results text and the Word file, the corrections for multiple comparisons (Bonferroni, Holm, Benjamini–Hochberg, Šidák).