I am applying logistic regression to an imblanced dataset.
In order to improve specificity, I would like to resample the majority (negative) class, extracting a number of random records equal to the minority class.
Any suggestion on how to perform this in Stata?
Thanks
In order to improve specificity, I would like to resample the majority (negative) class, extracting a number of random records equal to the minority class.
Any suggestion on how to perform this in Stata?
Thanks
Comment