student07 posted on Monday, July 30, 2007 - 10:36 am
my question refers to Example 9.3 in the Mplus userguide.
The Between-part of the model shows a correlation between the random intercepts of y1 and y2. In principle, however, could one also regress the between-variance of y2 (= the random intercept) on the between-variance of y1?
With the below input, I get two errors: *** ERROR in Model command Observed variable on the right-hand side of a between-level ON statement must be a BETWEEN variable. Problem with: u1 *** ERROR The following MODEL statements are ignored: * Statements in the BETWEEN level: y1 ON u1
CATEGORICAL = u1 u2; CLUSTER = cluster; WITHIN = x1 x2 x3 x4; BETWEEN = x5 x6 x7; ANALYSIS: TYPE = TWOLEVEL; ESTIMATOR = MLR; INTEGRATION = MONTECARLO; MODEL: %WITHIN% u1 u2 ON x1 x2 x3 x4; y1 ON x1 x2 x3 x4 u1 u2 ; %BETWEEN% u1 u2 ON x5 x6 x7; y1 ON u1 x5 x6 x7;
When I treat u1 as continuous, I get the same error, but when I treat both u1 and u2 as continuous, I get no errors and the model runs. Am I doing something wrong? Or will Mplus not do this?
Does the following fit a logistic model at the WITHIN level and a linear model at the BETWEEN level? I thought it did (based on Ex. 9.3), but in the BETWEEN output, I get a "threshold" for condom, not an intercept, and I get no "threshold" or intercept at the WITHIN level. Note, I also get a residual variance of 'condom' at the between level which I wouldn't think I would get if fitting a logistic. CATEGORICAL ARE condom partdid; CLUSTER=ID; BETWEEN = age gender enis bdi; WITHIN = naf sweekend partdid; ANALYSIS: TYPE = TWOLEVEL ; MODEL: %WITHIN% condom on naf sweekend partdid; %BETWEEN% condom on age gender bdi enis;
I'm sorry, but I think some symbols did not come through in your post. The equation given is a series of &'s, #'s and 946's and 947's. I have tried two browsers. Could you please let me know whether the within model is logistic (since the DV is the dichotomous observed variable) and between model is linear (since DV is the continuous random individual intercept). This is not clear from the output since a threshold is given in the between output which usually only happens when a non-linear model is fit.
I'm sorry. I didn't notice that. See slide 49 of the Topic 7 course handout. The formula is there. The within coefficient is logistic and the between coefficient is linear. There is only one threshold. If you see the slide, you should understand.