proc-r-package Questions
1
Solved
After ROC analysis of a set of data, how to calculate p-value? With the same statistics, I saw that the p-value can be output in SPSS.
The sample code is as follows:
library(pROC)
data(aSAH)
head...
Loreanloredana asked 25/5, 2020 at 7:12
2
Solved
I have a dataframe with two columns : score1 which is numeric and truth1 which is boolean.
I want to predict truth1 using score1. To do that, I want a simple linear model, and then ask for a good t...
Josephina asked 14/10, 2015 at 12:39
3
I want to draw ROC curves with pRoC.
However for some reason there is extra empty space on either side of the x-axis and I cannot remove it with xlim. Some example code:
library(pROC)
n = c(4, 3, ...
Tremml asked 5/2, 2017 at 22:19
2
Solved
I am using the following code to plot the ROC curve after having run the logistic regression.
fit1 <- glm(formula=GB160M3~Behvscore, data=eflscr,family="binomial", na.action = na.exclude)
prob...
Humiliating asked 9/12, 2016 at 9:17
1
Solved
I want to create a roc object by using the function 'roc' of pROC package in R, and plot the roc object. However, I am uncertain what the 'direction' argument does. the median predictor values of m...
Kithara asked 31/7, 2015 at 23:34
3
Solved
When I use multiclass.roc function in R (pROC package), for instance, I trained a data set by random forest, here is my code:
# randomForest & pROC packages should be installed:
# install.pack...
Sweetheart asked 11/12, 2013 at 10:29
1
© 2022 - 2024 — McMap. All rights reserved.