Click or drag to resize

MarginalEffectsParameterCalc(LogisticRegressionParameterCalc, ListListInt32, ListInt32) Constructor

Constructs a MarginalEffects object from the given logistic regression which contains continuous, dichotomous, 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,
	List<int> dichotomousVarIndices
)

Parameters

lr  LogisticRegressionParameterCalc

[Missing <param name="lr"/> documentation for "M:CenterSpace.NMath.Core.MarginalEffects`1.#ctor(CenterSpace.NMath.Core.LogisticRegression{`0},System.Collections.Generic.List{System.Collections.Generic.List{System.Int32}},System.Collections.Generic.List{System.Int32})"]

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.
dichotomousVarIndices  ListInt32
Indices of the dichotomous (0-1) valued variables.
See Also