rwe_ps_cl2arm: PS-Integrated Composite Likelihood Estimation for Randomized...

Description Usage Arguments Value

View source: R/psrwe_complikel.R

Description

Estimate the treatment effect based on PS-integrated composite likelihood approach. Subjects from the external data source augment an arm, usually the control arm.

Usage

1
2
3
4
5
6
7
rwe_ps_cl2arm(
  data_withps,
  v_arm = "Arm",
  trt_arm_level = 1,
  total_borrow = 0,
  ...
)

Arguments

data_withps

A class RWE_DWITHPS list. See rwe_ps.

v_arm

Column name corresponding treatment vs. control. Ignored for single arm studies. two-arm randomized studies.

trt_arm_level

Arm level for the treatment arm. Ignored for single-arm studies.

total_borrow

Total number of subjects to be borrowed

...

Parameters for rwe_ps_cl

Value

A list with estimated treatment effect and the variance, as well as the estimated mean for the treatment and control arms


psrwe documentation built on April 16, 2021, 9:07 a.m.