Calculating level-specific SEM fit indices for multilevel mediation analyses.Stata's gsem command provides the ability to fit multilevel structural equation models (sem) and related multilevel models. 
Stata
Multilevel ma conducted through the gsem command examined the mediating effects of patients' treatment progression and rapport with counselors on their treatment satisfaction.  Level-specific fit indices have been proposed in the literature but have not been incorporated into the gsem command.  Model results from the gsem command are used to calculate the level-specific comparative fit index and root mean squared error of approximation fit indices. 
the gsem command
I created the gsemgof command to fill this role.  I illustrate the gsemgof command through multilevel ma applied to two-level Methadone Maintenance Treatment data.
the gsemgof command