Computes how much variable correlations need to be adjusted so that they have the desired correlation structure after transformation. Intended for internal use only.
compute_adjustment(
r.x1.y,
r.x2.y,
r.x1x2.y,
r.x1.x2,
N.adjustment = 1e+06,
tol = 0.005,
iter = 10,
k.x1,
k.x2,
k.y
)
Correlation adjustments.
Internal use only
Internal use only
Internal use only
Internal use only
Internal use only
Internal use only
Internal use only
Internal use only
Internal use only
Internal use only
# \donttest{
compute_adjustment(r.x1.y = .2,r.x2.y = .2,r.x1x2.y = .1,r.x1.x2 = .2,
k.x1 = 0,k.x2=0,k.y=2)
# }
Run the code above in your browser using DataLab