I am working on a project using Stata 14.2 using survey data with a complex design, that also involves analyzing biochemical data from participants. For an upcoming project, I would like to re-work my existing code that was used in Stata 14.2 and run the analysis in Stata 15 (due to other features in the most recent version of the package).
I am running into an issue adapting the code from 14.2 for use in 15. For instance, previously I could obtain an estimated geometric mean using the following syntax:
svy: mean <variable>
ereturn display, eform (geo_mean).
This code works just fine in 14.2, however when I run the command in Stata 15, the "ereturn display" command simply returns the same value I get with the original svy command. I cannot find any information on whether or not the syntax has changed, or if this is a software related problem. Alternatively, I would like to seek another way to get this information.
Any assistance anyone could offer would be appreciated.
Thanks,
Danielle Smith
I am running into an issue adapting the code from 14.2 for use in 15. For instance, previously I could obtain an estimated geometric mean using the following syntax:
svy: mean <variable>
ereturn display, eform (geo_mean).
This code works just fine in 14.2, however when I run the command in Stata 15, the "ereturn display" command simply returns the same value I get with the original svy command. I cannot find any information on whether or not the syntax has changed, or if this is a software related problem. Alternatively, I would like to seek another way to get this information.
Any assistance anyone could offer would be appreciated.
Thanks,
Danielle Smith
Comment