normal_outcome function

Parameters for treatment and control in normal case

Parameters for treatment and control in normal case

Wrapper function for mean and standard deviation with normal outcome.

normal_outcome( mu_control = NULL, sd_control = NULL, mu_treatment = NULL, sd_treatment = NULL, data = NULL )

Arguments

  • mu_control: numeric. The mean for the control group.
  • sd_control: numeric. The standard deviation for the control group.
  • mu_treatment: numeric. The mean for the treatment group.
  • sd_treatment: numeric. The standard deviation for the treatment group.
  • data: NULL. stores the proportion of control and treatment, please do not fill it in.

Returns

a list with proportion of control and treatment group.

Examples

normal_outcome(mu_control = 12, mu_treatment = 8, sd_treatment = 2.2, sd_control = 1.6)