Description Usage Arguments Value
View source: R/fn_compute_ystst.R
Compute y** Computes y** from a proposed y* value
1 2 3 4 5 6 7 8 9 | fn.comp.ystst(
yst,
X,
l1obs,
s1obs,
psi = psi.huber,
scale.est = "Huber",
maxit = 400
)
|
yst |
data vector to be transformed to ystst satisfying the observed summary statistics |
X |
design matrix |
l1obs, |
s1obs: observed statsitics |
maxit |
number of iterations to find T(yst) |
psi: |
psi function returning psi(x)/x or psi'(x). default is psi.huber from MASS |
scale.est: |
defines the scale estimator. Currently supports only 'Huber' |
ystst a data vector such that T(ystst)=T(y_obs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.