Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: gllapred


From   "Melanie Mogavero" <[email protected]>
To   [email protected]
Subject   Re: st: gllapred
Date   Sun, 6 Oct 2013 07:42:57 -0400

Hello,

i tried that already.   This is what I received back, so I know it was up
to date.

. which gllamm
c:\ado\plus\g\gllamm.ado
*! version 2.3.20 SRH 7 Sept 2011

. which gllapred
c:\ado\plus\g\gllapred.ado
*! version 2.3.8 SRH 7 Sept 2011

For some reason, I think the syntax I'm using is wrong.  If I have this
table, I want to predict the probability of each of these being in one of
5 classes.


----------------------------------------------------------------------------
             |      Coef.   Std. Err.      z    P>|z|     [95% Conf.
Interval]
-------------+--------------------------------------------------------------
y            |
_cons |   1.179411    .148032     7.97   0.000     .8892736    1.469549
-------------+--------------------------------------------------------------
gid1_1       |
 v1 |   12.73908   301.9391     0.04   0.966    -579.0506    604.5288
-------------+--------------------------------------------------------------
gid1_2       |
v2 |    .517605   .2123288     2.44   0.015     .1014483    .9337618
-------------+--------------------------------------------------------------
gid1_3       |
v3 |   .9378792   1.128164     0.83   0.406    -1.273281    3.149039
-------------+--------------------------------------------------------------
gid1_4       |
 v4 |  -.0000818     1.3152    -0.00   1.000    -2.577826    2.577663
-------------+--------------------------------------------------------------
gid1_2_1     |
cons |  -.0521808   .1833225    -0.28   0.776    -.4114862    .3071246
-------------+--------------------------------------------------------------
gid1_3_1     |
cons |   .4159653   .2535077     1.64   0.101    -.0809006    .9128312
-------------+--------------------------------------------------------------
gid1_3_2     |
cons |   1.376973   .5699765     2.42   0.016     .2598396    2.494106
-------------+--------------------------------------------------------------
gid1_4_1     |
cons |   .4622333   .2778853     1.66   0.096    -.0824119    1.006878
-------------+--------------------------------------------------------------
gid1_4_2     |
cons |   2.068406   .9290006     2.23   0.026     .2475981    3.889214
-------------+--------------------------------------------------------------
gid1_4_3     |
cons |   .1001779   .9763456     0.10   0.918    -1.813424     2.01378
----------------------------------------------------------------------------

Original syntax was:
gllamm y, i(gid) nrf(4) eqs(v1 v2 v3 v4) we(wt) nip(5) l(logit) f(binom)



> Dear Melanie Mogavero,
>
> That means you may need to update the command. Please run "ssc install
> gllamm, replace" it may solve the problem. Also, "help ssc" can give more
> explanation. You may need to do the same for "gllapred" as well.
>
> I had the same problem before.
>
> Good luck,
>
> Khadijeh
>
>> On 5 Oct 2013, at 21:46, "Melanie Mogavero"
>> <[email protected]> wrote:
>>
>> Melanie Mogavero
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
>


Sincerely,

Melanie Mogavero, MA

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index