Description Details Fields Methods See Also
A reference class to represent difference between twin1 and twin2
Difft are calculated depending on the favorable outcome chosen. It is the second level of the outcome. For example, if the outcome is 0 and 1, the favorable outcome is 1. Then,
difft_i = twin1_i - twin2_i if T_i = 1
difft_i = twin2_i - twin1_i if T_i = 0
. So absolute method is :
P(Y = 1 | T = 1) - P(Y = 1 | T =0)
So relative method is :
P(Y = 1 | T = 1)/P(Y = 1 | T =0)
So absolute method is :
logit(P(Y = 1 | T = 1)) - logit(P(Y = 1 | T =0))
vt.objectVT.object (refClass) representing data
twin1vector of E(Y|T = real treatment)
twin2vector of E(Y|T = another treatment)
methodMethod available to compute difft : c("absolute", "relative", "logit"). Absolute is default value. See details.
difftvector of difference between twin1 and twin2
computeDifft()Compute difference between twin1 and twin2. See details.
VT.forest, VT.forest.one,
VT.forest.double
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.