Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Graph's -predopt()-


From   Ricardo Ovaldia <[email protected]>
To   [email protected]
Subject   Re: st: RE: Graph's -predopt()-
Date   Fri, 2 Jul 2004 09:00:07 -0700 (PDT)

Thank you Scott. I though that -predopt(xb)- would
generate a new variable with the predicted values,
which is what I realy want.

Regards,
Ricardo. 

--- Scott Merryman <[email protected]> wrote:
> Ricardo,
> 
> The predopt uses the -predict- options from
> -regress-, since xb if the
> default predict option there was no change.
> 
> But compare:
> 
> . sysuse auto
> (1978 Automobile Data)
> 
> . twoway qfit  mpg price, predopt(xb) 
> 
> . twoway qfit  mpg price, predopt(pr(0,20))
> 
> Hope this helps,
> Scott
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On
> Behalf Of Ricardo Ovaldia
> Sent: Friday, July 02, 2004 10:18 AM
> To: [email protected]
> Subject: st: Graph's -predopt()-
> 
> Dear _all,
> 
> Could someone explain how to properly specify the
> -preopt()- option in -graph twoway-. I have look in
> the manual and in he help file but there is no
> detail
> or examples on how to use it. For example:
> 
> . graph twoway  qfit families x
> and 
> . graph twoway  qfit families x, pred(xb)
> 
> produce the same correct plot, but the second one
> does
> nothing with the option.
> 
> Thank you,
> Ricardo.
> 
> =====
> Ricardo Ovaldia, MS
> Statistician 
> Oklahoma City, OK
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We
> finish.
> http://promotions.yahoo.com/new_mail 
> *
> *   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/
> 
> *
> *   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/
> 


=====
Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index