Click or drag to resize

LogisticRegressionParameterCalc Methods

The LogisticRegressionParameterCalc type exposes the following members.

Methods
 NameDescription
Public methodAddInterceptParameter Adds an intercept parameter to the model and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodAddObservation Adds the given observation to the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodAddObservations Adds the given observations to the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodAddPredictor Adds a predictor to the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodAddPredictors Adds predictors to the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodClone Creates a deep copy of this LogisticRegression.
Public methodStatic memberDesignVariables(IDFColumn) Convenience method for generating design, or dummy, variables which replace independent variables in a logistic model that take on discrete, nominal scaled values. The encoding method used is "reference cell coding". where the group with the SMALLEST code serves as the reference group. The method is described in the remark below.
Public methodStatic memberDesignVariables(IDFColumn, IComparable) Convenience method for generating design, or dummy, variables which replace independent variables in a logistic model that take on discrete, nominal scaled values. The encoding method used is "reference cell coding" with the group with the speficied code serves as the reference group. The method is described in the remark below.
Public methodStatic memberLogLikelihood Computes the value of the log likelihood function for a binomial logistic regression model with the given predictor variable values, probabilities and observed dichotomous outcomes.
Public methodObservationVarianceEstimates Computes the variance estimate for each observation. if pi is the probability of success predicted by the model for the ith observation, then the estimated variance for the ith observation is pi*(1.0 - pi).
Public methodPredictedProbabilities(DoubleMatrix) Returns a vector of predicted probabilities of a positive outcome for the predictor variable values contained in the rows of the input matrix A.
Public methodStatic memberPredictedProbabilities(DoubleMatrix, DoubleVector, Boolean) Returns a vector of predicted probabilities of a positive outcome for the predictor variable values contained in the rows of the input matrix A.
Public methodPredictedProbability(DoubleVector) Returns the probability of a positive outcome predicted by the model for the given set of predictor values.
Public methodStatic memberPredictedProbability(DoubleVector, DoubleVector, Boolean) Returns the probability of a positve outcome predicted by the model for the given set of predictor values.
Public methodRecalculateParameters Recalculates the model parameters.
(Overrides RegressionBaseRecalculateParameters)
Public methodRemoveInterceptParameter Removes the intercept parameter from the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodRemoveObservation Removes the row at the indicated index from the predictor matrix and the corresponding element from the observation vector, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodRemoveObservations Removes the specified rows from the predictor matrix, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodRemovePredictor Removes the specified predictor from the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodCode exampleRemovePredictors Removes the specified predictors from the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodSetRegressionData Sets the regression matrix, observation vector, and intercept option to the specified values, and recalculates the model parameters.
Top
See Also