Hi,
I am interested in classifying households into poverty status (poor non poor) using lasso.
I ran a couple of logit lasso using several selection mechanisms and predicted their respective probability. I would have liked to draw the roc and use the command estat classification to compare the different predictions but the command lasso logit does not seem to allow neither lroc or estat classification. Do you know an alternative?
To circonvent the isssue, I extract from the lasso the selected variables and run a simple logit using these variables but I don''t know if this is entirely equivalent (as I use a prediction is not penalized as it should). A minimal example would be:
Does this make sense ?
Thanks for your help
I am interested in classifying households into poverty status (poor non poor) using lasso.
I ran a couple of logit lasso using several selection mechanisms and predicted their respective probability. I would have liked to draw the roc and use the command estat classification to compare the different predictions but the command lasso logit does not seem to allow neither lroc or estat classification. Do you know an alternative?
To circonvent the isssue, I extract from the lasso the selected variables and run a simple logit using these variables but I don''t know if this is entirely equivalent (as I use a prediction is not penalized as it should). A minimal example would be:
Code:
xi: lasso probit poor $var_lasso if sample==1 global selected_pcv `e(othervars_sel)' logit poor $selected_cv if sample==1 lroc estat classification
Thanks for your help
Comment