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

From |
Tomas Lind <tomas.lind@sll.se> |

To |
statalist@hsphsun2.harvard.edu |

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

Date |
Wed, 25 Feb 2009 17:13:03 +0100 |

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]) /Tomas st: AW: var-covar matrix from logistic regression Martin Weiss till: statalist 2009-02-25 17:04 Sänt av: owner-statalist@hsphsun2.harvard.edu Svara 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/

**Follow-Ups**:**Re: Ang. st: AW: var-covar matrix from logistic regression***From:*Jeph Herrin <junk@spandrel.net>

**AW: Ang. st: AW: var-covar matrix from logistic regression***From:*"Martin Weiss" <martin.weiss1@gmx.de>

**References**:**st: AW: var-covar matrix from logistic regression***From:*"Martin Weiss" <martin.weiss1@gmx.de>

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

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