[R] Multinomial logistic regression with non-numerical data.

From: TL Vincent <tv3190_at_bristol.ac.uk>
Date: Thu, 24 Jul 2008 14:36:20 +0100


Hi all,

I have a set of data which looks similar to this (only way bigger!)

link type register

F         D         a
E         D         b
R         D         c
A         T         d
D         T         a
F         D         b

. . .
. . .

and would like to perform a multinomial logistic regression on this data. I use the nnet package and obtain the raw regression coefficients from the output when I enter:

fit<-multinom(link~type+register,data)
summary(fit, Wald =T);

However, I am struggling to compute the regression results in terms of probabilities, my main barrier being the fact that my data is non-numerical. For example, I would like to fix a value "d" to register, and calculate the probability of choosing each link for both type "D" or "T" . I hope this was clear enough!
I appreciate your help!

Tom V.



TL Vincent
tv3190_at_bristol.ac.uk
BCCS - Bristol Centre for Complexity Sciences

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 24 Jul 2008 - 14:03:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Jul 2008 - 14:32:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive