Compute the mle of the non-centrality parameter of a chi-square test-statistic conditional on selection
1 2 | chisq_conditional_ncp_mle(x, df, pval_threshold = 0.05, threshold = NULL,
normalize = FALSE)
|
x |
the observed value |
df |
the degrees of freedom |
pval_threshold |
the pvalue corresponding to the chisq-statistic (under the null) must be below this value to be observed. |
threshold |
an alternative way to specify the selection threshold. If specificed,
then the selection rule is assumed to be #' @param normalize whether to report the non-centrality parameter per degree of freedom |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.