Skip to content

Commit b3cbc8c

Browse files
authored
Add level argument to confint (#406)
1 parent b8a6245 commit b3cbc8c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/statmodels.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,17 @@ Return the names of the coefficients.
1717
coefnames(obj::StatisticalModel) = error("coefnames is not defined for $(typeof(obj)).")
1818

1919
"""
20-
coeftable(obj::StatisticalModel)
20+
coeftable(obj::StatisticalModel; level::Real=0.95)
2121
2222
Return a table of class `CoefTable` with coefficients and related statistics.
23+
`level` determines the level for confidence intervals (by default, 95%).
2324
"""
2425
coeftable(obj::StatisticalModel) = error("coeftable is not defined for $(typeof(obj)).")
2526

2627
"""
27-
confint(obj::StatisticalModel)
28+
confint(obj::StatisticalModel; level::Real=0.95)
2829
29-
Compute confidence intervals for coefficients.
30+
Compute confidence intervals for coefficients, with confidence level `level` (by default 95%).
3031
"""
3132
confint(obj::StatisticalModel) = error("confint is not defined for $(typeof(obj)).")
3233

0 commit comments

Comments
 (0)