compute_ncp | R Documentation |
A helper function for mrt_binary_power() and mrt_binary_ss().
compute_ncp(x, beta, m_matrix, sigma_matrix)
x |
Sample size |
beta |
Marginal excursion effect, assumed dimension p |
m_matrix |
"Bread" of sandwich estimator for variance |
sigma_matrix |
"Meat" of sandwich estimator for variance |
Returns non-centrality parameter for an F distributed random variable.
compute_ncp(300, beta_1, m_matrix_1, sigma_matrix_1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.