Statalist The Stata Listserver


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

st: Help: how to manually calculate the standard error of coefficient estimates in logit regression


From   Maarten buis <[email protected]>
To   [email protected]
Subject   st: Help: how to manually calculate the standard error of coefficient estimates in logit regression
Date   Tue, 15 May 2007 18:00:56 +0100 (BST)

--- "Enya He" wrote:
> Does anyone knows how to manually calculate the standard error of 
> coefficient estimates under the logit model?  In other words, how to
> use matrix language to manually compute the standard error in Stata?

Is this what you are looking for?
*-------------- begin example ----------
sysuse auto
logit foreign price mpg
matrix V = e(V)
matrix se = vecdiag(cholesky(diag(vecdiag(V))))
matrix list se
*--------------- end example -------------
(For more on how to use examples I sent to the Statalist, see:
http://home.fsw.vu.nl/m.buis/stata/exampleFAQ.html )

Hope this helps,
Maarten

-----------------------------------------
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/
-----------------------------------------


	
	
		
___________________________________________________________ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
*
*   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/



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