Hello,
I have a small statistics question, and
as I'm quite new to statistics and R, I'm not
sure if I'm doing things correctly.
I am looking at two quantitative
variables (x,y) that are correlated.
When I divide the data set according to a categorical
variable z, then x and y are more
Hi Avril,
I'm not sure what you want to show. Do you want to know the effects of
each variable? or just predict when you get z=A and when z=B?
In the latter case, I think that, if x and y are in the same units, you
could simply try
w - y-x
glm1 - glm(z ~ w,family=binomial(),trace=T)
Hope it