- #1
Mathman2013
- 23
- 1
Homework Statement
Hi there I have problem I hope some can help me solve.
My H0, there is no connection between people who received the new and old medication? And them getting well or not well.
I suppose to test the following data using Chi-square test in SPSS.
[tex]\pmatrix{\\\textrm{"""} & \textrm{treatment} & \textrm{New-treatment} \\\textrm{well} &10 &25\\\textrm{not-well} &15 &10 }[/tex]
I calculate my expected values by hand to be.
[tex]\pmatrix{\\\textrm{"""} & \textrm{treatment} & \textrm{New-treatment} \\\textrm{well} &14.58 &20.41\\\textrm{not-well} &10.42 &14.59 }[/tex]
Homework Equations
The Attempt at a Solution
I calculate my expected values by hand to be.
[tex]\pmatrix{\\\textrm{"""} & \textrm{treatment} & \textrm{New-treatment} \\\textrm{well} &14.58 &20.41\\\textrm{not-well} &10.42 &14.59 }[/tex]
and then my [tex]\chi^2 = \frac{(obs-exp)^2}{exp}=5.92[/tex] and with df = 1 and using a s-level of 0.05 and looking up in a chi-square table I get critical value of 3.84. And since 5.92>3.84, then my H0 fails.
But my question: How do I get a simular result in SPSS?
If I insert my data in data-mode and choose crosstabs and chi-square test, then I get a chi-value of only by my degree of freedom is correct.
So any idear? Or hints to a guide I can learn to get the proper result?
P.s. this is not homework, but for my own better understanding of SPSS.
cheers
MF