AltReg( data, linked = FALSE, IxR = linked, MxI = TRUE, varMxI = FALSE, eps = 0.001, maxiter = 50, trace = FALSE, sd.lim = 0.01, Transform = NULL, trans.tol = 1e-6 )Meth object)
i.e. it must have columns meth, item, repl and yitem by repl is included in the model,
otherwise not.TRUE iteration number, convergence criterion and current
estimates of means and sds are printed.sd.lim are
disregarded in the evaluation of convergence. See details.choose.trans.Transform is a list of two functions.c("MethComp","AltReg"), which is a list with three
elements:
ys). This is needed for plotting purposes.trans and inv,
both of which are functions, the first the transform, the last the inverse.
If only two methods are compared, it is not possible to separate different
variances of the MxI effect, and hence the varMxI is ignored in this
case.
The model fitted is formulated as:
$$y_{mir} = \alpha_m + \beta_m(\mu_i+a_{ir} + c_{mi}) +
e_{mir}$$
and the relevant parameters to report are the estimates sds of
$a_{ir}$ and $c_{mi}$ multiplied with the corresonidng
$beta_m$. Therefore, different values of the variances for MxI
and IxR are reported also when varMxI==FALSE. Note that
varMxI==FALSE is the default and that this is the opposite of the
default in BA.est.
BA.est, DA.reg, Meth.sim, MethComp
data( ox )
ox <- Meth( ox )
## Not run:
# ox.AR <- AltReg( ox, linked=TRUE, trace=TRUE, Transform="pctlogit" )
# str( ox.AR )
# ox.AR
# # plot the resulting conversion between methods
# plot(ox.AR,pl.type="conv",axlim=c(20,100),points=TRUE,xaxs="i",yaxs="i",pch=16)
# # - or the rotated plot
# plot(ox.AR,pl.type="BA",axlim=c(20,100),points=TRUE,xaxs="i",yaxs="i",pch=16) ## End(Not run)
Run the code above in your browser using DataLab