I did a glm
and I just want to extract the standard errors of each coefficient. I saw on the internet the function se.coef()
but it doesn't work, it returns "Error: could not find function "se.coef""
.
相关问题
- R - Quantstart: Testing Strategy on Multiple Equit
- Using predict with svyglm
- Reshape matrix by rows
- Extract P-Values from Dunnett Test into a Table by
- split data frame into two by column value [duplica
相关文章
- How to convert summary output to a data frame?
- How to plot smoother curves in R
- Paste all possible diagonals of an n*n matrix or d
- ess-rdired: I get this error “no ESS process is as
- How to use doMC under Windows or alternative paral
- dyLimit for limited time in Dygraphs
- Saving state of Shiny app to be restored later
- How to insert pictures into each individual bar in
The information you're after is stored in the
coefficients
object returned bysummary()
. You can extract it thusly:summary(glm.D93)$coefficients[, 2]
Take a look at
names(summary(glm.D93))
for a quick review of everything that is returned. More details can be found by checking outsummary.glm
if you want to see the specific calculations that are going on, though that level of detail probably is not needed every time, unless you <3 statistics.se.coef() actually does work. But it's not in the base package: it's in the {arm} package: http://www.inside-r.org/packages/cran/arm/docs/se.ranef
Another way: