[R] Binary Logit Regression with R

From: Johann Park <parkjoha_at_msu.edu>
Date: Fri 30 Sep 2005 - 08:08:33 EST

Hi to all,

I am a PH.D Student doing statistical analysis. I am totally new to R. I previously use Stata and am changing into R. I ususally do with logit regression with binary dependent variable (war occurence:1 or 0).

I just want to know command to do that. More sepcifically,

Let say, my Y is war occurence (occur=1, otherwise 0). And my independent variables (Xs) are trade, democracy, military power....etc.

In Stata, I do like what follows:

logit war trade democracy militarypower...

Then I will get results.

What are the equivalent command in R?

Many thanks,


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Sep 30 08:13:39 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:34 EST