Class ForwardSelection


  • public class ForwardSelection
    extends GLMModelSelection
    Constructs a GLM model for a set of observations using the forward selection method. Starting from a null model, one factor is added at a time based on the selection criteria.
    • Constructor Detail

      • ForwardSelection

        public ForwardSelection​(GLMProblem problem)
        Constructs a GLM model using the forward selection method, with SelectionByAIC as the default algorithm.
        Parameters:
        problem - the GLM problem
      • ForwardSelection

        public ForwardSelection​(GLMProblem problem,
                                ForwardSelection.Step step)
        Constructs a GLM model using the forward selection method.
        Parameters:
        problem - the GLM problem
        step - the algorithm determining which factor to add in each step