Dear R-users,
Suppose I have the following sample of data,
0 1 2 4 3
1 2 1 3 1
1 3 3 4 1
0 1 2 1 2
1 4 1 4 2
1 2 2 1 1
The first variable is the response variable where 0 is defective and 1
normal. The other four factors( x1,x2,x3,x4) that influence the outcome. I
want to fit a binomial model . How do I do that? I am guessing the response
variable should be transformed but not sure which family of transformation
to use.
It is easy to do it in SAS but I just want to learn using R
Any help is highly appreciated
Ashta
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.