You are here

Bivariate outliers

2 posts / 0 new
Last post
pgseye's picture
Offline
Joined: 10/13/2009 - 23:50
Bivariate outliers

Hi,

I've been advised I need to look at bivariate outliers in my twin dataset and that it used to be done with %p in old Mx. Is there an equivalent function in OpenMx?

Thanks,

Paul

neale's picture
Offline
Joined: 07/31/2009 - 15:14
Yes, but you have to change

Yes, but you have to change the fit function somewhat, using vector=TRUE in the mxFIMLObjective(). This returns the vector of likelihoods, which you have to log and sum and multiply by -2 in order to use instead. However, the full functionality of mx%p is not yet implemented, and would need to use the number of observed variables for each data vector (which could be extracted from the dataframe). It is something that could be done with a helper function, as the formulae are not very difficult to express in R.

Log in or register to post comments