Re: [R] easy way to fit saturated model in sem package?

2012-07-23 Thread yrosseel
I will check out the lavaan package. Dear Joshua, The lavaan package may help you. The FIML estimator typically starts with the EM algorithm to estimate the moments of the unrestricted model. There is no 'one-shot' function for it, at the moment, but if you only need those moments, you

Re: [R] easy way to fit saturated model in sem package?

2012-07-13 Thread Joshua Wiley
Dear John, Thanks very much for the reply. Looking at the optimizers, I had thought that the objectiveML did what I wanted. I appreciate the clarification. I think that multiple imputation is more flexible in some ways because you can easy create different models for every variable. At the

Re: [R] easy way to fit saturated model in sem package?

2012-07-13 Thread luke-tierney
They look fine to me. luke On Fri, 13 Jul 2012, Joshua Wiley wrote: Dear John, Thanks very much for the reply. Looking at the optimizers, I had thought that the objectiveML did what I wanted. I appreciate the clarification. I think that multiple imputation is more flexible in some ways

Re: [R] easy way to fit saturated model in sem package?

2012-07-13 Thread luke-tierney
Apologies -- replied to the wrong message. luke On Fri, 13 Jul 2012, luke-tier...@uiowa.edu wrote: They look fine to me. luke On Fri, 13 Jul 2012, Joshua Wiley wrote: Dear John, Thanks very much for the reply. Looking at the optimizers, I had thought that the objectiveML did what I

Re: [R] easy way to fit saturated model in sem package?

2012-07-12 Thread John Fox
Dear Joshua, If I understand correctly what you want to do, the sem package won't do it. That is, the sem() function won't do what often is called FIML estimation for models with missing data. I've been thinking about implementing this feature, and don't think that it would be too difficult, but

Re: [R] easy way to fit saturated model in sem package?

2012-07-12 Thread Rui Barradas
Hello, There's a package, lavaan, that implements FIML as an option of function sem(). I have never used it, though, so I can't say much about it. Hope this helps, Rui Barradas Em 12-07-2012 16:20, John Fox escreveu: Dear Joshua, If I understand correctly what you want to do, the sem