Open lf-araujo opened 2 years ago
The problem is that for this to be useful, the user then needs to set all the parameter values. Easier said than done with a complex model. But still …easier if umxTwinMaker could at least press on when no data are provided and give the user a model they can take to the final stage for inputting to umxGenerate data.
I'll mull it over over the weekend.
Thanks for all your engagement and the excellent need-driven suggestions - they are lovely to receive!
T
While modifying the function for DoC I found out umxTwinMaker, which is such a handy tool when you already have data.
But if you are exploring and don't have data to match a twin model that is complex enough so that it would be easier to generate the paths for one person and get the supermodel with TwinMaker, you have no luck:
Errs with:
My attempt:
I edited TwinMaker so it now reads:
so I can pass a list of observed (vars), and:
And it runs as expected, but later on when I then try to generate data for the supermodel with:
I get
Error in eigen(Sigma, symmetric = TRUE) : 0 x 0 matrix
, but I can't find where in the code the function loses track of the sigma matrix.