Please can someone help
I have observations collected at individual levels in a number of regions in 23 different country.
I need help on how to aggregate individual data to regional level.
The original survey data has these three variables
Iweight – individual weights based on gender and age compared with region’s actual population
Dweight – the design weight
PSweight – the post stratification weight
Pweight – the population weight
My understanding is that I should use PS weights and population weights.
I tried this command
*Calculating mean regional scores
collapse (first) Pweight PSweight (mean) corruption impartiality qaulity q_o_g, ///
by(nuts nuts_name country nuts_c year)
I am not confident that this is the right command becuase Pweight refers to national population and Psweights is a includes design weight but also I am not sure of the collapse command.
Kind regards
Jonathan
Comment