SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.stats.regression.linear.logistic
Class LogisticProblem

java.lang.Object
  extended by com.numericalmethod.suanshu.stats.regression.linear.LmProblem
      extended by com.numericalmethod.suanshu.stats.regression.linear.logistic.LogisticProblem

public class LogisticProblem
extends LmProblem

This class represents a logistic regression problem.

Logistic regression is a variation of OLS regression which is used when the dependent (response) variable is a binary variable. The independent (input) variables can be continuous, categorical, or both.


Field Summary
 
Fields inherited from class com.numericalmethod.suanshu.stats.regression.linear.LmProblem
A, addIntercept, wA, weights, wy, y
 
Constructor Summary
LogisticProblem(LmProblem problem)
           
 
Method Summary
protected  void checkInputs()
          Check whether this LmProblem instance is valid.
 
Methods inherited from class com.numericalmethod.suanshu.stats.regression.linear.LmProblem
invOfwAtwA, nExogenousFactors, nFactors, nObs, X
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogisticProblem

public LogisticProblem(LmProblem problem)
Method Detail

checkInputs

protected void checkInputs()
Description copied from class: LmProblem
Check whether this LmProblem instance is valid.

Overrides:
checkInputs in class LmProblem

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.