Questions tagged [false-positive-rate]

In a test for a condition (such as a disease) the false positive rate is the proportion of subjects incorrectly classified as having the condition.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Plot the precision against the False Positive Rate?

When evaluating binary classifiers, practitioners plot: the ROC curve (recall vs False Positive Rate) the PR curve (precision vs recall) There is obviously a third possibility: plot the precision ...
user avatar
  • 869
0 votes
0 answers
16 views

Does contamination in the training dataset change the distribution of the predicted probability of the model?

While using a not regularized loss function, oversampled simply binary classification dataset, I observed that whenever I am adding correctly classified examples, there is no change in the ...
user avatar
  • 21
1 vote
0 answers
20 views

Does threshold on the model probability depend upon the spread in the dataset among positive and negative classes (binary classification)?

I think that the threshold on model probability through which one discern positive (y=0) and negative(y=1) class depends on the spread in the training dataset b/w y=0 and y=1. This question came when ...
user avatar
  • 21
3 votes
1 answer
40 views

why I am getting TP and FP in confusion matrix is 0, how to get it right?

why I am getting TP and FP in confusion matrix is 0, how to get it right? tp = 0,fp = 0,tn = 9847,fn = 18
user avatar
0 votes
0 answers
19 views

Could we calculate the sensitivity and specificity when the test result of gold-standard is binary but the new test is 3-class classification?

Now we want to create a new test (Method A) to screen for a disease. In fact, there is a ‘gold-standard’ screening test for the disease (Method B). And the test result of gold-standard (Method B) is ...
user avatar
5 votes
2 answers
52 views

When using ROC curves for WWII Radars, what was the TN?

One of the origins of ROC curves seems to be to compare radar systems in WWII (source). How did they actually compute the False Positive Rate when they didn't have an estimate for True Negatives? If I ...
user avatar
  • 53
0 votes
1 answer
32 views

False and true positives in research

Let's suppose that there's a new apple tree disease, and there exists a test for the disease that has a false positive rate of 5%, the test produces no false negatives (if an apple tree has the ...
user avatar
  • 5
0 votes
0 answers
13 views

Likelihood of True Positive only from TPR and FPR

When preparing for an interview, I got the following question (on this medium link), Given a medical test produce a 1% False Positive rate (FPR), and the population True Positive Rate (TPR) is 5%, ...
user avatar
  • 103
2 votes
1 answer
230 views

Relationship between Recall, TPR, FPR and Precision

Can Precision and Recall be used to Generate TPR or FPR? In other words, is there any formula that relates the following Evaluation metrics? True Positive Rate (TPR) with either Precision or Recall (...
user avatar
  • 21
0 votes
0 answers
13 views

Display inverted ROC plot

my anomaly detection algorithm gave me an array of predictions where all the values greater than 0 should be of the positive class (= 0) and all the other should be classified as anomalies (= 1). I ...
user avatar
  • 115
0 votes
0 answers
37 views

Analytic expression for false-negative rate of binomial tests?

I wrote a previous question yesterday which was maybe too long and boring to read. So to try to get an answer, I've boiled down my question to something short and specific which is: Is there an ...
user avatar
6 votes
3 answers
312 views

How many coin flips are needed to reliably know a coin of weight w is unfair?

I want to find out how many flips I need to flip a coin to reliably know that it is an unfair coin. The issue is that as the coin becomes closer to 50/50, the more false-negatives you will have if you ...
user avatar
2 votes
1 answer
66 views

Is Partial Correlation useful for noisy data?

Explaining The Problem Important question in data analysis is testing observed relationships for confounding factors. Partial Correlation is a metric designed to do specifically that. The general idea ...
user avatar
0 votes
0 answers
450 views

Reduce false positive in extremely high imbalance testing set

I have built a CNN model to classify positive and negative in my data, the accuracy is around 85% with FPR is 16%. I know the FPR is high but it gives an acceptable number of FP in training and ...
user avatar
  • 1
2 votes
2 answers
116 views

ROC curve from an array of Confusion Matrices (true positive rates and false positive rates)

How can we create an ROC curve from an array of Confusion Matrices (true positive rates and false positive rates)?
user avatar
  • 1,126
8 votes
2 answers
6k views

Best way to reduce false positive of binary classification to exactly 0?

I'm working on a task that even a 0.00001 fp rate is not acceptable, because detecting something as a positive when its not will have very bad consequences in this task, so it needs to be exactly 0 ...
user avatar
2 votes
1 answer
147 views

Formula for expected false positive & negative rates in hiring decisions based on r

I would like to look at the size of the expected false positive and false negative rates in employment hiring decisions. Let's assume that it is useful to dichotomize job performance after hiring. ...
user avatar
  • 3,026
3 votes
2 answers
219 views

Does up-sampling lead to lots of false positives in production?

Say we have a dataset with a binary outcome variable that takes the positive case (outcome = 1) roughly 20% of the time. Often, we would modify the training set by ...
user avatar
1 vote
0 answers
23 views

Sensitivity and specificity with multiple sequential tests

This has been on my mind for a while, and I would appreciate a statistician's view on the matter. Suppose that a given test has sensitivity $a$ and specificity $b$. Now, periodically apply this test ...
user avatar
3 votes
1 answer
84 views

Estimating positive and negative predictive value without knowing the prevalence

There is a lot of discussion about the positive predictive value of a test currently. I know that if I know specificity, sensitivity of a test and the prevalence $p$ in the sample, then I can easily ...
user avatar
  • 2,339
0 votes
0 answers
55 views

Correlation between two non-independent samples (dichotomized data / multiple testing)

I've been looking through text books but unable to find a precise answer to this question, but it seems important so maybe I'm looking in wrong places. Imagine some population with a normal ...
user avatar
  • 217
0 votes
0 answers
37 views

How do you cope with the risk of false-positives in exploratory analysis?

Let's say that I'm running exploratory analysis on a dataset. For instance, let's say that the dataset consists of several features and two groups and I want to see which features are significantly ...
user avatar
2 votes
2 answers
66 views

Aren't all tests sensitive to the prevalence of a disease in the population?

I'm trying to understand the difference between the false-positive rates of two kinds of COVID-19 tests: PCR and antibody. The former indicates if someone is currently sick. The latter indicates if ...
user avatar
  • 161
0 votes
0 answers
532 views

How can I fix type 1 error for my logistic regression model?

I am testing if the sound pressure levels(rms) of shipping noise affect the presence or absence of the fin whales by acoustic monitoring for 4 months of data from one location. Here my response ...
user avatar
1 vote
1 answer
49 views

How to bias against false positives given estimate and standard deviation?

For 1000 newsletter recipients, I crudely estimate the likelihood (p) of them reading the next email sent as: ...
user avatar
  • 259
0 votes
1 answer
36 views

If a false positive rate of α is desired, what is the acceptable range of false positives one would expect from a sample size of n?

For instance, suppose I design a test to have a false positive rate of 5%. I am going to perform this test on what is assumed to be an all negative population. If my sample size was 20, I would expect ...
user avatar
  • 101
1 vote
0 answers
19 views

Procedure to Smooth Noise for Threshold Values

Suppose I am looking at an estimate $\hat\beta$ in a clinical trial data. With $a=.05$, a patient with $\hat\beta>1$ is considered to have some medical condition. A daily example could be a 24-hr ...
user avatar
2 votes
1 answer
527 views

Base rate of accuracy after resampling for classification problems

If I had an imbalanced dataset with 10% positive instances and 90% negative ones, the base rate for accuracy before resampling is 90%. But what about I resampled the data such that I have an equal ...
user avatar
1 vote
0 answers
77 views

Deriving a loss function properly accounting for different error type costs

Consider a classification setting like a medical test: Not finding an existing health issue might be much worse (by a factor of 50) than assuming an issue when there is none. I.e. a setting in which ...
user avatar
2 votes
1 answer
65 views

What is "positive"?

I'm deeply confused by some concepts. We often hear the term true/false positive/negative. While it is straightforward to tell if the result is true or false, I ...
user avatar
1 vote
2 answers
341 views

FPR in Confusion Matrix

I was trying to manually calculate $\text{TPR}$ and $\text{FPR}$ for the given data. But unfortunately I dont have any false positive cases in my dataset and even no true positive cases. So I am ...
user avatar
0 votes
0 answers
191 views

Oversampling/Undersampling in respect to Train and Test - Isolation Forest

I've got a quite imbalanced data set. 144.496 : 162 -> ratio of 1000:1 I would like to use IsolationForest to detect the 162 anomalys. I've already split the data. However, the iForest doesn't ...
user avatar
  • 1
1 vote
1 answer
342 views

False positive/negative rate in ridge and lasso regressions

I have a confusion matrix of true and estimated $\boldsymbol{\beta}$ vectors of lasso and ridge models from a replicate of a simulation study, say. The following tables illustrate the scenario. $$\...
user avatar
  • 263
0 votes
2 answers
117 views

How to make sense of both high FNR and NPV?

So, even though this is one of the most basic and already explained things about statistics I always seem to find way not to get it. Having this table which shows high Negative Predictive Value (352/...
user avatar
  • 1
1 vote
1 answer
132 views

SVM probability output threshold as (1 - FPR)?

I have a binary SVM with probability output (via Platt scaling). I want to set a threshold on the probability outputs since I want to trade off making false positives/negatives. Is it possible to ...
user avatar
  • 133
2 votes
0 answers
67 views

How to interpret a False Discovery Rate plot

It is the first time that I am trying to calculate the FDR and I use the fdrtool package in R. I want both, local and tail area graphs and I think the third ...
user avatar
  • 21
0 votes
0 answers
13 views

Estimating false accept rates from imposter scores below a threshold

I have a system that compares two items and produces a match score. Scores below a threshold are manually inspected to determine if they match or don't(imposter). Scores above the threshold are ...
user avatar
2 votes
1 answer
131 views

Is most published research indeed false?

I have come across (Ioannidis, 2005) which explains several reasons (mainly statistics-related, that's why I post this question here) to justify the claim that most published research is indeed false. ...
user avatar
  • 2,422
0 votes
1 answer
25 views

Optimal solution for false positive effect on business strategy

I am facing a challenge to reach an optimal solution. I will try to explain with an example : Suppose I have created an algorithm to predict if a customer will subscribe to bank deposit plan or not. ...
user avatar
  • 1
0 votes
1 answer
163 views

Is it possible to estimate accuracy, precision and recall with the given data?

Background: I talked to my friend today and according to herm(him/her) I can calculate precision, recall and accuracy with the current information. Total instances T: 19,532. Instances belonging to ...
user avatar
1 vote
0 answers
38 views

Exclude areas of feature space without getting false negatives

I am using a decision tree classifier to split the feature space according to two classes ( A and B). Events of class A are important and I want to classify all of them correct, i.e. no false ...
user avatar
  • 11
0 votes
0 answers
24 views

Estimating true positive rate with a confidence interval given a classifier + unknown dataset truths

Let's say I've built a binary classifier - one that for instance, can classify whether a particular transaction is fraudulent or not. This classifier outputs a 1 or a 0, with a given degree of ...
user avatar
  • 101
1 vote
2 answers
304 views

Is it the case that β+power=1?

In psychology papers that do prospective power analyses (example), one often notices the convention of assuming β values (false negative rates) of 0.20, and power levels of 0.80. In other words (if I ...
user avatar
  • 1,558
1 vote
0 answers
194 views

What is the integral of the False Positive Rate over the False Positive Rate, compared to the AUC?

In machine learning the Area Under the Receiver Operating Characteristic Curve ($AUC$) can be illustrated in a plot of the True Positive Rate ($TPR$) against the False Positive Rate ($FPR$). Formally, ...
user avatar
  • 21
1 vote
0 answers
56 views

How to make really bad results from a machine learning model better by reversing predictions

I trained a classification model on some data with two classes and have really low accuracy. I have a false-positive rate of 86 % for both classes I am trying to predict. I was wondering if I could ...
user avatar
3 votes
2 answers
249 views

Number of samples required to estimate a desired False Positive Rate

I have an algorithm that for each sample $x_i$ returns an anomaly score $0<s_i<1$. I use cross validation to set a threshold $th$ such that $x_i$ is anomalous if $s_i>th$. During cross ...
user avatar
  • 3,051
2 votes
1 answer
176 views

How to tell the likelihood of getting a false positive?

Say we have a test for a disease we are comparing with the gold standard. You are given the prevalence of the disease, which is 1%, and sensitivity, 80%, and specificity, 90% and a total population of ...
user avatar
0 votes
1 answer
33 views

How are false positives possible? Since shouldn't mathematical methods be "exact"?

That is, it's not possible to have true as false, but isn't that basically what a false positive or a false negative does? That it gives a prediction of a condition existing, when it does not? So how ...
user avatar
  • 3,187
30 votes
2 answers
21k views

FPR (false positive rate) vs FDR (false discovery rate)

The following quote comes from the famous research paper Statistical significance for genome wide studies by Storey & Tibshirani (2003): For example, a false positive rate of 5% means that on ...
user avatar
  • 365