Dear Daniel,
Much appreciated!
I have explored the rioc help file and, somehow, your last example runs into an error:
I tried various options, but, even rioc union collgrad , stats(all) fails to run.
Furthermore, I have been using your package to calculate for any cut off value between 0 and 100 whether or not RIOC can be computed and from the result I create a graph.
I present two examples. For the first one I use the well known, and much discussed, example from Hosmer, Lemeshow, and Sturdivant (2013, 24) and run this model:
(the details are discussed in the Stata Manual, type h logistic and click on (View complete PDF manual entry))
Next, I run my syntax as to create the following graph (rioc plot):
For the second example I used the nlswork example data set to run the following model:
Next, I run my syntax as to create the following graph (rioc plot): 
I think such rioc plots are a very interesting addition to the 'tool box' of an analyst interested in the practical application of logit/logistic regression. Maybe there are other applications possible as well.
I hesistate to clutter the Stata list with my syntax as I am not the best writer as such and very likely employ too many 'lines & loops' to produce what I want.
But, maybe, Daniel, you are willing to inspect my code and possible are able to rewrite it more concise and add it as an option to the rioc package as well.
If so, I can email the code to you.
Much appreciated!
I have explored the rioc help file and, somehow, your last example runs into an error:
Code:
. rioc collgrad union , stats(all FPR_0: b/(n-f) FNR_1: c/f FPR_1: b/e FNR_0: c/(n-e)) percent option stats() not allowed
Furthermore, I have been using your package to calculate for any cut off value between 0 and 100 whether or not RIOC can be computed and from the result I create a graph.
I present two examples. For the first one I use the well known, and much discussed, example from Hosmer, Lemeshow, and Sturdivant (2013, 24) and run this model:
Code:
logit low age lwt i.race smoke ptl ht ui
Next, I run my syntax as to create the following graph (rioc plot):
For the second example I used the nlswork example data set to run the following model:
Code:
logit union i.collgrad ln_wage age race msp ind_code occ_code ttl_exp tenure
I think such rioc plots are a very interesting addition to the 'tool box' of an analyst interested in the practical application of logit/logistic regression. Maybe there are other applications possible as well.
I hesistate to clutter the Stata list with my syntax as I am not the best writer as such and very likely employ too many 'lines & loops' to produce what I want.
But, maybe, Daniel, you are willing to inspect my code and possible are able to rewrite it more concise and add it as an option to the rioc package as well.
If so, I can email the code to you.
Comment