Skip to content

Commit

Permalink
add params (#274)
Browse files Browse the repository at this point in the history
* add params

* add params\!

* update docstrings
  • Loading branch information
joshday authored and andreasnoack committed Jun 30, 2017
1 parent 5e4fbd3 commit 6df21f0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/statmodels.jl
Expand Up @@ -248,6 +248,13 @@ Return the residual degrees of freedom of the model.
"""
dof_residual(obj::RegressionModel) = error("dof_residual is not defined for $(typeof(obj)).")

"""
params(obj)
Return all parameters of a model.
"""
params(obj) = error("params is not defined for $(typeof(obj))")
function params! end

## coefficient tables with specialized show method

Expand Down

0 comments on commit 6df21f0

Please sign in to comment.