LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2010, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 1 Apr 2010 12:40:15 -0400
Reply-To:     McSutlt Tim <sutltlast@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         McSutlt Tim <sutltlast@YAHOO.COM>
Subject:      SAS Probit Xbeta linear prediction

Hi guys, could anyone help me to solve the following problem.

I use the proc probit in sas and try to get the linear prediction with the option XBETA

PROC PROBIT ORDER=DATA; CLASS p; MODEL p=a b c; OUTPUT OUT=mypredict XBETA=pred_sas;

I use option XBETA to get the linear predictions However, I find the predictions derived from SAS are quite different from those derived from STATA.

PROBIT p a b c; predict pred_stata, xb;

The coefficients on independent var. are the same, but pred_sas are quite different from pred_stata. Calculating manually, I felt that pred_stata are really the linear prediction I want.

Could someone tell me why they're different?

Many thanks in advance!


Back to: Top of message | Previous page | Main SAS-L page