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
Aalen Johansen estimates of the cumulative incidence - how to include numbers at risk in figureHi, In am using the Aalen Johansen estimator to plot the cumulative incidence of my specific outcome…
sample size calculationHi statalisters, I would like to calcultae the number of individuals i need to get at least a 2 fold…
Generate a relative variableHello Statalist, I am totally new to Stata, and I hope someone can help me on how to handle this ta…
Collapse function, error - variable not found + error in option by ())Good afternoon to the community. I would like to calculate the mean and standard deviation of intang…
lincom command with same variable after suregDear all, I am running a Seemingly-Unrelated-Regression using -sureg- for 80 banks. Brief backgroun…
Subscribe to:
Post Comments (Atom)
0 Response to Svy mean for calculating averages using nsso data
Post a Comment