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
Pooled panel Heckman MLE vs. pooled panel Heckman Two-stepDear Statalist, I am running a pooled panel Heckman two-step estimation to find determinants of ins…
Taking Average by idHi Everyone, I have a dataset looking like this: Date id var1 var2 var3 var4... 2010 1 ... ... ... …
Is there any way to get -Look at these example(s)- after -unicode translate-?Dear Forum, I want to know whether it is possible to access the information displayed below -assert…
calculating or identifying start/stop dates according to a rule with consecutive observationsHi, this is a snap shot of my data set. Code: Code: * Example generated by -dataex-. To install:…
Margins and regression outputDear Stata Users, I am analyzing the probability that cohabiting couples will marry or dissolve acc…
Subscribe to:
Post Comments (Atom)
0 Response to Multilevel - Mixed-Effects Model Specification
Post a Comment