Displaying 20 results from an estimated 1000 matches similar to: "partial AUC and SE in R"
2005 Sep 22
2
Survey of ROC AUC / wilcoxon test functions
Hi,
I was lately debugging parts of my 'colAUC' function in caTools package, and
in a process looked into other packages for calculating Areas Under ROC
Curves (AUC). To my surprise I found at least 6 other functions:
* wilcox.test
* AUC from ROC package,
* performance from ROCR package,
* auROC from limma package,
* ROC from Epi package,
* roc.area from verification
2006 Nov 24
1
How to find AUC in SVM (kernlab package)
Dear all,
I was wondering if someone can help me. I am learning SVM for
classification in my research with kernlab package. I want to know about
classification performance using Area Under Curve (AUC). I know ROCR
package can do this job but I found all example in ROCR package have
include prediction, for example, ROCR.hiv {ROCR}. My problem is how to
produce prediction in SVM and to find
2012 Dec 19
2
pROC and ROCR give different values for AUC
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
2009 May 12
1
ROCR: auc and logarithm plot
Hi,
I am quite new to R and I have two questions regarding ROCR.
1. I have tried to understand how to extract area-under-curve value by looking at the ROCR document and googling. Still I am not sure if I am doing the right thing. Here is my code, is "auc1" the auc value?
"
pred1 <- prediction(resp1,label1)
perf1 <- performance(pred1,"tpr","fpr")
plot(
2008 Jan 05
1
AUC values from LRM and ROCR
Dear List,
I am trying to assess the prediction accuracy of an ordinal model fit with
LRM in the Design package. I used predict.lrm to predict on an independent
dataset and am now attempting to assess the accuracy of these predictions.
>From what I have read, the AUC is good for this because it is threshold
independent. I obtained the AUC for the fit model output from the c score (c
=
2006 Nov 13
1
Nominal Respose Model in R
Hi:
I have been working in Item Response Theory, exactly, with Nominal Response Model (NRM). Exist in R
a function for estimate parameter and ability from database for this Model?.
Thank you,
Xavier G. Ordóñez
[[alternative HTML version deleted]]
2012 Feb 09
2
AUC, C-index and p-value of Wilcoxon
Dear all,
I am using the ROCR library to compute the AUC and also the Hmisc library
to compute the C-index of a predictor and a group variable. The results of
AUC and C-index are similar and give a value of about 0.57. The Wilcoxon
p-value is <0.001! Why the AUC is showing small value and the p-value is
high significant? The AUC is based on Wilcoxon calculation?
Many thanks,
Lina
2011 Dec 22
0
randomforest and AUC using 10 fold CV - Plotting results
Here is a snippet to show what i'm trying to do.
library(randomForest)
library(ROCR)
library(caret)
data(iris)
iris <- iris[(iris$Species != "setosa"),]
fit <- randomForest(factor(Species) ~ ., data=iris, ntree=50)
train.predict <- predict(fit,iris,type="prob")[,2]
2010 Jan 22
2
Computing Confidence Intervals for AUC in ROCR Package
Dear R-philes,
I am plotting ROC curves for several cross-validation runs of a
classifier (using the function below). In addition to the average
AUC, I am interested in obtaining a confidence interval for the
average AUC. Is there a straightforward way to do this via the ROCR
package?
plot_roc_curve <- function(roc.dat, plt.title) {
#print(str(vowel.ROC))
pred <-
2011 Mar 13
1
use of ROCR package (ROC curve / AUC value) in a specific case versus integral calculation
Hello,
I would like to use the ROCR package to draw ROC curves and compute AUC
values.
However, in the specific context of my application, the true positive
rates and false positive rates are already provided by some upstream method.
Of course, I can draw a ROC plot with the following command :
plot(x=FPrate, y=TPrate, "o", xlab="false positive rate", ylab="true
2010 Oct 22
2
Random Forest AUC
Guys,
I used Random Forest with a couple of data sets I had to predict for binary
response. In all the cases, the AUC of the training set is coming to be 1.
Is this always the case with random forests? Can someone please clarify
this?
I have given a simple example, first using logistic regression and then
using random forests to explain the problem. AUC of the random forest is
coming out to be
2012 Sep 08
0
Help on calculating AUC with caTools trapz(a,b) command
Dear All,
I have the following example:
a <-matrix(c(1:100),ncol=10)
b <-matrix(c(2,4,6,8,10,12,14,16,18,20))
trapz(b,a)
will give me a result of 99, which it seems to me is the AUC of the 1st column only. Is it possible to get the AUC results by columns of "a" using the same "b" values in the calculations as opposed to just generating the result for the 1st
2005 Sep 28
1
Fast AUC computation
I am doing a simulation with a relatively large data set (20,000
observations) for which I want to calculate the area under the Receiver
Operator Curve (AUC) for many parameter combinations. I am using the ROC
library and the following commands to generate each AUC:
rocobj=rocdemo.sca(truth = ymis, data = model$fitted.values, rule =
dxrule.sca) #generation of observed ROC object
2007 Nov 21
1
Calculating AUC from ROCR
Dear R-helper,
I am working with ROCR of Tobias Sing et. al. to compare the performances of
logistic and nnet models on a binary response.
I had the performance plots, but I have problem finding out other
performance statistics (eg. MSE/ASE, AUC). Any help on this?
Thanks
Ilham
[[alternative HTML version deleted]]
2009 Jul 13
0
95% Confidence Intervals for AUC - $auc.samples from the Daim Package
Hi
I am trying to perform a bootstrap estimate of classification accuracy of a logistic regression using the 'Daim' package in r using the code at the bottom of this post, this all works great and I get the .632+ misclassification accuracy, specificity, sensitivity, AUC etc etc but what I would like is to access the list of AUC for each of the bootstrap samples as I need calculate the 95%
2006 Nov 16
1
How Aggegate Data in R
Hello:
When I use SPSS I execute the AGGREGATE DATA comand for the next data:
2112141123212213212213334
3143244113442312121213344
2114141123112214212113344
2112211122212413421213221
3114444123442414343413344
2312231223212222323223322
2143241123212313131213234
2113241113212313222213333
2113141123112214212113344
2114141123412111114413344
2113211122342314222313234
2114141123112414212113344
2011 Apr 12
0
cross-validation complex model AUC Nagelkerke R squared code
Hi there,
I really tried hard to understand and find my own solution, but now I
think I have to ask for your help.
I already developed some script code for my problem but I doubt that it
is correct.
I have the following problem:
Image you develop a logistic regression model with a binary outcome Y
(0/1) with possible preditors (X1,X2,X3......). The development of the
final model would be
2008 Jul 17
1
Comparing differences in AUC from 2 different models
Hi,
I would like to compare differences in AUC from 2 different models, glm and gam for predicting presence / absence. I know that in theory the model with a higher AUC is better, but what I am interested in is if statistically the increase in AUC from the glm model to the gam model is significant. I also read quite extensive discussions on the list about ROC and AUC but I still didn't find
2012 May 28
0
GLMNET AUC vs. MSE
Hello -
I am using glmnet to generate a model for multiple cohorts i. For each i, I
run 5 separate models, each with a different x variable. I want to compare
the fit statistic for each i and x combination.
When I use auc, the output is in some cases is < .5 (.49). In addition, if
I compare mean MSE (with upper and lower bounds) ... there is no difference
across my various x variables, but
2011 Jun 20
0
AUC calculated from Epi package
Hi, I have a dataset (see attached) with 2 variables "Y" is binary, "x" is a
continuous variable. I want to calculate area under the curve (AUC) for the ROC
curve, but I got different AUC values using ROC() from Epi package vs.
rcorr.cens() from rms package:
test<-read.table("test.txt",sep='\t',header=T,row.names=NULL)
y<-test$y
x<-test$x