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 <[email protected]> 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/