I have a confidentialised census sample which is 1% of the population from the Australian Bureau of Statistics the data methodology is given here
The data is in 3 levels i,e Individual, family and dwelling with these respective IDs (ABSPID, ABSFID and ABSHID). It covers the whole country but areas are divided into states (STATE) and hh id is ABSFID ; respondent id is ABSPID; dwelling id is ABSHID, BUT the design weight is not given. a sample of some key variables including sex and age are as follows:-
My trouble comes on how to calculate and apply the weight and eventually survey set my data. Given that we can calculate weight as (sample size/population size), i am wondering if doing that wont simply give me a single number for the weights for each level (individual, family and household). The methodology file accompanying the data says the ideal PSU is dwelling, but i want to use the individual as unit of analysis, it has gone into details on what to do to avoid specifications which i completely understand
Would you please advise on how i would go about survey setting this dataset using the calculated weights and individual as unit if analysis?
Thanks and best regards.
HTML Code:
http://www.abs.gov.au/ausstats/[email protected]/Latestproducts/2037.0.30.001Main%20Features202011?opendocument&tabname=Summary&prodno=2037.0.30.001&issue=2011&num=&view=
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str14 ABSHID byte(ABSPID ABSFID Sex) float agegroup long STATE "CSF11B00000001" 0 1 2 6 1 "CSF11B00000001" 0 1 1 3 1 "CSF11B00000002" 0 1 2 4 1 "CSF11B00000002" 0 1 1 3 1 "CSF11B00000003" 0 1 1 1 1 "CSF11B00000003" 0 1 2 5 1 "CSF11B00000003" 0 1 1 1 1 "CSF11B00000004" 0 1 1 5 1 "CSF11B00000005" 0 1 2 9 1 "CSF11B00000006" 0 1 1 4 1 end label values Sex SEXP label def SEXP 1 "1. Male", modify label def SEXP 2 "2. Female", modify label values agegroup agegrouplbl label def agegrouplbl 1 "under 16", modify label def agegrouplbl 3 "20-29", modify label def agegrouplbl 4 "30-39", modify label def agegrouplbl 5 "40-49", modify label def agegrouplbl 6 "50-59", modify label def agegrouplbl 9 "85+", modify label values STATE STATE label def STATE 1 "NSW", modify
Would you please advise on how i would go about survey setting this dataset using the calculated weights and individual as unit if analysis?
Thanks and best regards.
Comment