[英]multinomial logistic regression in R: multinom in nnet package result different from mlogit in mlogit package?
[英]Does the function multinom() from R's nnet package fit a multinomial logistic regression, or a Poisson regression?
The documentation for the multinom() function from the nnet package in R says that it "[f]its multinomial log-linear models via neural networks" and that "[t]he response should be a factor or a matrix with K columns,這將被解釋為每個 K 類的計數。” 即使當我 go 在這個問題上為 nnet 添加標簽時,描述說它是用於擬合“多項對數線性模型”的軟件。
鑒於統計數據具有非常不一致的行話,很少由使用它的人在操作上定義,function 的文檔甚至提到了計數響應,因此似乎表明這個 function 是針對 Z20F345E630DAF3549DFA 計數數據設計的。 然而,我所見過的幾乎所有資源都將其完全視為適合多項邏輯回歸。 簡而言之,每個人都根據相對於參考的記錄賠率(如邏輯回歸)來解釋結果,而不是根據記錄的預期計數(如通常稱為對數線性模型)。
有人可以澄清這個 function 實際上在做什么以及擬合系數的實際含義是什么?
據我了解,它適合多項邏輯回歸......
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.