Description Usage Arguments Details Value See Also Examples

View source: R/225.CoverageProb_GENERAL_SIMULATEDp.R

Coverage Probability using simulation Coverage probability for CI obtained from any method over the space [0, 1]

1 | ```
covpSIM(n, LL, UL, alp, s, a, b, t1, t2)
``` |

`n` |
- Number of trials |

`LL` |
- Lower limit |

`UL` |
- Upper limit |

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

`s` |
- Number of hypothetical "p" |

`a` |
- Beta parameters for hypo "p" |

`b` |
- Beta parameters for hypo "p" |

`t1` |
- Lower tolerance limit to check the spread of coverage Probability |

`t2` |
- Upper tolerance limit to check the spread of coverage Probability |

Evaluation of intervals obtained from any method using coverage probability,
root mean square statistic, and the proportion of proportion lies within the desired
level of coverage for the *n + 1* intervals and pre-defined space for the parameter
`p`

using Monte Carle simulation

A dataframe with

`mcp` |
Mean Coverage Probability |

`micp ` |
Minimum coverage probability |

`RMSE_N ` |
Root Mean Square Error from nominal size |

`RMSE_M ` |
Root Mean Square Error for Mean Coverage Probability |

`RMSE_MI ` |
Root Mean Square Error for minimum coverage probability |

`tol ` |
Required tolerance for coverage probability |

Other Simulated methods for coverage probability: `PlotcovpSIM`

1 2 3 4 |

```
mcp micp RMSE_N RMSE_M RMSE_MI tol
1 0.9782681 0.9313991 0.03342816 0.01784255 0.05015034 25.6
```

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.