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