Description Usage Arguments Value Examples
This function returns the scqe estimates and confidence intervals for the 2 cohort case when the user inputs only summary statistics.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | scqe.2csumm(
untr_pre,
untr_post,
tr_post,
tr_pre,
Y_tr_post,
Y_untr_post,
Y_tr_pre,
Y_untr_pre,
min_delta,
max_delta,
delta,
alpha = 0.05,
...
)
|
untr_pre |
Integer number of untreated patients in the first cohort if applicable (summary statistics input) (T=0). |
untr_post |
Integer number of untreated patients in the second cohort if applicable (summary statistics input) (T=1). |
tr_post |
Integer number of treated patients in the second cohort if applicable (summary statistics input) (T=1). |
tr_pre |
Integer number of treated patients in the first cohort if applicable (summary statistics input) (T=0). |
Y_tr_post |
Outcome for patients who received treatment at time T=1 (summary statistics input). |
Y_untr_post |
Outcome for patients who did not receive treatment at time T=1 (summary statistics input). |
Y_tr_pre |
Outcome for patients who did receive treatment at time T=0 (summary statistics input). |
Y_untr_pre |
Outcome for patients who did not receive treatment at time T=0 (summary statistics input). |
min_delta |
Minimum delta. Optional, not used if |
max_delta |
Maximum delta. Optional, not used if |
delta |
Numeric scalar or numeric vector of possible values for change in average non-treatment outcome between cohorts (if applicable). |
alpha |
Numeric alpha for confidence interval (default is alpha=.05). |
... |
Extra optional arguments. |
scqe object of class "scqe." Returns results table for the 2 cohort, summary statistics case.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.