Thanks, Jens! That explains the magic away.
I did look at names(z.out), but didn't look at
names(summary(z.out)).
-alexei
On 03/17/2008 08:44 PM, Jens Hainmueller wrote:
Yes vcov() works. Also check:
names(z.out1)
[1] "coefficients" "residuals"
"fitted.values" "effects"
"R" "rank"
[7] "qr" "family"
"linear.predictors" "deviance"
"aic" "null.deviance"
[13] "iter" "weights"
"prior.weights"
"df.residual" "df.null" "y"
[19] "converged" "boundary" "call"
"formula"
"terms" "data"
[25] "offset" "control" "method"
"contrasts"
"xlevels"
names(summary(z.out1))
[1] "call" "terms" "family"
"deviance"
"aic" "contrasts" "df.residual"
[8] "null.deviance" "df.null" "iter"
"deviance.resid"
"coefficients" "aliased" "dispersion"
[15] "df" "cov.unscaled" "cov.scaled"
For various other stored objects. These can be accessed using for example:
summary(z.out1)$cov.scaled
etc.
hope this helps,
jens
-----Original Message-----
From: gov2001-l-bounces at
lists.fas.harvard.edu [mailto:gov2001-l-
bounces at
lists.fas.harvard.edu] On Behalf Of Alexei Colin
Sent: Monday, March 17, 2008 7:46 PM
To: gov2001-l at
lists.fas.harvard.edu
Subject: Re: [gov2001-l] Checking results in Part (b)
Nevermind! Section code had the answer!
vcov() is a magic function that extracts the var-co-var
matrix from a fitted model object. Who knows where it is
stored in the object...
On 03/17/2008 07:15 PM, Alexei Colin wrote:
Hi all,
Part (b) of the problem set asks to "use Zelig to check
our results." Does "results" refer only to the vector of
parameter estimates or should we also check standard
errors? If the latter is true, then where does Zelig
store the standard errors? (Sorry for not being able to
find the answer in the docs.)
Thank you!
-Alexei
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l