Preparing data for analysis in jamovi

Most analysis problems start in the data. Use this checklist to get a dataset into shape — without losing track of what you changed.

  • 3 min read
  • Updated

Short answer

Get the data tidy (one row per case, one column per variable), set every variable’s measure type and level labels, define missing values, then do recoding with Transform, new scores with Computed variables, and exclusions with Filters. All three keep the original values intact and are saved in the .omv file, so every change stays visible and reversible.

1. Start from tidy data

  • One row per case (usually a participant) and one column per variable.
  • Variable names in the first row only — short, unique, no spaces if you plan to use formulas (use exam_score, not Exam score (%)).
  • No totals, notes, merged cells or colour coding in the data area. jamovi reads every row as a case and ignores colours.
  • Repeated measures go across columns (score_t1, score_t2) for jamovi’s repeated-measures analyses.

Keep the file exactly as it came from the survey tool or lab system in a separate raw folder. Do your cleaning in jamovi, where it is recorded.

2. Set measure types and labels

Open each variable’s setup (double-click the header or press F3):

  • choose Nominal, Ordinal, Continuous or ID;
  • for coded categories, give each level a readable label (1 → “Control”);
  • check the order of levels for ordinal variables and for the reference group you want in regression.

3. Define missing values

jamovi uses NA for missing values, like R. Empty cells are read as missing. If your data use codes such as -99 or 999, add them as missing values in the variable setup so analyses ignore them — see importing data for a worked example. Then run Descriptives and check Missing for every variable.

4. Recode with transforms

A transformed variable applies rules to one or more source columns and creates a new column beside each, leaving the source untouched. Select the column(s), then choose Transform on the Data tab (or right-click → Transform…). Rules refer to the original column as $source; add each rule with Add recode condition. A pass/fail recode reads like this in the transform editor:

if $source >= 70 use "Pass"
else use "Fail"

Because a transform can be reused, the same rule — say, reversing a 1–5 item — can be applied to several columns at once.

5. Build scores with computed variables

Computed variables calculate a new column from a formula. Use the Data tab’s Compute option (or Add → Computed variable), then type a formula:

MEAN(q1, q2, q3, q4_rev, q5, q6)

jamovi’s own getting-started example uses MEAN(Q1:Q5) to build a score from a run of adjacent columns. Functions whose names start with V (such as VMEAN or VSTDEV) work across the whole column, which lets you compute z-scores by hand (jamovi also has a Z() function that does this in one step):

(exam_score - VMEAN(exam_score)) / VSTDEV(exam_score)

Reverse-scoring a 1–5 item: compute 6 - q4. In general, reversed = (minimum + maximum) − original. If you reverse here, do not reverse the item again in the reliability analysis.

6. Exclude cases with filters

Open Filters on the Data tab. A filter keeps rows for which the formula is true; the rest are greyed out and excluded from every analysis. For example:

consent == "Yes"

Filters can be stacked — each applies to the rows that passed the previous one — and can be switched off to bring all cases back. Prefer filters to deleting rows, and note the reason in an annotation.

7. Check for impossible values and outliers

  • Run Descriptives and read the minimum and maximum of every variable. An age of 230 or a 1–5 item scored 6 is a data-entry error.
  • Look at box plots for extreme values.
  • Decide on an outlier rule before analysing (for example, “scores more than 3 SDs from the mean will be checked against the original records”) and report it. Never remove points simply because they weaken your result.

A final pre-analysis checklist

  • Every variable has the right measure type.
  • Categories have labels; no misspelt duplicate levels.
  • Missing-value codes are defined and N is what you expect.
  • Reverse-worded items are reversed exactly once.
  • Exclusions are filters with a written reason.
  • The raw data file is untouched, and your work is saved as .omv.

Sources and further reading

Enter full results · Esc close