Top priorities to add are number of observations, p-values, and r-squared, I think, with others as needed or if they are easy?
The existing test statistics come from the mnl_estimate() function (mnl.py#L612), which we haven't done any refactoring of yet, just wrapped with the MultinomialLogit() class.
The summary table is generated here: mnl.py#L338, with the content and format inspired by PyLogit and StatsModels -- but we can adapt it to display whatever we want.
To fill in more fields, we can calculate them here and pass them to the summary_table() function: mnl.py#L313
The summary table for estimation results from the native 'ChoiceModels' estimator is missing a lot of things:
Top priorities to add are number of observations, p-values, and r-squared, I think, with others as needed or if they are easy?
The existing test statistics come from the
mnl_estimate()
function (mnl.py#L612), which we haven't done any refactoring of yet, just wrapped with theMultinomialLogit()
class.The summary table is generated here: mnl.py#L338, with the content and format inspired by PyLogit and StatsModels -- but we can adapt it to display whatever we want.
To fill in more fields, we can calculate them here and pass them to the
summary_table()
function: mnl.py#L313