[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Jeph Herrin <junk@spandrel.net> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: Ang. st: AW: var-covar matrix from logistic regression |

Date |
Wed, 25 Feb 2009 11:28:57 -0500 |

************* webuse lbw2, clear logit low age lwt race2 race3 smoke ptl ht ui matrix define V=e(V) di V[1,1] ************ Tomas Lind wrote:

Thanks for your answer. I was thinking about using variance-covariance coefficients in calculations or just display them like I can display: di exp(_b[smoke]) /Tomasst: AW: var-covar matrix from logistic regressionMartin Weisstill:statalist2009-02-25 17:04Sänt av:owner-statalist@hsphsun2.harvard.eduSvara till statalist<> Re coefficients: what do you mean by "use betas in some calculations?" After estimation, you can access them as seen in the third line here. If you want to store them, i.e. turn the ephemeral "e(b)" into something longer lasting, see the fourth line. ************* webuse lbw2, clear logit low age lwt race2 race3 smoke ptl ht ui di _b[age] matrix define A=e(b) ************* HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Tomas Lind Gesendet: Mittwoch, 25. Februar 2009 16:40 An: statalist@hsphsun2.harvard.edu Betreff: st: var-covar matrix from logistic regression Dear Stata, I have done logistic regression with logit. How can I look at the variance-covariance matrix? I understand it is saved in something called e(b), but I can´t see it! Can I use one of the coefficients like it is possible to use betas in some calculations? How to do it! /Tomas * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

* * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**References**:**Ang. st: AW: var-covar matrix from logistic regression***From:*Tomas Lind <tomas.lind@sll.se>

- Prev by Date:
**AW: Ang. st: AW: var-covar matrix from logistic regression** - Next by Date:
**st: simple "graph twoway, b()" question** - Previous by thread:
**AW: Ang. st: AW: var-covar matrix from logistic regression** - Next by thread:
**st: Problem looping over spells for an individual** - Index(es):

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