I hope you don't consider this question as meaningless as I have been struggling with the code and I don't understand why it is not convergent to the same value.
I wrote Newtow Raphson R code to estimate the a multinomial logistic model when it convergent I get different significant value from my logarithm and the build in R function multinom. This is output from my algorithm
> t(new$coefficients)
X0 X1 X2 X3 X4
1 1.055977 0.08972323 0.7070484 -0.4951407 0.1878713
2 1.845272 -0.26688254 0.6945098 -0.2749830 -2.0379031
and here is the output from the build-in function
fit <- multinom(fm, data=df, Hess=TRUE)
> coef(fit)
X0 X1 X2 X3 X4
1 1.055960 0.08972217 0.7070560 -0.4951362 0.187872
2 1.845253 -0.26688462 0.6945132 -0.2749767 -2.037911
Anyone can help me understand why this significant is after 4/5 decimal. Please if you like to see my code I will share in with you privately because it is not ready for me to publish it.
Thanks