| MarginalEffectsParameterCalc(LogisticRegressionParameterCalc, ListListInt32, ListInt32) Constructor |
Constructs a MarginalEffects object from the given logistic regression
which contains continuous, dichotomous, and categorical variables.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public MarginalEffects(
LogisticRegression<ParameterCalc> lr,
List<List<int>> categoricalVarIndices,
List<int> dichotomousVarIndices
)
Public Sub New (
lr As LogisticRegression(Of ParameterCalc),
categoricalVarIndices As List(Of List(Of Integer)),
dichotomousVarIndices As List(Of Integer)
)
public:
MarginalEffects(
LogisticRegression<ParameterCalc>^ lr,
List<List<int>^>^ categoricalVarIndices,
List<int>^ dichotomousVarIndices
)
new :
lr : LogisticRegression<'ParameterCalc> *
categoricalVarIndices : List<List<int>> *
dichotomousVarIndices : List<int> -> MarginalEffects
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