Re: [R] summary(object) not showing all values of a factor

2013-09-04 Thread PIKAL Petr
n...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Soumitro Dey > Sent: Tuesday, September 03, 2013 8:51 PM > To: r-help@r-project.org > Subject: [R] summary(object) not showing all values of a factor > > Dear all, > > I am encountering some odd results fr

Re: [R] summary(object) not showing all values of a factor

2013-09-03 Thread Bert Gunter
These are **not** odd results. You just don't understand how linear models work, in particular, you need to understand contrasts for categorical factors. As this is not the place for a statistics tutorial, I suggest you read up on linear models or consult a local expert. Cheers, Bert On Tue, Se

[R] summary(object) not showing all values of a factor

2013-09-03 Thread Soumitro Dey
Dear all, I am encountering some odd results from the summary(object) command for coxph and hurdle models. In both cases the result of summary(object) function leaves out one of the categories of a categorical variable used in the model. It is typically the first category if sorted alphabetically.