• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Analysis Factor

The Analysis Factor

Statistical Consulting, Resources, and Statistics Workshops for Researchers

  • Home
  • About
    • Our Programs
    • Our Team
    • Our Core Values
    • Our Privacy Policy
    • Employment
    • Guest Instructors
  • Membership
    • Statistically Speaking Membership Program
    • Login
  • Workshops
    • Online Workshops
    • Login
  • Consulting
    • Statistical Consulting Services
    • Login
  • Free Webinars
  • Contact
  • Login

Karen Grace-Martin

The Difference Between Model Assumptions, Inference Assumptions, and Data Issues

by Karen Grace-Martin Leave a Comment

Have you ever compared the list of assumptions for linear regression across two sources? Whether they’re textbooks, lecture notes, or web pages, chances are the assumptions don’t quite line up.

Why? Sometimes the authors use different terminology. So it just looks different.

And sometimes they’re including not only model assumptions, but inference assumptions and data issues. All are important, but understanding the role of each can help you understand what applies in your situation.

[Read more…] about The Difference Between Model Assumptions, Inference Assumptions, and Data Issues

Tagged With: Assumptions, data issues, inference

Related Posts

  • Eight Data Analysis Skills Every Analyst Needs
  • Preparing Data for Analysis is (more than) Half the Battle
  • Outliers: To Drop or Not to Drop
  • What It Really Means to Take an Interaction Out of a Model

When Unequal Sample Sizes Are and Are NOT a Problem in ANOVA

by Karen Grace-Martin 219 Comments

Updated Dec 18, 2020 to add more detail

In your statistics class, your professor made a big deal about unequal sample sizes in one-way Analysis of Variance (ANOVA) for two reasons.

1. Because she was making you calculate everything by hand.  Sums of squares require a different formula* if sample sizes are unequal, but statistical software will automatically use the right formula. So we’re not too concerned. We’re definitely using software.

2. Nice properties in ANOVA such as the Grand Mean being the intercept in an effect-coded regression model don’t hold when data are unbalanced.  Instead of the grand mean, you need to use a weighted mean.  That’s not a big deal if you’re aware of it. [Read more…] about When Unequal Sample Sizes Are and Are NOT a Problem in ANOVA

Tagged With: analysis of variance, ANOVA, SPSS, Unequal sample sizes

Related Posts

  • Same Statistical Models, Different (and Confusing) Output Terms
  • Why ANOVA and Linear Regression are the Same Analysis
  • 3 Reasons Psychology Researchers should Learn Regression
  • What are Sums of Squares?

Missing Data: Two Big Problems with Mean Imputation

by Karen Grace-Martin 11 Comments

Mean imputation: So simple. And yet, so dangerous.

Perhaps that’s a bit dramatic, but mean imputation (also called mean substitution) really ought to be a last resort.

It’s a popular solution to missing data, despite its drawbacks. Mainly because it’s easy. It can be really painful to lose a large part of the sample you so carefully collected, only to have little power.

But that doesn’t make it a good solution, and it may not help you find relationships with strong parameter estimates. Even if they exist in the population.

On the other hand, there are many alternatives to mean imputation that provide much more accurate estimates and standard errors, so there really is no excuse to use it.

This post is the first explaining the many reasons not to use mean imputation (and to be fair, its advantages).

First, a definition: mean imputation is the replacement of a missing observation with the mean of the non-missing observations for that variable.

Problem #1: Mean imputation does not preserve the relationships among variables.

True, imputing the mean preserves the mean of the observed data.  So if the data are missing completely at random, the estimate of the mean remains unbiased. That’s a good thing.

Plus, by imputing the mean, you are able to keep your sample size up to the full sample size. That’s good too.

This is the original logic involved in mean imputation.

If all you are doing is estimating means (which is rarely the point of research studies), and if the data are missing completely at random, mean imputation will not bias your parameter estimate.

It will still bias your standard error, but I will get to that in another post.

Since most research studies are interested in the relationship among variables, mean imputation is not a good solution.  The following graph illustrates this well:

This graph illustrates hypothetical data between X=years of education and Y=annual income in thousands with n=50.  The blue circles are the original data, and the solid blue line indicates the best fit regression line for the full data set.  The correlation between X and Y is r = .53.

I then randomly deleted 12 observations of income (Y) and substituted the mean.  The red dots are the mean-imputed data.

Blue circles with red dots inside them represent non-missing data.  Empty Blue circles represent the missing data.   If you look across the graph at Y = 39, you will see a row of red dots without blue circles.  These represent the imputed values.

The dotted red line is the new best fit regression line with the imputed data.  As you can see, it is less steep than the original line. Adding in those red dots pulled it down.

The new correlation is r = .39.  That’s a lot smaller that .53.

The real relationship is quite underestimated.

Of course, in a real data set, you wouldn’t notice so easily the bias you’re introducing. This is one of those situations where in trying to solve the lowered sample size, you create a bigger problem.

One note: if X were missing instead of Y, mean substitution would artificially inflate the correlation.

In other words, you’ll think there is a stronger relationship than there really is. That’s not good either. It’s not reproducible and you don’t want to be overstating real results.

This solution that is so good at preserving unbiased estimates for the mean isn’t so good for unbiased estimates of relationships.

Problem #2: Mean Imputation Leads to An Underestimate of Standard Errors

A second reason is applies to any type of single imputation. Any statistic that uses the imputed data will have a standard error that’s too low.

