search for: thetatrain

Displaying 1 result from an estimated 1 matches for "thetatrain".

2009 Oct 21
0
multiple imputation with mix package
...) and x only contain info on incomplete the data set I want to impute. As best as I can tell this is not the case. For instance, I create a 'model object' (a general location parameter list) from the data set trainSet using em.mix as follows: sTrain <- prelim.mix(trainSet,nCategorical) thetaTrain <- em.mix(sTrain,maxits=1000,showits=TRUE,eps=0.0001) I then attempt to use this model to impute a missing field (TC) in the data set workSet as follows: workSet$TC <- NA sWork <- prelim.mix(workSet,nCategorical) imputedWork <- imp.mix(sWork,thetaTrain,workSet) This does not give rea...