Try nnet.MaxNWts instead

From: Impute -- Imputations in Data Analysis 
<[email protected]> On Behalf Of Yi Wang
Sent: maandag 5 juli 2021 18:54
To: [email protected]
Subject: mice multiple imputation error

I am using mice to do multiple imputation. The dataset contains 150 variables 
with around 8,000 observations.

I got the following message:
Error in nnet.default(X, Y, w, mask = mask, size = 0, skip = TRUE, softmax = 
TRUE,  :
  too many (1540) weights

Then I changed this: MaxNWts = 2000

Error in nnet.default(X, Y, w, mask = mask, size = 0, skip = TRUE, softmax = 
TRUE,  :
  formal argument "MaxNWts" matched by multiple actual arguments

Can anyone share your thoughts? Thanks.

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages.

Reply via email to