Description Usage Arguments Details Value References See Also Examples

View source: R/511.Error-Failure_LimitBased_ADJ_All.R

Calculates error, long term power and pass/fail criteria for adjusted Likelihood Ratio method

1 | ```
errALR(n, alp, h, phi, f)
``` |

`n` |
- Number of trials |

`alp` |
- Alpha value (significance level required) |

`h` |
- Adding factor |

`phi` |
- Null hypothesis value |

`f` |
- Failure criterion |

Evaluation of adjusted Likelihood ratio limits using error due to the
difference of achieved and nominal level of significance for the *n + 1* intervals

A dataframe with

`delalp` |
Delta-alpha is the increase of the nominal error with respect to real error |

`theta` |
Long term power of the test |

`Fail_Pass` |
Fail/pass based on the input f criterion |

[1] 2014 Martin Andres, A. and Alvarez Hernandez, M. Two-tailed asymptotic inferences for a proportion. Journal of Applied Statistics, 41, 7, 1516-1529

Other Error for adjusted methods: `PloterrAAS`

,
`PloterrAAll`

, `PloterrALR`

,
`PloterrALT`

, `PloterrASC`

,
`PloterrATW`

, `PloterrAWD`

,
`errAAS`

, `errAAll`

,
`errALT`

, `errASC`

,
`errATW`

, `errAWD`

1 2 | ```
n=20; alp=0.05; h=2;phi=0.99; f=-2
errALR(n,alp,h,phi,f)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.