Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Imputation by mice package

$
0
0

@mudit1712 wrote:

Hi All,

As explained in one of the analyticsvidhya page to impute missing values by MICE package,I tried similar steps but getting some error.

CODE:

#imputing missing value

imputed_Data <- mice(train.im, m=5, maxit = 50, method = 'pmm', seed = 100)

#get complete data ( 2nd out of 5)
completeData <- complete(imputed_Data,2)

And below is the error i m getting

**Error in (function (classes, fdef, mtable) : **
** unable to find an inherited method for function ‘complete’ for signature ‘"mids"’**

Can someone help ?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles