Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: SSM and GLLAPRED


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: SSM and GLLAPRED
Date   Wed, 31 Oct 2012 18:41:53 +0000

The latest versions of -ssm-, -gllamm- and -gllapred- appear to be
from SSC, as you are asked to explain.

-gllapred- won't work unless e(cmd) is set as "gllamm". -ssm- sets
e(cmd) as "ssm", so it looks as if this indeed shouldn't work. Sorry,
but I have never used either command, and I can't say what would. You
may get better solutions from users of these commands.

Please note the -cmdname- convention recommended in the FAQ.

Nick

On Wed, Oct 31, 2012 at 5:31 PM, McCullough, Kathleen
<kmccullough@cob.fsu.edu> wrote:
> I am using the SSM command for a selection model with a first-stage logit and second stage ordered probit.  I would like to create predicted values after the command.  Since this is a wrapper for the GLLAMM command, it seems that GLLAPRED should work and the documentation seems to suggest that. However, I cannot get that to run.  It keeps saying we are not following a GLLAMM command.  Any suggestions would be appreciated.

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index