calc_pvalue | R Documentation |
compute Monte Carlo p-value with correction based on formula from Page 158 of 'Bootstrap methods and their application' By Davison & Hinkley 1997
calc_pvalue(vctr, test_stat)
vctr |
vector of statistics |
test_stat |
the test statistic |
the number of observations in vctr
that are greater than
test_stat
divided by the number of observations in vctr
Kelly Sovacool sovacool@umich.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.