Hi there,

I just don't find the solution on the following problem. :(

Suppose I have a dataframe with two predictor variables (x1,x2) and one depend binary variable (y). How is it possible to define a glm object (family="binomial") with a user defined logistic function like p(y) = exp(a + c1*x1 + c2*x2) where c1,c2 are the coefficents which I define. So I would like to do no fitting of the coefficients. Still, I would like to define a GLM object because I could then easily use other functions which need a glm object as argument (e.g. I could use the anova, summary functions).

Thank you very much! Greetings
Jürgen

--
-----------------------------------
Jürgen Biedermann
Blücherstraße 56
10961 Berlin-Kreuzberg
Mobil: +49 176 247 54 354
Home: +49 30 250 11 713
e-mail: juergen.biederm...@gmail.com

______________________________________________
R-help@r-project.org 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.

Reply via email to