I am using Accord.NET library to do Logistic Regression in my application. I want to know about the methods it supports.
I think the default method it uses is 'Enter'. Does it support other methods like 'Backward', 'Forward', 'Stepwise' etc?
Many thanks.
Ahmad Qarshi
Thanks again for pointing me to the right direction. I am playing with the StepwiseLogisticRegressionAnalysis class.
In the Compute() function of this class there is an iterative call to the DoStep() function and finally it returns the indices of the variables finalized by the stepwise procedure. It also populates the Result variable with the resulting probabilities obtained by the logistic regression model. These probabilities are calculated using the original input data (i.e. all IVs).
My question is that shouldn't this Result variable contain probabilities calculated by using only those IVs which Stepwise procedure selected. If not then should we calculate it ourselves by calling the Current.Regression.Compute(...) function and passing it values of those IVs which the Stepwise procedure selected?
Thanks in anticipation.
Regards,
Ahmad Jalil Qarshi
inputData.Submatrix(Current.Variables);
I really appreciate your prompt response and many thanks for updating about new release.
Regards,
Ahmad Qarshi