Stata commands and options for performing subgroup analyses (Sept 2021) @mikecrowson2462
Stata commands and options for performing subgroup analyses (Sept 2021)  @mikecrowson2462
Uploaded September 2021 | Updated September 2026, 2 weeks ago
This presentation shows you various options for carrying out subgroup analyses using Stata. I use 2 general examples: (a) generating descriptive statistics for a single variable (mastery goals) (b) performing a linear regression (where achievement is regressed onto mastery goals and performance goals). I demonstrate how to generate subgroup output using the 'if' command and also by using 'bysort'. Later in the video I demonstrate how to create subgroups from a numeric variable (using the 'generate' and 'replace' commands) and then using it in conjunction with 'bysort'.

A copy of the data can be downloaded here: drive.google.com/file/d/1ikjJnRjr1a4jO5Zx5Cvo0BEoedTjuT-7/view

Supplemental text file containing commands shown in the video:
drive.google.com/file/d/1FoRqvUamM56vHyjv_swZdvxfdFCJZ4TH/view
Stata commands and options for performing subgroup analyses (Sept 2021)Multilevel modeling with longitudinal data in RStudio (Example from Hox et al., 2018)Recoding variables using Stata (August 2021)Binary logistic regression Stata 19 Part 2Modeling multicategorical outcomes in SPSS 29 using multinomial logistic regression (Sept 2023, rev)Generating and interpreting confidence intervals for a sample mean using SPSSFactorial ANOVA SPSS 29 (Jan 2023; see links in video description)Part 3: A causal inference approach to mediation analysis using PROCESS (Serial mediation)Testing a customized moderated mediation model using Process/SPSS: Examples with a single moderatorMediation analysis using Process Model 4 in SPSS (Simple and parallel mediation; Aug 2023)Computing effect size measures for predictors in logistic regression painlessly using SPSS & ExcelSteps for simulating multivariate normal data in R
Mike Crowson |

Stata commands and options for performing subgroup analyses (Sept 2021)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER