I am currently working on the 75th round data NSS, where I need to use survey analysis. I wanted to find out the average expenditure on various components of education. However, when I am giving the command
svy: mean total_exp
the value does not match the report. If I manually calculate by the procedure, I am getting the correct average. I have used the following
egen total = total(total_exp*multipliercombined)
egen number = total(multipliercombined)
generate average = total/number
Related Posts with Svy mean for calculating averages using nsso data
Exporting Regression Results with 6 decimal pointsHello, I can export regression results in stata, but I was wondering how to export regression result…
Violations of the proportional hazards assumptionHello everyone Perform a COX proportional hazard regression model. However, the final multivariate …
How to identify the oldest and youngest children in each HHHi all, I would like to create variables that could identify who is the oldest and youngest childre…
How can I find out how Stata is calculating covariance matrices exactly(!)I'm trying to translate Stata results into R and with the existing methods, I can only recreate stan…
How to estimate margins after bioprobit?Hello everyone, I am conducting a study to analyze accident data. I have two outcome variables, nam…
Subscribe to:
Post Comments (Atom)
0 Response to Svy mean for calculating averages using nsso data
Post a Comment