A sample survey by the Pew internet and American Life Projec
A sample survey by the Pew internet and American Life Project asked a random sample of adults whether they had a brodband internet connection at home, with the following results by type of community:
Have broadband No broadband
Urban 320 276
Suburban 521 542
Rural 254 327
Test the hypotesis that there is a relationship between community type (urban, suburban, or rural) and whether the
residents have broadband.
Solution
Set up null and alternate as
H0: There is no relation between community type and having broadband
Ha: There is relation between them
Two tailed chi square test
Prepare contingency table
chi-square = 11.7
degrees of freedom = 2
probability = 0.003
As p <0.01, reject null hypothesis.
There is relation between the two.
