Class: Statsample::GLM::IRLS::Base
- Inherits:
-
Object
- Object
- Statsample::GLM::IRLS::Base
- Defined in:
- lib/statsample-glm/glm/irls/base.rb
Instance Attribute Summary collapse
-
#coefficients ⇒ Object
readonly
Returns the value of attribute coefficients.
-
#degree_of_freedom ⇒ Object
readonly
Returns the value of attribute degree_of_freedom.
-
#fitted_mean_values ⇒ Object
readonly
Returns the value of attribute fitted_mean_values.
-
#iterations ⇒ Object
readonly
Returns the value of attribute iterations.
-
#residuals ⇒ Object
readonly
Returns the value of attribute residuals.
-
#standard_error ⇒ Object
readonly
Returns the value of attribute standard_error.
Instance Method Summary collapse
-
#initialize(data_set, dependent, opts = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(data_set, dependent, opts = {}) ⇒ Base
Returns a new instance of Base.
9 10 11 12 13 14 15 |
# File 'lib/statsample-glm/glm/irls/base.rb', line 9 def initialize data_set, dependent, opts={} @data_set = data_set.to_matrix @dependent = dependent @opts = opts irls end |
Instance Attribute Details
#coefficients ⇒ Object (readonly)
Returns the value of attribute coefficients.
6 7 8 |
# File 'lib/statsample-glm/glm/irls/base.rb', line 6 def coefficients @coefficients end |
#degree_of_freedom ⇒ Object (readonly)
Returns the value of attribute degree_of_freedom.
6 7 8 |
# File 'lib/statsample-glm/glm/irls/base.rb', line 6 def degree_of_freedom @degree_of_freedom end |
#fitted_mean_values ⇒ Object (readonly)
Returns the value of attribute fitted_mean_values.
6 7 8 |
# File 'lib/statsample-glm/glm/irls/base.rb', line 6 def fitted_mean_values @fitted_mean_values end |
#iterations ⇒ Object (readonly)
Returns the value of attribute iterations.
6 7 8 |
# File 'lib/statsample-glm/glm/irls/base.rb', line 6 def iterations @iterations end |
#residuals ⇒ Object (readonly)
Returns the value of attribute residuals.
6 7 8 |
# File 'lib/statsample-glm/glm/irls/base.rb', line 6 def residuals @residuals end |
#standard_error ⇒ Object (readonly)
Returns the value of attribute standard_error.
6 7 8 |
# File 'lib/statsample-glm/glm/irls/base.rb', line 6 def standard_error @standard_error end |