Skip to content
Prev 45 / 176 Next

[R--gR] Modelformulae

A few comments - just to clear my mind.
Steffen Lauritzen wrote:

            
Are we limiting the discussion to the Conditionally Gaussian(CG) case 
with independent and identically distributed observations?
That would make life much more easy and clearly rule out X*Y*Z between 
continuous variables.
And I have no problem with interpreting "~" as "log f ~" as long as we 
are careful to include quadratic terms of  continuos variables.
But it also rules out things like ~Z+log(X)  and is far from having the 
same flexibility as the BUGS syntax.
We might allow ~Z*(Z+log(X))|X  and thereby leaving CG, but sticking to 
gaussian error.

If we want a more general BUGS/glim-like syntax, we need to consider,
how to include information on link and errordistribution. And it would 
be nice
to facilitate correlation across unit, e.g. by allowing ~X*B(X)|B(X), 
where B is the backshift operator.

Regards, svante