Click or drag to resize

MarginalEffectsParameterCalc(LogisticRegressionParameterCalc, ListListInt32) Constructor

Constructs a MarginalEffects object from the given logistic regression which contains continuous and categorical variables.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public MarginalEffects(
	LogisticRegression<ParameterCalc> lr,
	List<List<int>> categoricalVarIndices
)

Parameters

lr  LogisticRegressionParameterCalc
Logistic regression.
categoricalVarIndices  ListListInt32
List of design variable indices. The ith element of categoricalVarIndices contains the indices of the design variables for the ith categorical variable. categoricalVarIndices[i][j] = the index of the jth design variable of the ith predictor.
See Also