This preview shows pages 1–8. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Analysis of twoway tables Inference for twoway tables Inference for twoway tables Hypothesis of no association Two sampling designs and the associated models Testing for homogeneity Testing for independence The chisquare test The Chisquare distribution Gastric Freezing Gastric freezing was once a treatment for ulcers. Patients would swallow a deflated balloon with tubes, and a cold liquid would be pumped for an hour to cool the stomach and reduce acid production, thus relieving ulcer pain. The treatment was shown to be safe, significantly reducing ulcer pain , and so widely used for years. A randomized comparative experiment later compared the outcome of gastric freezing with that of a placebo: 28 of the 82 patients subjected to gastric freezing improved, while 30 of the 78 in the control group improved. H : p gf = p placebo H a : p gf p placebo 499 . 025 . * 231 . 044 . 78 1 82 1 637 . * 363 . 385 . 341 . 1 1 ) 1 ( 2 1 2 1 = = + = + = n n p p p p z 3625 . 78 82 30 28 = + + = pooled p Improvement n Treatment 28 82 34.1% Placebo 30 78 38.5% Improvement No improvement Treatment 28 54 Placebo 30 48 Expressed as a twoway table: Cocaine produces shortterm feelings of physical and mental well being. To maintain the effect, the drug may have to be taken more frequently and at higher doses. After stopping use, users will feel tired, sleepy and depressed. The pleasurable high followed by unpleasant aftereffects encourage repeated compulsive use, which can easily lead to dependency. Desipramine is an antidepressant affecting the brain chemicals that may become unbalanced and cause depression. It was thus tested for recovery from cocaine addiction. Treatment with desipramine was compared to a standard treatment (lithium, with strong antimanic effects) and a placebo. Observed Cocaine addiction Comparing several populations Select independent SRSs of sizes n 1 , n 2 , . . . , n r from each of r populations,. Classify each individual in a sample according to a categorical response variable with c possible values. There are r different probability distributions, one for each population. The null hypothesis is that the distributions of the response variable are the same in all r populations . The alternative hypothesis says that these r distributions are not all the same....
View Full
Document
 Spring '08
 ISBER
 ChiSquare Test

Click to edit the document details