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: how do we find out what is available after -ml-?


From   Richard Williams <[email protected]>
To   [email protected], "[email protected]" <[email protected]>
Subject   Re: st: how do we find out what is available after -ml-?
Date   Thu, 07 Nov 2013 20:58:13 -0500

At 03:45 PM 11/7/2013, Christopher Baum wrote:
<>
A colleague of mine asked what -predict- can do after executing -ml-. There does not seem to be any help file describing that, nor anything in the manual that explains exactly what -predict- can do. I have experimented, and if you estimate a linear regression with ml, -predict foo- gives you 'linear predictions', or what is usually called xb. It can also predict using the score option. But where is this documented?

There doesn't seem to be a ml postestimation commands section. But, the default predict command is ml_p.ado. It lets you use the score option; after that, anything else gets passed to _predict. So, I think -help predict- will tell you what the limited range of options is.

Many users are going to write their own predict command with whatever options are appropriate for their estimation command. Other than -xb- and a few other basics, Stata probably has no way of knowing what other predict options would be appropriate, e.g. if you wrote a probit command Stata wouldn't automatically know the formula for computing predicted probababilities.

The manual does have a postestimation section for mlexp. I don't know if any of it would apply to ml.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  [email protected]
WWW:    http://www.nd.edu/~rwilliam

*
*   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