search for: real_var

Displaying 1 result from an estimated 1 matches for "real_var".

2005 May 04
3
How to intepret a factor response model?
Hello, I'd like to create a model with a factor-type response variable. This is an example: > mydata <- data.frame(factor_var = as.factor(c(rep('one', 100), rep('two', 100), rep('three', 100))), real_var = c(rnorm(150), rnorm(150) + 5)) > summary(mydata) factor_var real_var one :100 Min. :-2.742877 three:100 1st Qu.:-0.009493 two :100 Median : 2.361669 Mean : 2.490411 3rd Qu.: 4.822394 Max. : 6.924588 > mymodel =...