Comments (3)
Thanks for your report!
The Obuchowski (2004) paper describes one-sided tests, in which case pROC returns the expected results:
> power.roc.test(auc=0.7, sig.level=0.05, power=0.9, kappa=1.0, alternative="one.sided")
One ROC curve power calculation
ncases = 32.65397
ncontrols = 32.65397
auc = 0.7
sig.level = 0.05
power = 0.9
However you are right this is looking weird. I will look into it.
from proc.
This is now fixed for the one ROC curve case. Note that resulting values are unchanged and were correct already.
I still need to look into it for the two ROC curves case, where the same mistake apparently occurs.
from proc.
Fixed in the 2 ROC curves and list of parameters cases too. It was a good occasion to cleanup the code at the same time.
Again, no difference in the output. But clearer, and more appropriate use of the distributions.
Thanks again for reporting this inconsistency and helping make pROC better.
from proc.
Related Issues (20)
- DeLong test with the same ROC curve crashes R HOT 2
- Print issue of roc-class object when a formula object is used for creating roc. HOT 4
- likelihood ratios (and associated CIs) from pROC HOT 2
- OutDec options HOT 5
- pRoc does not react on options(OutDec=",") in plot() HOT 1
- not enough details in coord() "best" method HOT 3
- ggroc.list parameter legacy.axes break HOT 2
- One-sided CIs for AUCs HOT 2
- Averaging 10 ROC curves HOT 4
- How to print the threshold without specificity and sensitivity HOT 2
- Cannot create a roc curve with a formula and a with clause HOT 2
- CRAN submission failed with new message Apparent methods for exported generics not registered
- Fix warning: `aes_string()` was deprecated in ggplot2 3.0.0 HOT 1
- Move aes_string() to aes() HOT 1
- Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0. HOT 1
- The `path` argument of `expect_doppelganger()` is deprecated as of vdiffr 1.0.0. HOT 1
- Uncaught warnings in tests HOT 1
- Support for spaces in column names with formula
- A non-monotonic ROC is being produced by ggroc HOT 2
- Error in delongPlacementsCpp(roc) : function 'Rcpp_precious_remove' not provided by package 'Rcpp' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proc.