get_v {cprobit} | R Documentation |
Inpernal function: compute difference in the (transformed) outcome
get_v(y1, y2, lambda = NA, scaled = TRUE)
y1 |
Numeric vector of the observed outcome at observation time 1. |
y2 |
Numeric vector of the observed outcome at observation time 2. |
lambda |
The Box-Cox transformation parameter. Default is |
scaled |
Whether the difference in the transformed outomes should be scaled by the Jacobian. |
Returns the difference in the observed outcomes if lambda =
NA
, or the difference in the scaled transformed outcomes with
transformation parameter lambda
.