On Mon, 27 Jan 2003, Laura Gross wrote: > Hi, Thanks for that help. > > In message <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] writes > >On Fri, 24 Jan 2003, L.E.Gross wrote: > > > >> I am wanting to fit some multinomial logit models (multinom command in > >> package nnet) > >> > >> Is it possible to do any model checking techniques on these models > >> e.g. residual, leverage etc. I cannot seem to find any commands that > >> will allow me to do this. > > >residuals() should work: it does for me. > > I have tried using this: > My model is say: > > model<-multinom(self~sex, data=self) yet when I try > > residuals(model) I simply get the return as NULL?
That of course is not reproducible, but > library(MASS) > data(housing) > library(nnet) > (house.mult <- multinom(Sat ~ Infl + Type + Cont, + weights = Freq, data = housing)) > residuals(house.mult) is, and it works. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help
