compute_statistics | R Documentation |
Compute Power, Type I Error, or Precision Statistics
compute_statistics(
data,
sim_args,
power = TRUE,
type_1_error = TRUE,
precision = TRUE,
alternative_power = FALSE,
type_s_error = FALSE,
type_m_error = FALSE
)
data |
A list of model results generated by |
sim_args |
A named list with special model formula syntax. See details and examples for more information. The named list may contain the following:
|
power |
TRUE/FALSE flag indicating whether power should be computed. Defaults to TRUE. |
type_1_error |
TRUE/FALSE flag indicating whether type I error rate should be computed. Defaults to TRUE. |
precision |
TRUE/FALSE flag indicating whether precision should be computed. Defaults to TRUE. |
alternative_power |
TRUE/FALSE flag indicating whether alternative power estimates should be computed. If TRUE, this must be accompanied by thresholds specified within the power simulation arguments. Defaults to FALSE. |
type_s_error |
TRUE/FALSE flag indicating whether Type S error should be computed. Defaults to FALSE. |
type_m_error |
TRUE/FALSE flag indicating whether Type M error should be computed. Defaults to FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.