Odd Ratio and Logistic Regression

70 Views Asked by At

Windy and Play Tennis = 9 Windy and Not Playing Tennis = 8

Not Windy and Play Tennis = 14 Not Windy and Not Playing Tennis = 8

I performed logistic regression in Weka and got odd ratio as 0.3448 for playing tennis.

I am trying to calculate the odd ratio by hand but it didnt result as 0.338.

What is the steps for calculating the odd ratio?

Thanks You

EDIT: Still the result differs from Weka's result. My data set is below

Windy Play

TRUE yes

TRUE yes

TRUE yes

TRUE yes

TRUE yes

TRUE yes

TRUE yes

TRUE yes

TRUE yes

FALSE yes

FALSE yes

FALSE yes

FALSE yes

FALSE yes

FALSE yes

FALSE yes

FALSE yes

FALSE yes

FALSE yes

FALSE yes

FALSE yes

FALSE yes

FALSE yes

TRUE no

TRUE no

TRUE no

TRUE no

TRUE no

TRUE no

TRUE no

TRUE no

FALSE no

FALSE no

FALSE no

FALSE no

FALSE no

FALSE no

FALSE no

FALSE no