I have compiled some previous election data showing:
election year, D(emocratic party) candidate, R(epublican party) candidate, D percentage, R percentage, D yes, R yes, D win, R win,
Basically just tracking the year of the election, names of each candidate (Dem/Rep), percentages of vote each got (Dem/Rep), if they were supportive of an issue (0 for no, 1 for yes) (Dem/Rep), and if they won (two columns, 1 for yes and 0 for no)
An example from the governors race in New York with my actual data:
I am trying to figure out a correlation that basically answers this question:
If a candidate is supportive of x issue (1 in the column) they have a statistically better chance of being elected (1 in the win) based on historical data.
I have the voter percentage in my xls to work with if needed, but I was hoping to not use it since ultimately a win or loss is all that matters for my project (and not by how much)
I've searched for the past five hours through previous intro to stats material and am not sure how to work with this type of binary data (yes or no vs actual interval data). Can anyone help? If Excel 2003 will not have a function to work with binary data, I can run to a lab with SPSS on it to run functions.
Thanks.
election year, D(emocratic party) candidate, R(epublican party) candidate, D percentage, R percentage, D yes, R yes, D win, R win,
Basically just tracking the year of the election, names of each candidate (Dem/Rep), percentages of vote each got (Dem/Rep), if they were supportive of an issue (0 for no, 1 for yes) (Dem/Rep), and if they won (two columns, 1 for yes and 0 for no)
An example from the governors race in New York with my actual data:
Code:
Year R D R % D % R DP D DP R WIN D WIN
2002 George Pataki H. Carl McCall 49.4 33.5 1 0 1 0
1998 George Pataki Pete Vallone 54.32 33.16 1 1 1 0
If a candidate is supportive of x issue (1 in the column) they have a statistically better chance of being elected (1 in the win) based on historical data.
I have the voter percentage in my xls to work with if needed, but I was hoping to not use it since ultimately a win or loss is all that matters for my project (and not by how much)
I've searched for the past five hours through previous intro to stats material and am not sure how to work with this type of binary data (yes or no vs actual interval data). Can anyone help? If Excel 2003 will not have a function to work with binary data, I can run to a lab with SPSS on it to run functions.
Thanks.