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
Count number of distinct cases by groupHi Stata Users, I am using Stata version 15 to calculate the number of distinct cases (firm) by a gr…
Missing variables in panel dataDear all, I am currently working on a panel data with a dataset from 1999, 2008 and 2017 In my lin…
Creating a loop that loops around a set of values of a variableHello all, I'm trying to create a loop such that for each set of 4 through 6 a unique id (starting …
Rifhdreg with survey dataDear, I want to estimate a recentered influence function with the median as distributional statisti…
Can marginal effects at the mean be likely greater than one?Dear friends, I am confused if marginal effects at means be likely greater than one? Code: sysuse …
Subscribe to:
Post Comments (Atom)
0 Response to Issue producing geometric means and standard deviation with svy commands in Stata 15
Post a Comment