Hi everyone,

I am practising using the adaptive quadrature to programme the (log-) likelihood function of the multilevel regression, and I got two questions.

First, is there any good source code example for me to learn? For instance, could it be possible to see the source code of the likelihood function of melogit (especially the quadrature part)?

Second, I read a Stata Journal article of Rabe-Hesketh, Skrondal and Pickles (2002, vol.2, no.1): "Reliable estimation of generalized linear mixed models using adaptive quadrature." Below are Figures 1 and 2 of the article. I mark some texts in red, and I wonder whether they are typos? I may be wrong, and if so, could anyone explain to me or give me some hints about what I misunderstand? Thanks a lot.


Array