try to see what elements are in the summary object by
tmp <- summary(il6w.out)
names(tmp)
then you can extract each element by
tmp$xxx
where xxx is the name of the element.
Kosuke
-----------------------------------------------------
Kosuke Imai Office: Corwin Hall 041
Assistant Professor Phone: 609-258-6601
Department of Politics eFax: 973-556-1929
Princeton University Email: kimai(a)Princeton.Edu
Princeton, NJ 08544-1012
http://imai.princeton.edu
-----------------------------------------------------
On Fri, 25 May 2007, Abdus Sattar wrote:
Hello:
I have the following R output from the zelig for fitting a tobit model:
summary(il6w.out)
Call:
zelig(formula = il6.data$il6 ~ il6.data$apache, model = "tobit",
data = il6.data, robust = TRUE, cluster = "il6.data$subject",
weights = il6.data$w)
Value Std. Err (Naive SE) z p
(Intercept) 4.572 0.12421 0.27946 36.8 1.44e-296
il6.data$apache 0.983 0.00189 0.00494 519.4 0.00e+00
Log(scale) 2.731 0.00660 0.00477 414.0 0.00e+00
Scale= 15.3
Gaussian distribution
Loglik(model)= -97576 Loglik(intercept only)= -108964
Chisq= 22777 on 1 degrees of freedom, p= 0
(Loglikelihood assumes independent observations)
Number of Newton-Raphson Iterations: 6
n=5820 (1180 observations deleted due to missingness)
After the fitting the above Tobit model using zelig, if I use the following command then
I can get the regression coefficents:
beta=coefficients(il6.out)
beta
(Intercept) il6.data$apache
4.572 0.983
How may I extract the "Naive SE" from the following output please?
I would appreciate if any help you could provide me in this regard please. Thank you.
Sattar
____________________________________________________________________________________Yahoo!
oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/