There are many books that teach you to use SAS or that teach you to use R. There is at least one book that teaches R to people who know SAS or SPSS (R for SAS and SPSS users by Robert Muenchen, and it’s very good).

In a recent article in Sociological Methodology entitled “How to impute interactions, squares, and other transformed variables”, Paul T. von Hippel shows that, when y0u have missing data and are using interactions, squares, or other transformed variables in a regression, it is better to transform first, and then impute.

In multiple imputation, the problem of missing data is dealt with by imputing multiple sets of data, and then combining them. When there are no interactions or quadratics, the process is well-understood. But relatively little is known about the proper procedure when you do have transformations. von Hippel shows, using both mathematics and example data, that it is better to first transform the data that you do have, and then impute. Although this leads to the odd situation that, e.g. the imputed values X^2 are not equal to the square of the imputed values for X; doing it in the reverse order (that is, imputing and transforming) yields biased estimates of the regression coefficients.

This is so both for ordinary least squares regression and other regression models.

I found the article fascinating and accessible.

### Author Bio

**I can help with writing papers, writing grant applications, and doing analysis for grants and research.**

** Specialties:** Regression, logistic regression, cluster analysis, statistical graphics, quantile regression.

You can **click here to email** or reach me via phone at 917-488-7176. Or if you want you can follow me on Facebook, **Twitter**, or LinkedIn.