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
How can I correctly remove the missing values within group in Stata?I have a small data set laid out in longitudinal format, * Example generated by -dataex-. clear inpu…
Rename from last part of label that includes "."Hello! I'm trying to rename variables from the label, but this label includes dots (".") Example La…
Double selection lassoDear statalist, I have attempted a logit regression and now I need to attempt a double selection la…
Remove blank lines from string colvectorIf I have a string colvector in Mata, how can I create a new string colvector that removes rows with…
fixed effects and constant estimatesDear All, Does anyone know the relationship among the following commands? I mean how can we adjust t…
Subscribe to:
Post Comments (Atom)
0 Response to Issue producing geometric means and standard deviation with svy commands in Stata 15
Post a Comment