Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: GLLAMM


From   "arosella" <[email protected]>
To   [email protected]
Subject   RE: st: GLLAMM
Date   Wed, 17 Feb 2010 16:47:54 +0100

 Thanks a lot for Marteen, Nick ans Stas.

Alberto R. Osella
Laboratorio di Epidemiologia e Biostatistica
IRCCS Saverio de Bellis
Via Turi, 27
70013 Castellana Grotte (BA)
Italia
tel: +39 0804994655
fax: +39 0804994650
e-mail: [email protected]



Da: [email protected]
A: "stata list" [email protected]
Cc:
Data: Tue, 16 Feb 2010 17:55:43 +0000 (GMT)
Oggetto: RE: st: GLLAMM


> --- Alberto R. Osella wrote:
> > I'm trying to fit a GLLAMM to data but there are
> > problems with the convergence.
>
> Could be many things. One thing that struck me was the
> line: -gen lvita = log(vita+0.001)- in your code. This
> can very easily turn your zeros in big outliers, which
> can cause trouble with convergence. For example in the
> example code below you can see that the zeros are put
> way outside the normal range of the data.
>
> *----------- begin example -------------
> sysuse nlsw88, clear
> gen ln_tenure = ln(tenure + .001)
> spikeplot ln_tenure
> *------------ end example --------------
>
> Hope this helps,
> Maarten
>
> PS. formatted text (rich text, xml, html) don't format
> well on the list. Your message looks for example like:
> archives/statalist.1002/date/article-721.html> For that
> reason the Statalist FAQ askes everyone to post their
> messages as plain text. See number of 4 of:
>
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
> http://www.maartenbuis.nl
> --------------------------
>
>
>
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index