i'm trying to create a logistic model using boot()
function.
My dependent variable (factor:0,1) has a low number of defaults (were the dependent variable is = 1), so when using boot()
some of the samples dont have any defaults, so i get an when trying to bootstrap.
I have tried changing the proportion of 1 and 0 in the dependent variable but I fear this changes my model
is there a way to solve this?
thanks!