FIML Estimation

4 posts / 0 new
Offline
Joined: 03/12/2014 - 13:01
FIML Estimation
AttachmentSize
4.8 KB

actually, I have a problem with my data. My new data is incomplete (missing data). I read on the web if no data is lost then using FIML function, but I am confused what to put where and what. I have tried but I always fail. please help me.
other than that, is there any basis we determine the value? I tried to try to change the value of 0.25-1 and outcome affect the output Standard error of estimate.
thank you.

Offline
Joined: 07/31/2009 - 15:26
Hi, To use FIML, simply

Hi,

To use FIML, simply create a model with raw data.

aModel <- mxModel(name="Example with FIML",
mxData(aRawDataSet, type="raw"),
# other paths, matrices, and algebras
)

Cheers,
Mike Hunter

Offline
Joined: 03/12/2014 - 13:01
Great. Thank You for your

Offline
Joined: 07/31/2009 - 14:25
example FIML model

OpenMx works well with missing data using FIML as you say.

All you need to do is include your raw data in the mxData() line, and use the FIML objective.
Here's an example:

data(myFADataRaw, package="OpenMx")
latents   = c("G")
m1 <- mxModel("m1", type="RAM",
manifestVars = manifests,
latentVars   = latents,
umxSummary(m1)