calculate_diff_con.Rd
Derive mean difference and associated confidence intervals for continuous outcomes
calculate_diff_con(mean1, mean2, sd1, sd2, N1, N2, cl)
(numeric
)
Mean of measure in active treatment
(numeric
)
Mean of measure in comparator treatment
(numeric
)
Standard deviation of measure in active treatment
(numeric
)
Standard deviation of measure in comparator
treatment
(numeric
)
Total number of subjects in active treatment
(numeric
)
Total number of subjects in comparator treatment
(numeric
)
confidence level
calculate_diff_con(
mean1 = 0.6, mean2 = 0.5, sd1 = 0.1, sd2 = 0.3,
N1 = 400, N2 = 500, cl = 0.95
)
#> [2024-06-28 15:23:49] >
#> CI for treatment difference in continuous outcomes is calculated
#> diff se lower upper
#> 1 0.1 0.0156539 0.06927751 0.1307225