A reproducible example sent to the package maintainer(s) might yield results.
Max On Wed, Dec 19, 2012 at 7:47 AM, Ivana Cace <[email protected]> wrote: > Packages pROC and ROCR both calculate/approximate the Area Under (Receiver > Operator) Curve. However the results are different. > > I am computing a new variable as a predictor for a label. The new variable > is a (non-linear) function of a set of input values, and I'm checking how > different parameter settings contribute to prediction. All my settings are > predictive, but some are better. > > The AUC i got with pROC was much lower then expected, so i tried ROCR. > Here are some comparisons: > AUC from pROC AUC from ROCR > 0.49465 0.79311 > 0.49465 0.79349 > 0.49701 0.79446 > 0.49701 0.79764 > > When i draw the ROC (with pROC) i get the curve i expect. But why is the > AUC according to pROC so different? > > Ivana > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Max [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

