Class: Statsample::GLM::IRLS::Poisson

Inherits:
Base
  • Object
show all
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

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_sObject



11
12
13
# File 'lib/statsample-glm/glm/irls/poisson.rb', line 11

def to_s
  puts "Logistic Regression (Statsample::Regression::GLM::Logistic)"
end