Question: I don't know why my answer is wrong. Please help. Spam filters are built on principles similar to those used in logistic regression. We fit

I don't know why my answer is wrong. Please help.

I don't know why my answer is wrong. Please help. Spam filters

Spam filters are built on principles similar to those used in logistic regression. We fit a probability that each message is spam or not spam. We have several variables for each email. Here are a few: to multiple=1 if there are multiple recipients, winner-1 if the word 'winner' appears in the subject line, format=1 if the email is poorly formatted, re_subj=1 if "re" appears in the subject line. A logistic model was fit to a dataset with the following output: Estimate SE Z Pr(> ZI) (Intercept) -0.8181 0.083 -9.8566 0 to multiple -2.596 0.3019 -8.5989 O winner 1.5771 0.3198 4.9315 0.0002 format -0.2596 0.1244 -2.0868 0.037 re subj -3.0112 0.366 -8.2273 0 (a) Write down the model using the coefficients from the model fit. log_odds(spam) = -0.8181 v+ -2.596 to multiple + 1.5771 winner + -0.2596 ~format + -3.0112 re_subj (b) Suppose we have an observation where to multiple-0, winner-1, format=0, and re_subj=0. What is the predicted probability that this message is spam? 2.136

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!