listwise deletion for missingness in defintion variables?
Posted on

Forums
Hi
I thought the listwise deletion approach to dealing with missingness in definition variables used in clasicMX was carried over to OpenMX. Some teaching scripts which used to run are now yeilding the following errors (openmx version number: 1.0.7-1706)
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
Error: NA value for a definition variable is Not Yet Implemented.
I thought the listwise deletion approach to dealing with missingness in definition variables used in clasicMX was carried over to OpenMX. Some teaching scripts which used to run are now yeilding the following errors (openmx version number: 1.0.7-1706)
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
Error: NA value for a definition variable is Not Yet Implemented.
Is there an argument to mxRun or mxData that I can include to get old-school automatic listwise deletion?
thanks
Sarah
need to delete cases with missing def vars
Best to be explicit and delete the lines with missing def vars before hand:
twinData = twinData[!is.na(twinData$def),]
Log in or register to post comments
In reply to need to delete cases with missing def vars by tbates
I have the same query. Thanks
Log in or register to post comments
need to delete cases with missing def vars
Best to be explicit and delete the lines with missing def vars before hand:
twinData = twinData[!is.na(twinData$def),]
Log in or register to post comments