I want to ask what exactly the purpose of setting the starting value in mxPath codes? And what the basic can we use to set it? Is it like trial and error? I set some values but it always generate the NaN value in standard error, so what should I do then? Thank you.
hi icha,
This thread will likely help with explanations and some practical advice.
http://openmx.psyc.virginia.edu/thread/1366
you might want to explore the umx library, which has a umxSetValues() function which takes some "usually good enough" guesses at start values.
it's on github rather than cran at present so installing means
I've installed devtools package and also umx package but when I run help(umxSetValues) I've got an error,why? And I want to ask what makes the standar error NaN? Is it just based on the starting values? I've tried some starting values and it always result the NaN values in my standar error.Thankyou
Sorry, spoke without code :-) Here's a working example from the umx help
In general, I'd recommend reading Ryne's post on setting values and learning to do that directly as well as using utility helpers like this one...
This is a shortcut to both using umxRun()