Skip to content

/ vs : operators in model specifications

2 messages · Martin Eklund, Douglas Bates

#
On Mon, Mar 3, 2008 at 4:21 PM, Martin Eklund
<martin.eklund at farmbio.uu.se> wrote:
They should be the same provided that the levels of B are not
implicitly nested in the levels of A, which is what you indicated
would be the case.

The specification (1|A) + (1|A/B) is redundant as (1|A/B) expands to
(1|A) + (1|A:B) so (iii) could be written as

lmer(Y ~ 1|A/B)
Unfortunately, no, there is no convenient way of specifying an
arbitrary prior for the mcmcsamp function.  To make it practical to
use that function routinely, the sampling scheme is hard-wired into
compiled code and based upon having an improper, locally uniform prior
on the fixed effects and improper, locally uniform priors on the
logarithms of the variance components.