Skip to content
Prev 8760 / 20628 Next

two questions about clmm

Dear Malcolm
On 3 August 2012 19:11, Malcolm Fairbrother <m.fairbrother at bristol.ac.uk> wrote:
It makes very good sense, but different computational strategies make
different specifications more natural.

In a binomial glm there are basically three ways to specify the data:
1) binary trials with one row for each trial, 2) binary trials with
with a row for each unique covariate setting and a weight indicating
the number of times this trial/setting was observed, and, 3) as a
two-column matrix with the number of successes and failures in each
row for each covariate setting.

All three structures extend to the ordered multinomial situation, but
clm and clmm only work with the first 2 due to the way the internal
computations are carried out. As briefly mentioned in this vignette
(http://www.cran.r-project.org/web/packages/ordinal/vignettes/clm_intro.pdf)
on page 10-11, setting up the data as in 2) is much more efficient
than in 1). Other packages like VGAM work with the matrix
representation of the multinomial response as in 3), and uses an
iterated weighted least squares estimation scheme somewhat different
from the Newton-Raphson scheme employed in clm and clmm.
Not currently, though that may change at some point.

Cheers,
Rune