Consider the following baseline model: yijk = beta * xijk + errorijk
where i indicates a child, j indicates a family, and k indicates a school.
y is a measure of human capital and x is the quality of the school that the child attends.
I want to decompose beta into a within family component and an across family component. I haven't found a very straight-forward way of doing this in stata (the extended model contains controls and weights). I was hoping to be able to use some of Stata's panel tools but haven't found a way to do so.
Related Posts with Decomposing regression into within and between effects
Is it possible to match families/groups and not individual observations?I have two datasets. One dataset has families of 2 members and the other dataset has families of une…
Tabulating the variable's highest value and show the highest frequencyHello all, I am having difficulty of tabulating a variable that shows the highest frequency and the …
Probit marginal effects: correct interpretation?I am running a regression of a binary variable (proficient in math or not) on education expenditure …
Would boot strapping be used as an alternative to confidence interval along with Chi-Square test statistic?To see the prevalence of tobacco consumption in socio demographic variables their difference if stat…
Constraining Discrimination Parameters in Three-parameter Logistic Item Response Theory ModelGood day everyone in the list, please how can I constrain a discrimination parameter in stata code g…
Subscribe to:
Post Comments (Atom)
0 Response to Decomposing regression into within and between effects
Post a Comment