How to Delete Missing Data in SPSS

Almost every dataset has gaps. A respondent skips a question, a record is incomplete, or a value simply was not captured. These blanks are called missing data – and how you handle them directly affects the quality of your results.

For market research teams, knowing how to delete missing data in SPSS is a core skill. Done correctly, it produces clean, reliable datasets. Done carelessly, it can throw away useful information or bias your findings. This guide walks through the practical methods step by step.

We will cover how to identify missing data, the different ways to delete it in SPSS, when each method is appropriate, and the mistakes to avoid. The goal is clean data you can trust.

What Is Missing Data?

Missing data is simply the absence of a value for one or more variables in your dataset. In SPSS, these appear as blank cells or as specially coded values.

There are two types you need to know:

  • System-missing values – empty cells that SPSS automatically treats as missing, shown as a full stop (.)
  • User-missing values – specific codes you define as missing, such as 99 for “no answer” or -1 for “not applicable”

Both need to be handled before analysis. The first step is always identifying how much data is missing and where. Only then can you decide how to deal with it.

Why Missing Data Matters

Before deleting anything, it helps to understand the stakes. Missing data is not just an inconvenience – it can distort your entire analysis.

Poorly handled missing data can:

  • Reduce your effective sample size
  • Bias your results if the gaps are not random
  • Produce misleading averages and correlations
  • Weaken the reliability of every conclusion

This is why data quality sits at the heart of good analysis. Handling missing values correctly protects the integrity of your findings and supports confident, evidence-based decisions.

First Step: Define Your Missing Values

Define Your Missing Values

Before you can delete missing data properly, SPSS needs to know which values count as missing. System-missing blanks are recognised automatically, but user-missing codes must be defined.

To define missing values in SPSS:

  1. Open Variable View
  2. Find the Missing column for your variable
  3. Click the cell, then the small button that appears
  4. Choose Discrete missing values and enter your codes (e.g. 99)
  5. Click OK

This step matters. If you skip it, SPSS will treat codes like 99 as real data, which distorts every calculation. Defining missing values correctly is the foundation for everything that follows.

How to Identify Missing Data in SPSS

Before deleting, always inspect the extent and pattern of the missing data. A quick way to do this is through frequency tables.

To check missing data:

  1. Go to Analyze → Descriptive Statistics → Frequencies
  2. Move your variables into the box
  3. Run the analysis

The output shows the count of valid and missing values for each variable. This tells you how widespread the problem is. A variable missing 2% of values is very different from one missing 40% – and the right action depends on the scale of the gap.

An important best practice: always check how many cases are actually used in each analysis. It is not always what you expect.

The Two Main Deletion Methods in SPSS

When it comes to deleting missing data, SPSS offers two core approaches: listwise and pairwise deletion. Understanding the difference is essential, because they handle data very differently.

Listwise Deletion (Complete-Case Analysis)

Listwise deletion removes an entire case if it has a missing value on any variable in the analysis. The result is a dataset where every remaining case has complete data.

Key points about listwise deletion:

  • Removes the whole row if any value is missing
  • Leaves you with only complete cases
  • Is the default for procedures like regression and factor analysis
  • Is simple and keeps every analysis consistent

The trade-off is data loss. If many cases have even one missing value, your sample can shrink significantly. It works best when missing data is minimal and missing completely at random.

Pairwise Deletion (Available-Case Analysis)

Pairwise deletion is less aggressive. Instead of removing entire cases, it only excludes the specific missing values from each calculation. All other available data from that case is still used.

Key points about pairwise deletion:

  • Keeps cases and uses all available data
  • Removes only the specific missing values per analysis
  • Is the default for correlations
  • Preserves more of your dataset

The trade-off is consistency. Each calculation may be based on a different subset of cases, which can complicate interpretation. Always check how many cases each result is based on.

Listwise vs Pairwise: Which Should You Use?

The right choice depends on your data and your goal. Here is a simple comparison.

FactorListwise DeletionPairwise Deletion
What it removesEntire case if any value missingOnly the specific missing value
Data retainedLessMore
ConsistencySame cases across analysesVaries by analysis
Best whenFew missing values, missing at randomMore missing values, want to retain data
Common default inRegression, factor analysisCorrelations

A practical tip: run the same analysis using both methods and compare. If the results barely change, you can be confident your approach is not distorting the findings.

How to Apply Deletion in SPSS

Most SPSS procedures let you choose how missing data is handled within the analysis dialogue itself. Here is how it generally works.

Setting Deletion Within an Analysis

When running a procedure such as correlation or regression:

  1. Open the analysis dialogue (e.g. Analyze → Correlate → Bivariate)
  2. Click the Options button
  3. Under Missing Values, choose Exclude cases listwise or Exclude cases pairwise
  4. Click Continue, then OK

This applies your chosen method just for that analysis, without changing the underlying dataset.

