[R] Logistic Regression
John C Frain
frainj at gmail.com
Sat Jan 23 22:08:48 CET 2016
Alternatively you might use log(p/1-p) as your dependent variable and use
OLS with robust standard errors. Much of your inference would be analogous
to a logistic regression
John C Frain
3 Aranleigh Park
mailto:frainj at tcd.ie
mailto:frainj at gmail.com
On 23 January 2016 at 20:46, David Winsemius <dwinsemius at comcast.net> wrote:
> > On Jan 23, 2016, at 12:41 PM, pari hesabi <statistics84 at hotmail.com>
> > Hello everybody,
> > I am trying to fit a logistic regression model by using glm() function
> in R. My response variable is a sample proportion NOT binary numbers(0,1).
> So multiply the sample proportions (and 1-proportions) by the number of
> samples, round to integers, you will have an appropriate response variable
> and complements, and you can fit a binomial model.
> > Regarding glm() function, I receive this error: non integer # successes
> in a binomial glm!
> > I would appreciate if anybody conducts me.
> > Regards,
> > Pari
> > [[alternative HTML version deleted]]
> David Winsemius
> Alameda, CA, USA
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help