Skip to main content
Korean Journal of Family Medicine logoLink to Korean Journal of Family Medicine
. 2013 Nov 25;34(6):434–436. doi: 10.4082/kjfm.2013.34.6.434

Comments on Statistical Issues in November 2013

Yong Gyu Park 1
PMCID: PMC3856286  PMID: 24340166

In this section, we explain the actual number of observations used in a multivariate analysis when one or more explanatory variables have missing values, which appeared in the articles titled, "Postmarketing surveillance study of the efficacy and safety of Phentermine in patients with obesity," by Kim et al.1) and "Relationships between dietary habits and allostatic load index in metabolic syndrome patients," by Kim2) published in September 2013.

MISSING VALUES IN MULTIVARIATE ANALYSES

When there are some missing values in one or more variables, most researchers choose one of the following strategies for analysis: 1) delete all observations which have missing values or 2) use all observations regardless of missing values. The purpose of this section is to show how many observations are actually analyzed in multivariate analyses, such as multiple linear regression analysis or multiple logistic regression analysis, when there are different numbers of missing values in each explanatory variable. Let's perform a multiple linear regression using the following hypothetical data (Table 1).

Table 1.

Hypothetical data

graphic file with name kjfm-34-434-i001.jpg

In this data, explanatory variable x1 has four, x2 has two, and x3 has no missing values, respectively (denoted as a dot), and we will perform three analyzing processes using SPSS, 1) Pearson correlation analysis, 2) multiple linear regression analysis, and 3) stepwise multiple linear regression analysis.

PEARSON CORRELATION ANALYSIS

From the menus choose:

Analyze

Correlate

Bivariate...

Select all variables: y, x1, x2, x3

We obtain the following results: (Table 2).

Table 2.

Correlation coefficients

graphic file with name kjfm-34-434-i002.jpg

X3 has the highest correlation with y, and explanatory variables, and x1, x2, and x3 are analyzed by using only their valid observations, 6, 8, and 10, respectively.

MULTIPLE LINEAR REGRESSION ANALYSIS

From the menus choose:

Analyze

Regression

Linear...

Choose dependent variable: y

Independent variables: x1, x2, x3

Options: statistics: descriptive statistics

We obtain the following results: (Tables 3-5).

Table 3.

Descriptive statistics

graphic file with name kjfm-34-434-i003.jpg

Table 5.

Coefficients

graphic file with name kjfm-34-434-i005.jpg

X3 has the highest correlation with y, but all analyses (descriptive statistics, correlation analysis, and multiple regression analysis) are performed using only six observations which have no missing values for all dependent variables.

STEPWISE MULTIPLE LINEAR REGRESSION ANALYSIS

(Menus, variable selection, and options are the same as the above)

Variable selection methods: stepwise

We obtain the following results: (Tables 6-8).

Table 6.

Entered/removed variables

graphic file with name kjfm-34-434-i006.jpg

Table 8.

Coefficients

graphic file with name kjfm-34-434-i008.jpg

Descriptive statistics (the same as above results)

Correlation coefficients (the same as above results)

From the total degrees of freedom (df = 5) in the analysis of variance table, a stepwise multiple regression analysis is performed using only six observations which have no missing values for all explanatory variables, even though the results show that only one variable, x3, which has no missing values, remains in the final model.

As we can see from the above three results, the actual number of observations analyzed in a multivariate analysis is the minimum number of valid observations of all explanatory variables we had intended to include in the analysis, regardless of the variable selection methods.

Table 4.

Correlation coefficients

graphic file with name kjfm-34-434-i004.jpg

Table 7.

Analysis of variance

graphic file with name kjfm-34-434-i007.jpg

Footnotes

No potential conflict of interest relevant to this article was reported.

References

  • 1.Kim HO, Lee JA, Suh HW, Kim YS, Kim BS, Ahn ES, et al. Postmarketing surveillance study of the efficacy and safety of phentermine in patients with obesity. Korean J Fam Med. 2013;34:298–306. doi: 10.4082/kjfm.2013.34.5.298. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Kim JY. Relationships between dietary habits and allostatic load index in metabolic syndrome patients. Korean J Fam Med. 2013;34:334–346. doi: 10.4082/kjfm.2013.34.5.334. [DOI] [PMC free article] [PubMed] [Google Scholar]

Articles from Korean Journal of Family Medicine are provided here courtesy of Korean Academy of Family Medicine

RESOURCES