Dear Collegues
I would like to ask your help to correctly run the code for a multilevel approach.
I´m working with data containing information for 1546 individuals, grouped into 14 groups (ranging from 11 to 24). The groups are defined by the variable "match" which in fact is the group variable that matches macroeconomic data (country level).
In the first Level I want to estimate the following equation:
Y = b0 + b1*X1 + b2*X2 + b3*X3 + error1
IN the second level we assume that coefficients are influenced by country level variables, as follows
b0 = a00 + a01*Z1 + a02*Z2 + a03*Z3 + a04*Z4+ error2
b1 = a10 + error3
b2 = a20 + a21*Z1 + a22*Z2+ a23 *Z3+ a24*Z4+ error3
b3 = a30 + error4
As you can see, it includes error terms and a change that can be performed (I believe) several options, the parameters that interest me are: a00; a01; a02; a03; a04; a10; a20 + a21; a22; a23; a24 and a30.
Could you help me to design the "mixed" function in such terms?
Thank you in advance
Fábio
Related Posts with Multilevel - Mixed-Effects Model Specification
Survival analysis when the failure may be "reached again"Hi everyone! It is my first post in this forum. The question that has taken my sleep is about surviv…
Panel Data Regression - Football DissertationHi, I'll try and keep this concise for ease: I am looking at the relationship between football clu…
Calculating Risk Ratios and CIsHi, I'm new to STATA 16. Looking for advice on calculating risk ratios and their confidence interva…
Multilevel modelling: 'Intercepts as outcomes model'Hello, I am working with a multilevel binary logistic model. I have read up a lot about how to run a…
correlationHi all, I need to use the function "mkcorr", but when I try to use it, this happens: Code: mkcorr…
Subscribe to:
Post Comments (Atom)
0 Response to Multilevel - Mixed-Effects Model Specification
Post a Comment