Statalist The Stata Listserver


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

st: xtivreg2, small


From   "Rodrigo A. Alfaro" <[email protected]>
To   <[email protected]>
Subject   st: xtivreg2, small
Date   Sat, 5 May 2007 20:34:55 -0400

Hi all,

I found that -xtdata, fe- can be used with -cluster()- without changing the degree of freedom, given that the degree of freedom depends only on the number of cluster!! Besides that, I found that -xtivreg2, small- gives slightly different standard errors. Is there an additional correction included in -xtivreg2, fe- that is not in -xtreg, fe-?

Any comment is welcome.
Rodrigo.

*! Example
webuse abdata
qui xtreg n nL1 nL2 w wL1 k kL1 kL2 ys ysL1 ysL2 yr1978-yr1983, fe robust cluster(id)
est store T1
qui xtivreg2 n nL1 nL2 w wL1 k kL1 kL2 ys ysL1 ysL2 yr1978-yr1983, fe robust cluster(id)
est store T2
qui xtivreg2 n nL1 nL2 w wL1 k kL1 kL2 ys ysL1 ysL2 yr1978-yr1983, fe robust cluster(id) small
est store T3
preserve
xtdata n nL1 nL2 w wL1 k kL1 kL2 ys ysL1 ysL2 yr1978-yr1983, fe clear
qui reg n nL1 nL2 w wL1 k kL1 kL2 ys ysL1 ysL2 yr1978-yr1983, robust cluster(id)
est store T4
restore
est table T*, se b(%9.5f)

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