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 followi
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
Overlapping values on y axis in Stata graphArray Hi, is there a way to avoid overlapping of numbers on the y axis …
Median, Tercile and QuartileHi, I want to create dummy variables based on the median. Sometiems I do that based on quartile and …
Outreg2 to Excel R(198) error diagnosisI am trying to run the below code in STATA 16.1. STATA is fully updated, and I've uninstalled and re…
Use the lastvar local to read v1 v2 v3 variables from insheet with numeric namesI am reading in GIS data provided by a soil scientist on my research team that is exported to csv fi…
Generate weighted median variable by other variablesHello, I have a dataset which lists the year, state, age group, income, and survey weight of indivi…
Subscribe to:
Post Comments (Atom)
0 Response to Svy mean for calculating averages using nsso data
Post a Comment