Displaying 1 result from an estimated 1 matches for "militarypower".
2005 Sep 29
2
Binary Logit Regression with R
...ent 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,
JP