Description Usage Arguments Value
View source: R/data_generation_functions.R
Obtains one-sided p-value from chi-square test.
1 | compute_p_value(n, event_sim_exp, event_sim_contr)
|
n |
size of both exposed and control group. |
event_sim_exp |
Simuated number of events in exposed group. |
event_sim_contr |
Simulated number of events in control-group. |
Returns one sided p-value from chi-square test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.