MixRF icon indicating copy to clipboard operation
MixRF copied to clipboard

Error after first PQL iteration (iteration0) for MixRFb

Open pietjonker opened this issue 3 years ago • 2 comments

Dear Jiebiao,

I am receiving on of two errors for 10 of the 12 models I want to run using your function

Error in RET@prediction_weights(newdata = newdata, mincriterion = mincriterion, : cannot compute out-of-bag predictions for observation number 6 | Error in model@dpp(...). : missing values in response variable not allowed

when running the MixRFb function.

I have a binomial (0 or 1) outcome variable (let's call this y1) and four predictor variables. The weird thing is that it works on another similar outcome variable (let's call this y2). I do exactly the same, the data is the same, only the prevalence of 1's is different. y1 (which doesn't work) has low prevalence of 1's and y2 has okay prevalence of 1's. Could this be the problem?

I have a total of 12 y variables for which only 4 run the full iterations, and 8 run into one of these two errors after the first iterations0.

Could you help me in the right direction? Thanks for the package and the help!!

pietjonker avatar Apr 21 '21 13:04 pietjonker