Description Usage Arguments Details Value Author(s) References See Also Examples

Returns the P-value associated with a root-mean-square test.

1 | ```
rms.pval(observed, expected, num_sim= 1000)
``` |

`observed` |
The observed data |

`expected` |
The expected data |

`num_sim` |
Number of Monte-Carlo simulations desired. The default is 1,000 simulations. |

This function calls on test.rms() to calculate the root-mean-square test statistic before calculating the P-value using Monte-Carlo simulation.

Returns the P-value associated with the root-mean-square test.

Shubhodeep Mukherji <[email protected]>

"Chi-square and classical exact tests often wildly misreport significance; the remedy lies in computers," by Will Perkins, Mark Tygert, and Rachel Ward.

1 2 3 4 5 6 7 8 9 10 11 |

rms.gof documentation built on May 29, 2017, 8:35 p.m.

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.