Fast Estimation of Multinomial Logit Models: R Package mnlogit

被引:14
作者
Hasan, Asad [1 ]
Wang Zhiyu [2 ]
Mahani, Alireza S. [1 ]
机构
[1] Sentrana Inc, Sci Comp Grp, 1725 I St NW, Washington, DC 20006 USA
[2] Carnegie Mellon Univ, Dept Math Sci, 5000 Forbes Ave, Pittsburgh, PA 15213 USA
来源
JOURNAL OF STATISTICAL SOFTWARE | 2016年 / 75卷 / 03期
关键词
logistic regression; multinomial logit; discrete choice; large scale; parallel; econometrics; MEMORY BFGS METHOD; LOGISTIC-REGRESSION; NEWTON METHOD;
D O I
10.18637/jss.v075.i03
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
We present the R package mnlogit for estimating multinomial logistic regression models, particularly those involving a large number of categories and variables. Compared to existing software, mnlogit offers speedups of 10-50 times for modestly sized problems and more than 100 times for larger problems. Running in parallel mode on a multicore machine gives up to 4 times additional speedup on 8 processor cores. mnlogit achieves its computational efficiency by drastically speeding up computation of the log-likelihood function's Hessian matrix through exploiting structure in matrices that arise in intermediate calculations. This efficient exploitation of intermediate data structures allows mnlogit to utilize system memory much more efficiently, such that for most applications mnlogit requires less memory than comparable software by a factor that is proportional to the number of model categories.
引用
收藏
页码:1 / 24
页数:24
相关论文
共 33 条