Displaying 2 results from an estimated 2 matches for "0.04865".
Did you mean:
0.0465
2003 Apr 14
2
categorical variables
Dear helpers
I constructed a data frame with this structure
> str(dados1)
`data.frame': 485 obs. of 16 variables:
$ Emissor : int 1 1 1 1 1 1 1 1 1 1 ...
$ Marisca.Rio : int 1 1 1 1 1 1 1 1 1 1 ...
$ Per?odo : int 1 1 1 1 1 1 1 1 1 1 ...
$ Reproducao : int 3 3 3 3 3 3 3 3 3 3 ...
$ Estacao : int 2 2 2 2 2 2 2 2 2 2 ...
$ X30cm : int
2008 Jan 05
2
Behavior of ordered factors in glm
I have a variable which is roughly age categories in decades. In the
original data, it came in coded:
> str(xxx)
'data.frame': 58271 obs. of 29 variables:
$ issuecat : Factor w/ 5 levels "0 - 39","40 - 49",..: 1 1 1 1...
snip
I then defined issuecat as ordered:
> xxx$issuecat<-as.ordered(xxx$issuecat)
When I include issuecat in a glm model, the result