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
estout test resultsI am trying to obtain the test results using estout command however I am unable to put them there. …
Using nlcom after postestimation marginsDear forum, Thanks in advance for any guidance you may give. I would like to estimate the ratio (95…
test "dose-response" with categorical variableHi! I am performing cox regressions with a categorical indep. variable. In the survey, we have a lik…
Loop to fill missing valuesHello, I am using a panel data set that has a unique firm id called 'firm_id'. However, this firm_i…
Plot survival curve of the interaction in Stratified Cox ModelDear all, I ran a Cox model with strata(year), stcox X1 X2 c.X1#i.X2, strata(year) vce(robust) X1 i…
Subscribe to:
Post Comments (Atom)
0 Response to Issue producing geometric means and standard deviation with svy commands in Stata 15
Post a Comment