Jamovi: Analyze missing values instead of zeros
An empty response to a question about income is not the same as an income of 0 euros. Yet, this very confusion can significantly alter your means, regression coefficients, or group comparisons. Therefore, jamovi: recognizing missing values instead of treating them as zero is not merely a software setting, but a methodological decision with consequences for your research question.
Missing values often arise unnoticed, especially with survey data, clinical datasets, or merged Excel spreadsheets: participants skip questions, measurements fail, or a code such as 99 stands for "no answer." If these entries enter the analysis as regular numbers, Jamovi calculates correctly—but with incorrect information.
Why missing values must not be treated as zeros
A zero is an observed measurement. For example, it means: no days of exercise per week, no days of illness, or 0 points on a task. A missing value, on the other hand, means: the information is not available. The cause can vary, such as a withdrawal from the survey, an unanswered question, or a technical error during data collection.
Both situations have completely different statistical meanings. If a missing value is coded as 0, the mean of metric variables usually shifts downward. At the same time, the variance often increases artificially. In a correlation, this can weaken, strengthen, or even change the direction of a relationship.
A brief example: You are investigating the weekly exercise duration of 100 students. Ten people did not answer the question. If these ten missing responses are treated as 0 hours, it appears as though these people actually did not exercise at all. Your estimated average exercise duration will then be too low. The substantive statement about the sample's exercise behavior would no longer be reliable.
Recognizing missing values in Jamovi
In many cases, Jamovi recognizes empty cells as missing values. However, you should not rely on this blindly, especially after importing from Excel, CSV, SPSS, or a survey tool. What matters is always what is actually in the data column and how the variable was defined in Jamovi.
First, open the data view and check the conspicuous columns directly. Empty cells are treated differently than visible numerical values. An entry such as 0, 99, -99, or 999 remains a number for Jamovi at first, even if it means "missing" in your data collection logic. You must explicitly define such placeholders as missing values or clean them before analysis.
A second look should be given to the variable type and level of measurement. A numerical scale should be available as a continuous variable, while categorical data should be nominal or ordinal. If "no answer" is created as an additional category in a nominal variable, this may make sense for pure documentation. However, for many substantive analyses, this category should not be interpreted as a regular response group.
Data checking before the first analysis
Before you start hypothesis testing, check at least four points for each key variable:
- Which values are actually possible from a substantive point of view?
- Which codes were used during data collection for missing information?
- How many values are missing per variable and per case?
- Do missing values occur more frequently in certain groups or at certain times?
Additionally, pay attention to implausible extreme values. If a scale ranges from 1 to 5, values such as 0, 9, or 99 may indicate faulty coding. These values should not be deleted hastily. First, check the codebook, questionnaire, and raw data: Perhaps 9 stands for "don't know," but perhaps it is also a data entry error.
Correctly defining missing values in Jamovi
If you are working with placeholder codes, define them as missing in the variable settings. Which input option is visible depends, among other things, on the Jamovi version and the imported file format. After definition, be sure to check whether the number of missing values changes in the descriptive outputs as expected.
A clean data structure is usually the better solution: Replace codes such as 99 or -999 with actual missing values instead of keeping them as numbers in the analysis permanently. Always keep an unaltered raw data file. The cleaning should be carried out in a separate working file or documented in a traceable manner. This is particularly important for theses and publications because you will have to justify every step later.
Caution is advised when recoding 0. The 0 may only be defined as missing if it was clearly intended as a missing code in your data collection. If 0 is a possible substantive value, such as for a quantity or score, such recoding would remove real data.
Jamovi: Recognizing missing values instead of treating them as zero—what happens in the analyses?
The treatment of missing values is not identical in every analysis. For descriptive statistics, Jamovi often uses all cases that have valid entries for the respective variable. The mean of one variable can therefore be based on a different number of cases than the mean of a second variable.
In correlations, t-tests, analyses of variance, or regressions, cases are, on the other hand, often excluded if a value is missing for a variable required in the respective analysis. This is often referred to as case-wise exclusion. Then a single missing value can lead to a case not being included in exactly that analysis.
This is not automatically wrong. With a few randomly distributed missing values, this approach is often justifiable. It becomes problematic if many cases are excluded or if the missing values occur systematically. If, for example, information about stress is particularly frequently missing for highly stressed individuals, the remaining sample may be biased.
Therefore, the number of cases belongs in every interpretation of results. Check not only the p-value, but also how many cases the analysis is actually based on. If the number of cases changes significantly between models, this can be a substantive indication of a missing-data problem.
When exclusion is sufficient and when further steps are necessary
It depends on the extent and pattern of the missing values how you should proceed. With individual missing answers in a large sample, exclusion for the respective analysis may be appropriate. With small samples, however, even the loss of a few cases can significantly reduce precision.
Simple replacement with the mean may seem convenient, but it is rarely a good standard solution. It typically underestimates the variance and can distort relationships between variables. The last observed value in repeated measurements is also only justifiable in special designs and with a good justification.
In more extensive or systematic failures, other methods come into question depending on the study design, such as multiple imputation or model-based approaches for longitudinal data. However, these methods are not a repair function for poor data quality. They assume conditions that must fit the cause of the missing values, the measurement design, and the analysis.
For your work, you should at least document how missing values were coded, how many values were affected, which method you used, and why it is substantively appropriate. A transparent description is usually more convincing than trying to make missing data invisible.
If you are unsure whether Jamovi is correctly treating your codes as missing or whether exclusion, scale construction, or imputation fits your design, individual statistical advice can help. Through the Easy Statistik contact form, you can have your data and research design specifically assessed—so that your results are based on observed values and not on accidentally created zeros.