Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(lect24). After using an email spam detector on your computer for a while, you start wondering if it's actually working at all - It almost

image text in transcribed
image text in transcribed
(lect24). After using an email spam detector on your computer for a while, you start wondering if it's actually working at all - It almost looks like it's randomly tagging things as spam or not-spam. So, you decide to test it. You send to yourself 50 emails that you know are spam, and 100 emails that you know are not-spam. Of the 50 truly spam emails, 40 are flagged as spam; of the 100 truly not- spam emails, 30 are flagged as spam. a) What are the two categorical variables in this problem? b) Write down the corresponding 2-way table. c) What's the percentage of not-spam emails that get flagged as not-spam? spam emails that get flagged as spam? not-spam-flagged emails that are truly not-spam? spam-flagged emails that are truly spam? d) Starting with the question "Data data provide evidence that the spam detector works?", set-up HO and Ha. e) Assuming the null hypothesis is correct, find the expected counts. I'll give you the answer so that you can confirm your work: 53.33333 46.66667 26.66667 23.33333 Your rows and columns may be different from mine, but it won't matter. f) Find the X^2 of the chi-squared test. g) Assuming you have done things correctly, I can tell you that the area to the right of the X^2 (i.e., the p-value) is really small: 10^(-8). State your conclusion/answer to the original question, at significance level 0.01. Later, you can check the solution to see how you can get the p-value in R

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Geometry And Analysis Of Fractals Hong Kong, December 2012

Authors: De Jun Feng, Ka Sing Lau

1st Edition

3662439204, 9783662439203

More Books

Students also viewed these Mathematics questions