I am working on a project using Stata 15.1 using survey data with a complex design, that also involves analyzing biochemical data.
I tried to use this commands to get geometric mean and sd, but they are not working.
svy: mean <variable>, over(variable2)
ereturn display, eform (geo_mean).
The "ereturn display" command simply returns the same value I get with the original svy command. I cannot find any information.
Any assistance anyone could offer would be really appreciated.
Thanks,
Sara
Related Posts with Issue producing geometric means and standard deviation with svy commands in Stata 15
Non-inferiority sample size calculation for proportionsNow this may be a massively stupid question however... I am trying to sort out a sample size calcul…
How to measure treatment effects in panel data when treatment happens at different times?Hello Statalists, I am working on treatment effects of foreign acquisition on firms' productivity, …
Matching within strata in psmatch2Dear Statalists, I am working on treatment effects of foreign acquisition on firms' productivity, i…
Panzar and Rose Model Code in StataDear Forum members, I am a beginner in Stata and working on the thesis. I am trying to implement th…
Tobit model with variable upper limits on Stata 13Hi all, I need to run a Tobit model with variable upper limits on Stata 13, and these upper limits …
Subscribe to:
Post Comments (Atom)
0 Response to Issue producing geometric means and standard deviation with svy commands in Stata 15
Post a Comment