Skip to content

Commit ea8019a

Browse files
authored
Fix missing fallback definition for stderror (#9)
1 parent 00ce15f commit ea8019a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "StatsAPI"
22
uuid = "82ae8749-77ed-4fe6-ae5f-f523153014b0"
33
authors = ["Milan Bouchet-Valat <nalimilan@club.fr"]
4-
version = "1.2.0"
4+
version = "1.2.1"
55

66
[compat]
77
julia = "1"

src/statisticalmodel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function informationmatrix end
139139
140140
Return the standard errors for the coefficients of the model.
141141
"""
142-
function stderror end
142+
stderror(model::StatisticalModel) = sqrt.(diag(vcov(model)))
143143

144144
"""
145145
vcov(model::StatisticalModel)

0 commit comments

Comments
 (0)