ProbAccept {bpAcc} | R Documentation |

## Probability of device acceptance - AANSI/AAMI-SP10 standard.

### Description

Probability of device acceptance - AANSI/AAMI-SP10 standard.

### Usage

```
ProbAccept(n, mu, sd, ptolerror = 0.85,
distribution = "normal",
criteria = "SP10:2006",
simulate = FALSE, sim.count = 1e4,
noshow = FALSE)
```

### Arguments

`n` |
Sample size (evaluated people, as defined by Chandel et al. (2022)). |

`mu` , `sd` |
mean and standar deviation of the average errors distribution (normal). |

`ptolerror` |
Probability of tolerable error. Default is 0.85 |

`distribution` |
Underlying distribution the errors |

`criteria` |
SP10 criteria used. |

`simulate` |
Logical. If |

`sim.count` |
Integer, positive. Number of samples taken from normal distribution to estimate the probability of accepting the device. |

`noshow` |
Logical. If |

### Details

Computes the *acceptance probability* of a device D for
blood pressure measuring under the ANSI/AAMI-SP10 standards
for a size-`n`

sample of average errors from a normal
distribution with mean `mu`

and stadard deviation `sd`

.
The probability of tolerable error is set to 0.85, by default.
A *tolerable error*, according to the ANSI/AAMI-SP10,
is a an error of 10mmHg or
less on a single person, using the average of that person's readings.

Fuller details in Chandel, et al. (2022).
The paper outlines the mathematical and
statistical aspects behind `ProbAccept`

. Two random variables
are involved: the sample standard deviation and a transformation
of the sample mean, resulting in a double integral
over a two-dimensional region.

### Value

It returns the probability of accepting the device (either simulated or exact).

### Author(s)

Tanvi Chandel, Tet-Chuan Lee, Andrew Lowe, Victor Miranda.

### References

Chandel, T. and Lee, TC. and Lowe, A. and Miranda, V. (2022)
Blood Pressure Device Accuracy Evaluation: Statistical
Considerations with an Implementarion in R,
*Statistical Methods in Medical Research* (under review).

### See Also

### Examples

```
## Probability of accepting a device with bias (mu) = 5, and true standard
## deviation = 5.
ProbAccept(n = 85, mu = 5, sd = 5, ptolerror = 0.85)
## Probability of accepting a device with bias (mu) = 5, and true standard
## deviation = 7.
ProbAccept(n = 85, mu = 5, sd = 7, ptolerror = 0.85)
```

*bpAcc*version 0.0-2 Index]