treatment_effect {RobinCID} | R Documentation |
Treatment Effect
Description
Obtain treatment effect and variance from counter-factual prediction
Usage
treatment_effect(object, pair, eff_measure, eff_jacobian, alpha, ...)
difference(object, ...)
risk_ratio(object, ...)
odds_ratio(object, ...)
Arguments
object |
Object from which to obtain treatment effect. Must be obtained from |
pair |
( |
eff_measure |
( |
eff_jacobian |
( |
alpha |
Nominal level |
... |
Additional arguments passed to |
Value
A list of treatment_effect
object with following elements:
-
mm_name
: name of the treatments to compare. -
marginal_mean
: estimate of the treatment effect. -
mmvariance
: estimate of the covariance matrix. -
trt_effect
: estimate of the contrast. -
variance
: estimate of the variance of contrast. -
contrast
: name of the contrast function. -
settings
: estimation settings.
[Package RobinCID version 1.0.0 Index]