Class: Statsample::GLM::IRLS::Poisson
- Defined in:
- lib/statsample-glm/glm/irls/poisson.rb
Instance Attribute Summary
Attributes inherited from Base
#coefficients, #degree_of_freedom, #fitted_mean_values, #iterations, #residuals, #standard_error
Instance Method Summary collapse
-
#initialize(data_set, dependent, opts = {}) ⇒ Poisson
constructor
A new instance of Poisson.
- #to_s ⇒ Object
Constructor Details
#initialize(data_set, dependent, opts = {}) ⇒ Poisson
Returns a new instance of Poisson.
7 8 9 |
# File 'lib/statsample-glm/glm/irls/poisson.rb', line 7 def initialize data_set, dependent, opts={} super data_set, dependent, opts end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/statsample-glm/glm/irls/poisson.rb', line 11 def to_s puts "Logistic Regression (Statsample::Regression::GLM::Logistic)" end |