Replies: 2 comments 2 replies
-
|
Thanks for the nice words Tim :)
|
Beta Was this translation helpful? Give feedback.
-
|
I see. Basically, row 9 of $pars is now a deterministic calculation, so behaves (in this sense at least) similar to if you'd specified a fixed value -- the irrelevant aspects (indvarying, sdscale, any covariate effects) are ignored. You can see what's happening in these regards a bit more clearly if you use the ctModelLatex function to view the model (note the subject parameter distribution now that I set the extra pars to have random effects individual variation). |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Charles,
Thanks again for this amazing package! It's really one-of-a-kind and has been a real game changer for me being able to easily do these more complex analyses.
I had a few questions about modelling quadratic effects. For simplicity, let's assume I have a model with two latent variables--var1 and var2 where:
change_in_var1 = var1 x auto1 + var2 x cross_1_on_2 + eps1
change_in_var2 = var2 x auto2 + var1 x cross_2_on_1 + eps2
and...
cross_2_on_1 = beta0 + beta1 x var1
The model above assumes that the effect of var1 on the change_in_var2 depends itself on var1
Question 1) I want to allow beta0 and beta1 to vary across individuals. I understand how to make this happen. But do I also need to make cross_2_on_1 itself vary across individuals? I would have thought variability in cross_2_on_1 would be implied by variability in beta0 and/or beta1, but I get different results depending on whether I just let the betas vary across individuals versus when I additionally allow cross_2_on_1 to vary.
Question 2) When plotting the results of this model with the ctDiscretePars function, does the cross_2_on_1 effect shown take into account the fact that the effect also changes as a function of var1? Is it marginalised across var1 somehow? Or can this plot not really be interpreted when the cross effects themselves change dynamically?
Question 3) Related to the above -- the plot generated by the ctDiscretePars plot shows two cross effects: var1.var2 and var2.var1. Which one is which? Is var1.var2 the effect of var1 on var2 or is it var1 regressed on var2?
Thanks!
Tim
Beta Was this translation helpful? Give feedback.
All reactions