Description Usage Arguments Value
Compute the estimate of the weighted mean parameter based on estimated PMF in each treatment arm.
1 2 3 4 5 6 7 8 9 | estimate_wmean(
pmf_est,
treat,
out,
out_levels,
out_weights,
treat_prob_est,
return_cov = TRUE
)
|
pmf_est |
List of treatment-specific PMF estimates. |
treat |
A |
out |
A |
out_levels |
A |
out_weights |
A vector of |
treat_prob_est |
Estimated probability of treatments, output from call
to |
return_cov |
If |
List with estimates of treatment-specific means and difference in means.
If return_cov = TRUE
, also includes covariance matrix estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.