Skip to content

Error after first PQL iteration (iteration0) for MixRFb #7

@pietjonker

Description

@pietjonker

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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions