You might want to read this vignette:
http://cran.r-project.org/web/packages/HSAUR/vignettes/Ch_logistic_regression_glm.pdf
On 14 June 2014 19:53, javad bayat <j.bayat194 at gmail.com>
wrote:> Dear all, I have to use "Zelig" package for doing logistic
regression.
> How can I use Zelig package for logistic regression?
>
> I did this code by glm function:
>
> glm1 = glm(kod~Curv+Elev+Out.c+Slope+Aspect,data=data,
> family=binomial)
> summary(glm1)
>
> But the results were not appropriate for my data.
>
> Many thanks for your helps.
>
>
>
>
>
>
>
> --
> Best Regards
> Javad Bayat
> M.Sc. Environment Engineering
> Shahid Beheshti (National) University (SBU)
> Alternative Mail: bayat194 at yahoo.com
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.