extracting standard errors (se) from $output
Posted on

Hi there,
I can't see the SEs in $output... I guess that means they are computed by summary()?
But I also don't see how to extract them programatically from the output of summary(fit)
none of these work:
x = summary(fit)
x$SE; x$standard_error; x$error_estimate
any clues?
x below is the captured
x below is the captured result of the summary function.
Log in or register to post comments
In reply to x below is the captured by mspiegel
As an aside, in other R
As an aside, in other R parameter summary output tables, the "parameter estimate" column is called "Estimate" and "error estimate" is called "Std.Error".
I think it would be useful to change to these conventions before too many scripts start using the current non-standard names for the parameters.
Log in or register to post comments
In reply to As an aside, in other R by Steve
Column names changed.
Column names changed.
Log in or register to post comments
answering own
answering own question:
summary(fit)->x
x$parameters->y
names(y)
y$"error estimate"
y$"parameter estimate"
CI95 = y$"error estimate" *1.96
out = data.frame(cbind(y$"parameter estimate" - CI95,y$"parameter estimate" + CI95))
names(out)<-c("lower95", "upper95")
cbind(y,out)
Log in or register to post comments