Dear Statalist members,
I have a question regarding the correctness of the specification of the current multilevel models.
The output variable is migration concerns. The main dependent variable that we would like to inspect is the welfare dependency rate "WDR," which is defined as household transfer share*100, where household transfer share is the share of household income from public transfers/ household post-gov't income. Each household is counted once by considering household heads that carry the WDR of their respective households. WDR takes, therefore, values between 0 & 100
Since I am applying multilevel models for the first time in practice, I have a couple of questions:
1. Is this the right way of nesting? (in particular w.r.t _all and R.)
The above covariates were defined to capture WDR on a regional level per year
where nuts3: districts, syear: survey year, n: dummy for natives, m: dummy for migrants, std refers to standardized (as we standardized all continuous variables in the regression)
2. Is it right to combine the regionally disaggregated WDR for migrants and natives respectively per year as defined above along with the aggregate WDR (without any region distinction)in one model?
Thank you in advance!
I have a question regarding the correctness of the specification of the current multilevel models.
The output variable is migration concerns. The main dependent variable that we would like to inspect is the welfare dependency rate "WDR," which is defined as household transfer share*100, where household transfer share is the share of household income from public transfers/ household post-gov't income. Each household is counted once by considering household heads that carry the WDR of their respective households. WDR takes, therefore, values between 0 & 100
Since I am applying multilevel models for the first time in practice, I have a couple of questions:
1. Is this the right way of nesting? (in particular w.r.t _all and R.)
Code:
eststo: mixed concerns /// std_WDR_n_nuts3_syear /// std_WDR_m_nuts3_syear /// || _all:R.nuts3 || syear: if head==0 & sample==1
where nuts3: districts, syear: survey year, n: dummy for natives, m: dummy for migrants, std refers to standardized (as we standardized all continuous variables in the regression)
Code:
sort nuts3 syear by nuts3 syear: egen WDR_n_nuts3_syear = mean(WDR_n) by nuts3 syear: egen WDR_m_nuts3_syear = mean(WDR_m)
Code:
eststo: mixed concerns /// std_WDR_n_nuts3_syear /// c.std_WDR_m_nuts3_syear /// i.migback##c.std_kr_foreigner_nuts3 /// i.region /// std_age /// i.mar /// i.male /// std_childrennum /// i.emplstat /// i.edu /// std_WDR /// || _all:R.nuts3 || syear: if head==0 & sample==1
Comment