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
Replacing ID on different dataHello, I am having 2 different data file from excel. This is data A (general data) Code: . list id…
Panel-data mixed logit: repeated choices under different circumstancesHi Statalist, Using the panel-data mixed logit choice model – cmxtmixlogit – one can take into acco…
How to identify ID_code from _NHallo Statalists. I have the following question for you. Take the following two variables, id_code …
Heckman correctionHello, is there a possibility to include an if condition in the Heckman correction? I am currently…
twoway with bar and lineDear Statalist, I plotted the top graph using the following code. However, as you can see it is not…
Subscribe to:
Post Comments (Atom)
0 Response to Issue producing geometric means and standard deviation with svy commands in Stata 15
Post a Comment