[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
"Mao Fan" <maoyongfan@gmail.com> |

To |
statalist <statalist@hsphsun2.harvard.edu> |

Subject |
st: A simple question about Generalized Linear Model |

Date |
Wed, 22 Aug 2007 17:19:32 -0700 |

Hi, Here is my question: The condistional distribution of Y given X is Y|X~N(b0+b1'X,sigma2) I use glm command to estimate this conditional distribution. Now I wish to predict the following probability based on glm estimates: P = (1/sqrt(2*pi*sigma2))exp(-(Y-b0-b1'X)^2/2sigma^2) How could I get the predicted value of P? Thanks a lot! David * * 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/

**Follow-Ups**:**st: RE: A simple question about Generalized Linear Model***From:*"Newson, Roger B" <r.newson@imperial.ac.uk>

**Re: st: A simple question about Generalized Linear Model***From:*Maarten buis <maartenbuis@yahoo.co.uk>

- Prev by Date:
**Re: st: RE: Hypergeometric Distribution** - Next by Date:
**Re: st: RE: mata stata() parameters** - Previous by thread:
**st: mata stata() parameters** - Next by thread:
**Re: st: A simple question about Generalized Linear Model** - Index(es):

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