Permanently Removing Cases

If you want to physically remove cases with missing data from your dataset, the cleanest approach is to use a filter or selection:

  1. Go to Data → Select Cases
  2. Choose If condition is satisfied
  3. Enter a condition that keeps only complete cases (for example, where key variables are not missing)
  4. Choose to filter or delete unselected cases

Filtering is safer than deleting, because it preserves your original data. Always keep a backup of your raw dataset before removing anything permanently.

When NOT to Delete Missing Data

Deletion is not always the right answer. In some situations, removing data does more harm than good.

Be cautious about deleting when:

  • A large proportion of your data is missing
  • The missing data is not random (it follows a pattern)
  • Deletion would shrink your sample too much
  • The missing values are concentrated in important variables

When data is missing in a non-random way, deletion can introduce serious bias. For example, if lower-income respondents are more likely to skip an income question, deleting those cases would skew your results. In these cases, imputation – replacing missing values using statistical methods – is often a better choice.

Alternatives to Deletion

Deletion is one option, but not the only one. SPSS supports several alternatives worth knowing:

  • Mean or median imputation – replacing missing values with the average
  • Linear interpolation – estimating values based on surrounding data
  • Multiple imputation – a robust method that creates several complete datasets and pools the results

Multiple imputation is considered one of the most reliable approaches because it accounts for the uncertainty in the missing values. The right method depends on how much data is missing and why. When in doubt, a specialist can help you choose the approach that protects your data quality.

Common Mistakes to Avoid

A few errors trip up many analysts when handling missing data:

  • Forgetting to define user-missing values – SPSS then treats codes like 99 as real data
  • Deleting before inspecting – always check the scale and pattern first
  • Ignoring why data is missing – non-random gaps need careful handling
  • Not keeping a backup – never permanently delete without saving the raw data
  • Mixing methods inconsistently – be clear and consistent about your approach

Avoiding these keeps your analysis clean, honest, and defensible.

Industry Applications

Industry Applications

Handling missing data well matters across every sector that relies on research data:

  • Consumer research: survey responses often have skipped questions
  • Healthcare: patient records frequently contain incomplete fields
  • Financial services: application data may have gaps that affect risk models
  • Retail and e-commerce: customer datasets often have partial records
  • Public sector: large-scale social surveys routinely face missingness

In each case, the goal is the same: produce clean, reliable datasets that support trustworthy market intelligence and sound decisions.

How Linkinfotech Supports Clean Data Preparation

Handling missing data is one part of a much larger discipline: turning raw data into analysis-ready datasets. Linkinfotech operates as a global research operations and technology partner, supporting market research firms and enterprise teams across the full data pipeline.

Our role spans the stages that protect data quality:

  • Clean data collection – structured, multi-mode collection that reduces gaps at the source
  • Data processing and validation – careful handling of missing values and inconsistencies
  • Analysis-ready datasets – clean, structured data prepared for reliable analysis
  • Real-time dashboards – clear visibility into data completeness and quality
  • Secure, scalable operations – ISO-certified processes and compliant data handling

Because we manage data quality from collection through to preparation, missing data is handled carefully and consistently. That is what turns incomplete raw data into clean datasets you can confidently analyse.

Final Thoughts

Deleting missing data in SPSS is straightforward once you understand the methods. Define your missing values, inspect the scale of the gaps, then choose listwise or pairwise deletion based on your data. For larger or non-random gaps, consider imputation instead of deletion.

The guiding principle is simple: protect your data quality. Clean, well-prepared data is the foundation of every reliable insight, and how you handle missing values is a key part of that foundation.

If you want clean, analysis-ready data without the manual burden, Linkinfotech can help you build research operations that handle data quality carefully, securely, and at scale.

Frequently Asked Questions

How do I delete missing data in SPSS?

You can exclude missing data within an analysis using the Options menu – choosing listwise or pairwise deletion – or permanently remove cases using Data → Select Cases. Always define your missing values first and keep a backup of the raw data.

What is the difference between listwise and pairwise deletion?

Listwise deletion removes an entire case if any value is missing, leaving only complete cases. Pairwise deletion removes only the specific missing values and uses all other available data. Listwise loses more data but stays consistent across analyses.

How do I define missing values in SPSS?

Go to Variable View, click the Missing column for your variable, select Discrete missing values, and enter your codes (such as 99). This tells SPSS to treat those codes as missing rather than as real data.

Is it better to delete or impute missing data?

It depends on the amount and pattern of missing data. Deletion is fine for small, random gaps. For larger or non-random missingness, imputation – especially multiple imputation – preserves more information and reduces bias.

How do I check how much data is missing in SPSS?

Run Analyze → Descriptive Statistics → Frequencies. The output shows valid and missing counts for each variable, helping you decide the best way to handle the gaps.







Scroll to Top