In other words, yes, you get the same mean from mean-imputed data that you would have gotten without the imputations. And yes, there are circumstances where that mean is unbiased. Even so, the standard error of that mean will be too small.

Because the imputations are themselves estimates, there is some error associated with them.  But your statistical software doesn’t know that.  It treats it as real data.

Ultimately, because your standard errors are too low, so are your p-values.  Now you’re making Type I errors without realizing it.

That’s not good.

A better approach?  There are two: Multiple Imputation or Full Information Maximum Likelihood.

Tagged With: mean imputation, mean substitution, Missing Data

Related Posts

  • 3 Ad-hoc Missing Data Approaches that You Should Never Use
  • EM Imputation and Missing Data: Is Mean Imputation Really so Terrible?
  • Seven Ways to Make up Data: Common Methods to Imputing Missing Data
  • Multiple Imputation in a Nutshell

Series on Easy-to-Confuse Statistical Concepts

by Karen Grace-Martin Leave a Comment

There are many concepts in statistics that are easy to confuse.

Sometimes the problem is the terminology. We have a whole series of articles on Confusing Statistical Terms.

But in these cases, it’s the concepts themselves. Similar, but distinct concepts that are easy to confuse.

Some of these are quite high-level, and others are fundamental. For each article, I’ve noted the Stage of Statistical Skill at which you’d encounter it.

So in this series of articles, I hope to disentangle some of those similar, but distinct concepts in an intuitive way.

Stage 1 Concepts

The Difference Between:

  • Association and Correlation
  • A Chi-Square Test and a McNemar Test

Stage 2 Concepts

The Difference Between:

  • Interaction and Association
  • Crossed and Nested Factors
  • Truncated and Censored Data
  • Eta Squared and Partial Eta Squared
  • Missing at Random and Missing Completely at Random Missing Data

Stage 3 Concepts

The Difference Between:

  • Relative Risk and Odds Ratios
  • Confirmatory and Exploratory Factor Analysis
  • Random Factors and Random Effects
  • Link Functions and Data Transformations
  • Clustered, Longitudinal, and Repeated Measures Data

 

Are there concepts you get mixed up? Please leave it in the comments and I’ll add to my list.


Related Posts

  • The Difference Between Association and Correlation
  • The Difference Between Random Factors and Random Effects
  • The Difference Between Link Functions and Data Transformations
  • The Difference Between Logistic and Probit Regression

What It Really Means to Take an Interaction Out of a Model

by Karen Grace-Martin Leave a Comment

When you’re model building, a key decision is which interaction terms to include.

As a general rule, the default in regression is to leave them out. Add interactions only with a solid reason. It would seem like data fishing to simply add in all possible interactions.

And yet, that’s a common practice in most ANOVA models: put in all possible interactions and only take them out if there’s a solid reason. Even many software procedures default to creating interactions among categorical predictors.

[Read more…] about What It Really Means to Take an Interaction Out of a Model

Tagged With: categorical predictor, interaction, Model Building

Related Posts

  • Simplifying a Categorical Predictor in Regression Models
  • Differences in Model Building Between Explanatory and Predictive Models
  • Should I Specify a Model Predictor as Categorical or Continuous?
  • The Impact of Removing the Constant from a Regression Model: The Categorical Case

How Big of a Sample Size do you need for Factor Analysis?

by Karen Grace-Martin Leave a Comment

Most of the time when we plan a sample size for a data set, it’s based on obtaining reasonable statistical power for a key analysis of that data set. These power calculations figure out how big a sample you need so that a certain width of a confidence interval or p-value will coincide with a scientifically meaningful effect size.

But that’s not the only issue in sample size, and not every statistical analysis uses p-values.

[Read more…] about How Big of a Sample Size do you need for Factor Analysis?

Tagged With: Factor Analysis, p-value, rules of thumb, sample size

Related Posts

  • Measurement Invariance and Multiple Group Analysis
  • Why Adding Values on a Scale Can Lead to Measurement Error
  • One of the Many Advantages to Running Confirmatory Factor Analysis with a Structural Equation Model
  • How to Reduce the Number of Variables to Analyze

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Interim pages omitted …
  • Go to page 40
  • Go to Next Page »

Primary Sidebar

Free Webinars

Effect Size Statistics on Tuesday, Feb 2nd

This Month’s Statistically Speaking Live Training

  • January Member Training: A Gentle Introduction To Random Slopes In Multilevel Models

Upcoming Workshops

  • Logistic Regression for Binary, Ordinal, and Multinomial Outcomes (May 2021)
  • Introduction to Generalized Linear Mixed Models (May 2021)

Read Our Book



Data Analysis with SPSS
(4th Edition)

by Stephen Sweet and
Karen Grace-Martin

Statistical Resources by Topic

  • Fundamental Statistics
  • Effect Size Statistics, Power, and Sample Size Calculations
  • Analysis of Variance and Covariance
  • Linear Regression
  • Complex Surveys & Sampling
  • Count Regression Models
  • Logistic Regression
  • Missing Data
  • Mixed and Multilevel Models
  • Principal Component Analysis and Factor Analysis
  • Structural Equation Modeling
  • Survival Analysis and Event History Analysis
  • Data Analysis Practice and Skills
  • R
  • SPSS
  • Stata

Copyright © 2008–2021 The Analysis Factor, LLC. All rights reserved.
877-272-8096   Contact Us

The Analysis Factor uses cookies to ensure that we give you the best experience of our website. If you continue we assume that you consent to receive cookies on all websites from The Analysis Factor.
Continue Privacy Policy
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.