| psrwe_outana | R Documentation |
Outcome Analysis for PS-Integrated Estimation
Report outcome analysis for the PS-integrated approach.
psrwe_outana(
dta_psrst,
method_ci = c("wald", "wilson"),
conf_type = c("log_log", "plain"),
conf_int = 0.95,
alternative = c("less", "greater"),
mu = 0,
...
)
dta_psrst |
a returned object with class |
method_ci |
a method name for confidence interval (default Wald) |
conf_type |
a type name of transformation for the confidence interal of PSKM approach (default log_log) |
conf_int |
a two-sided level of confidence/credible limits (default 0.95) |
alternative |
a character string for the alternative hypothesis that
must be one of |
mu |
a number indicating the true value of the parameter of interest (or the difference in means for two arms) |
... |
other options |
This function is mainly for summarizing and reporting the
outcome analysis for the PS-integrated estimation.
The input dta_psrst can be generated from the functions
psrwe_powerp, psrwe_compl, and
psrwe_survkm.
See the functions psrwe_ci and psrwe_infer
for the options of outcome analyses.
A list with class name PSRWE_EST_OUTANA.
data(ex_dta)
dta_ps <- psrwe_est(ex_dta,
v_covs = paste("V", 1:7, sep = ""),
v_grp = "Group",
cur_grp_level = "current")
ps_borrow <- psrwe_borrow(total_borrow = 30, dta_ps)
ps_rst <- psrwe_compl(ps_borrow, v_outcome = "Y_Con")
rst <- psrwe_outana(ps_rst)
rst
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.