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

From |
Maarten buis <maartenbuis@yahoo.co.uk> |

To |
statalist@hsphsun2.harvard.edu |

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

Date |
Thu, 23 Aug 2007 08:12:01 +0100 (BST) |

Is this a homework question? If so: than we are not here to thwart the good intentions of your teacher, so this question should be ignored (as is clearly stated int the Statalist FAQ) -- Maarten --- Mao Fan <maoyongfan@gmail.com> wrote: > 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/ > ----------------------------------------- Maarten L. Buis Department of Social Research Methodology Vrije Universiteit Amsterdam Boelelaan 1081 1081 HV Amsterdam The Netherlands visiting address: Buitenveldertselaan 3 (Metropolitan), room Z434 +31 20 5986715 http://home.fsw.vu.nl/m.buis/ ----------------------------------------- ___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.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/

**References**:**st: A simple question about Generalized Linear Model***From:*"Mao Fan" <maoyongfan@gmail.com>

- Prev by Date:
**Re: st: Saving intermediate results (variables) when running -simulate-** - Next by Date:
**st: Random number generator** - Previous by thread:
**st: A simple question about Generalized Linear Model** - Next by thread:
**st: RE: 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 |