Re: [R] Sem and nlm and ols instead of ml

2009-04-25 Thread John Fox
Dear Adam, ML is indeed hard-coded into the sem() function. Depending upon its complexity, modifying the code to use a different fitting function shouldn't be difficult, particularly if you are content not to supply derivatives for the optimization. Providing for different fitting functions is on

[R] Sem and nlm and ols instead of ml

2009-04-24 Thread Adam D. I. Kramer
Dear colleagues, Has anybody any experience using the sem package to fit structural equation models using a fitting function other than ML? I have heard tell that OLS may provide better estimates when using standardized matrices generated from small sample sizes, so I was interested in