On Mon, 2013-08-19 at 11:24 -0700, Alex wrote:
> 1) Is there a way to define the scaling within the f(), or a simple
> f(scale(x), model="rw2") is enough? it does scale the
> precision/variable, but just in case there is an option within the f()
> or in case there is a difference.
The experimental new option 'scale.model' would scale the RW2 model so
that the 'generalized variance' is 1 (geometric mean of the variances
from the proper part of the model). In this way
f(idx, model="rw2", scale.model=TRUE)
would give the same results using
idx = 1:n
idx = n*(1:n)
idx = (1:n)/n
assuming no numerical difficulties arise. However, the main issue is to
be able to set meaningful priors, or to set priors in the controlled
way.
More info about this will come, soon, we hope.
> 2) To calculate the (eg median) linear predictor for a new observation
> (when the covariate is rw2) is it enough to cut the variable
> according
Maybe just add
control.predictor = list(compute = TRUE)
to get the posterior of the linear predictor, and if you want a certain
configuration of the covariates, include that in the model with a NA
reponse.