# sol6 - PSTAT 120C: Assignment #6 Solutions June 2, 2006 1....

This preview shows pages 1–2. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: PSTAT 120C: Assignment #6 Solutions June 2, 2006 1. We calculate the χ 2 statistic: X 2 = (79 . 5523- 80) 2 79 . 5523 + (608 . 094- 615) 2 608 . 094 + (210 . 358- 203) 2 210 . 358 + + (10 . 4528- 10) 2 10 . 4528 + (79 . 9057- 73) 2 79 . 9057 + (27 . 6418- 35) 2 27 . 6418 = 0 . 002519 + 0 . 07843 + 0 . 25737 + 0 . 01961 + 0 . 5968 + 1 . 958740 = 2 . 913469 which has a χ 2 distribution with 2 degrees of freedom. For a level α = 0 . 05 the critical value is 5.99. The test statistic is less than the critical value so we accept the null hypothesis that the answers to these two questions are independent. There is not sufficient evidence in this survey to show watching the news is affecting people’s opinion. 2. We calculate the χ 2 test statistic: X 2 = (61 . 5853- 79) 2 61 . 5853 + (62 . 2074- 58) 2 62 . 2074 + (62 . 2074- 49) 2 62 . 2074 + + (8 . 9398- 10) 2 8 . 9398 + (9 . 0301- 8) 2 9 . 0301 + (9 . 0301- 9) 2 9 . 0301 + + (28 . 4749- 10) 2 28 . 4749 + (28 . 7625- 34) 2 28 . 7625 + (28 . 7625- 42) 2 28 . 7625 = 4 . 92 + 0 . 28 + 2 . 8 + 0 . 13 + 0 . 12 + 0 + 11...
View Full Document

## This note was uploaded on 04/09/2008 for the course PSTAT 120c taught by Professor Idk during the Spring '07 term at UCSB.

### Page1 / 3

sol6 - PSTAT 120C: Assignment #6 Solutions June 2, 2006 1....

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://www.coursehero.com/file/97790/sol6/", "fetch_time": 1493467010000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2017-17/segments/1492917123491.68/warc/CC-MAIN-20170423031203-00348-ip-10-145-167-34.ec2.internal.warc.gz", "warc_record_offset": 884606934, "warc_record_length": 23565, "token_count": 678, "char_count": 1777, "score": 3.875, "int_score": 4, "crawl": "CC-MAIN-2017-17", "snapshot_type": "longest", "language": "en", "language_score": 0.7044761180877686, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00011-of-00064.parquet"}