=========================================
Date: Tue, 17 Apr 2007 22:35:52 +0100
From: "stata_user stata_user" <[email protected]>
Subject: RE: st: matrix product in stata after mvprobit
Thank you Professor Jenkins ,
I have tried mvppred, but I have noticed that I can have predicted values
for xb , p and other statistics only for the values of the x's (independent
variables) that are already in my data.
When I specify with the " if" statement , that I want the predicted for the
means of the x�s, I have a message saying � no observations�.
I do not know if it is possible to get the predicted values on the mean
values of the x's (independent variables)
Kind regards,
Sami
==========================================
-predict-like commands work on the data set in memory, which is not necessarily the
same as the estimation sample.
Use -set obs-, and then you can create some additional, artificial, observations,
e.g. ones with explanatory variables with values equal to the means of variables
taken over the estimation sample. And then -mvppred-.
Illustration of this type of exercise, but for prediction post-estimation for a
discrete time survival model, is shown in Lesson 6 at my Survival Analysis website
(URL given below)
Stephen
--
Professor Stephen P. Jenkins <[email protected]>
Institute for Social and Economic Research
University of Essex, Colchester CO4 3SQ, U.K.
Tel: +44 1206 873374. Fax: +44 1206 873151.
http://www.iser.essex.ac.uk
Survival Analysis using Stata:
http://www.iser.essex.ac.uk/teaching/degree/stephenj/ec968/
Downloadable papers and software: http://ideas.repec.org/e/pje7.html
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/