Am 10.04.2026 um 17:44 schrieb Riccardo (Jack) Lucchetti:
On 10/04/2026 07:53, Ramki S wrote:
> Hi,
>
> I am trying to replicate the results of an interesting paper by John
> antonakis. And they estimated a few models with mixed command of
> stata. Do we have ML estimator to replicate models 7 and 8.
Estimation of generic hierarchical linear models, like the ones the
stata "mixed" command handles, is not currently available in gretl. It
would be nice if somebody familiar with the literature wrote a
function package for this.
From what I know, all the essential ingredients are already there
(matrix algebra functions, numerical optimisation). I am not in the
position of even attempting this yet, but I can help anybody who feels
like trying.
Or this might be a case where a wrapper around an existing R package
could be more promising. Similar to the random forest approach.
I certainly don't want to stop anybody from contributing a hansl-based
package, but I'm a bit skeptical in the short run.
cheers
sven