Method: Statsample::DominanceAnalysis::ModelData#summary
- Defined in:
- lib/statsample/dominanceanalysis.rb
permalink #summary ⇒ Object
[View source] [View on GitHub]
408 409 410 411 412 413 414 415 416 417 418 419 420 |
# File 'lib/statsample/dominanceanalysis.rb', line 408 def summary out=sprintf("%s: r2=%0.3f(p=%0.2f)\n",name, r2, @lr.significance, @lr.sst) out << @predictors.collect{|k| v=@contributions[k] if v.nil? "--" else sprintf("%s=%0.3f",k,v) end }.join(" | ") out << "\n" return out end |