Class LogisticRegressionEx2

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

public class LogisticRegressionEx2 extends Object

Trains a logistic regression model for a multinomial response.

This example performs logistic regression for a multinomial response variable with 4 classes. The categorical predictors and the response variable are encoded into dummy variables. Predictions and confidence intervals are obtained for a separate test data set. Note that the model fit is not significant suggesting that there is not a strong predictive relationship between the predictors and the response.

See Also:
  • Constructor Details

    • LogisticRegressionEx2

      public LogisticRegressionEx2()
  • Method Details