Advanced Data Analysis Examples
The pages below contain examples (often hypothetical) illustrating the application of different advanced statistical analysis techniques using different statistical packages. Each page provides a handful of examples of when the analysis might be used along with sample data, an example analysis, explanation of the output, a short sample write-up, followed by references for more information. These pages merely introduce the essence of the technique and do not to provide a comprehensive description of how to use it.
The combination of topics and packages reflect questions that are often asked in our statistical consulting. As such, this heavily reflects the demand from our clients at walk in consulting, not demand of readers from around the world. Many worthy topics will not be covered because they are not reflected in questions by our clients. Also, not all analysis techniques will be covered in all packages, again largely determined by client demand. If an analysis is not shown in a particular package, this does not imply that the package cannot do the analysis, it may simply mean that the analysis is not commonly done in that package by our clients.
Stata | SAS | SPSS | Mplus | R | ||||||
Linear Mixed Models | ||||||||||
Random Intercept | ||||||||||
Random Slope | ||||||||||
Random Everything | ||||||||||
Growth Models | ||||||||||
Multivariate Random Intercept | R | |||||||||
Generalized Linear Mixed Models | ||||||||||
Logistic | ||||||||||
Poisson | R | |||||||||
Zero-inflated Poisson | SAS | |||||||||
Zero-inflated Negative Binomial | ||||||||||
Survival Models | ||||||||||
Kaplan-Meier and Basics | ||||||||||
Cox PH, Gompertz, and …? | ||||||||||
Mediation |
||||||||||
Simple Mediation | ||||||||||
Categorical Mediation | Stata | |||||||||
Moderated Mediation | Stata | |||||||||
Multilevel Mediation | ||||||||||
Categorical Multilevel Mediation | ||||||||||
Path Analysis/Latent Variable Models |
||||||||||
Path Analysis | sem | proc calis | itself | sem/openmx | ||||||
Factor Analysis | ||||||||||
Structural Equation Models | ||||||||||
Other | ||||||||||
Latent Class Analysis | gllamm | proc lca | Mplus | poLCA/lcmm | ||||||
Nonlinear Regression | nl | proc nlin | nlr/cnlr | nls() | ||||||
Nonlinear Mixed Models | gllamm? | proc nlmixed | nlme/nlmer | |||||||
Censored Mixed Models | SAS |