summary.PSRWE_DTA | R Documentation |
Get number of subjects and the distances of PS distributions for each PS stratum.
## S3 method for class 'PSRWE_DTA'
summary(
object,
metric = c("ovl", "ksd", "std", "abd", "ley", "mhb", "omkss"),
min_n0 = 10,
...
)
object |
A list of class |
metric |
Metric to use for calculating the distance with options:
(default)
|
min_n0 |
threshold for number of external subjects, below which the external data in the current stratum will be ignored by setting the PS distance to 0. Default value 10. |
... |
Additional parameters. |
A list with columns:
A data frame with Stratum, number of subjects in RWD, current study, number of subjects in control and treatment arms for RCT studies, and distance in PS distributions.
A data frame with overall number of not-trimmed subjects in RWD, number of patients in current study, number of subjects in control and treatment arms for RCT studies, and distance in PS distributions.
Vector of total number of total RWD patients, number of trimmed RWD patients, and total number of current study patients.
PS model.
Metric used for calculating the distance.
data(ex_dta)
dta_ps <- psrwe_est(ex_dta,
v_covs = paste("V", 1:7, sep = ""),
v_grp = "Group",
cur_grp_level = "current")
dta_ps
## With different similarity metric
print(dta_ps, metric = "omkss")
dta_ps_sum <- summary(dta_ps, metric = "omkss")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.