Class LogisticRegressionEx1

java.lang.Object
com.imsl.test.example.datamining.LogisticRegressionEx1

public class LogisticRegressionEx1 extends Object

Trains a logistic regression model for a binomial response variable.

This example models the number of deaths (y1) out of a number of beetles (freqs) exposed to a chemical at a given dosage (x1). It then predicts the number of deaths out of a number of beetles (freqs2) exposed to new dosages (x2) using the fitted model.

See Also:
  • Constructor Details

    • LogisticRegressionEx1

      public LogisticRegressionEx1()
  • Method Details