Question

In: Statistics and Probability

A company wants to apply k-NN to find out whether new customers response to its marketing...

  1. A company wants to apply k-NN to find out whether new customers response to its marketing campaign or not. We have data of six existing customers and their response. In the table below, we list their response and their distances to two new customers (Jack and Colleen).

Customer

Response

Distance to Jack

Distance to Colleen

Janet

Yes

1.7

1.3

Adam

Yes

1.6

1.3

Tom

No

3.8

0.9

Sarah

Yes

2.4

1.2

Nancy

No

3.7

0.9

Joseph

No

2.5

1.5

What will be the predicted responses of Jack and Colleen using k-NN when k is set to the following values? Justify your answer.

  1. k = 1
  2. k = 3
  3. k = 5

Solutions

Expert Solution

ANSWER::

RESPONSES OF JACK:

When  K=1 : Compairing K observation with Lowest difference (lowest distances)

Adam with distance 1.6 with response YES

  MAJORITY RESPONSE =YES

response of jack should be YES

When  K=3 : Compairing K observation with Lowest difference (lowest distances)

Adam with distance 1.6 with response YES

Janet with distance 1.7 with response YES

Sarah with distance 2.4 with response YES

  MAJORITY RESPONSE =YES

response of jack should be YES

When  K=5 : Compairing K observation with Lowest difference (lowest distances)

Adam with distance 1.6 with response YES

Janet with distance 1.7 with response YES

Sarah with distance 2.4 with response YES

Joseph with distance 2.5 with response NO

Nancy with distance 3.7 with response NO

  MAJORITY RESPONSE =YES

response of jack should be YES

RESPONSES OF COLLEN:

When  K=1 : Compairing K observation with Lowest difference (lowest distances)

Tom with distance 0.9 with response NO

or

  Nancy with distance 0.9 with response NO

  MAJORITY RESPONSE =NO

response of collen should be YES

When  K=3 : Compairing K observation with Lowest difference (lowest distances)

Tom with distance 0.9 with response No

Nancy with distance 0.9  with response No

Sarah with distance 1.2 with response YES

  MAJORITY RESPONSE =NO

response of collen should be NO

When  K=5 : Compairing K observation with Lowest difference (lowest distances)

Tom with distance 0.9 with response No

Nancy with distance 0.9  with response No

Sarah with distance 1.2 with response YES

Janet with distance 1.3 with response YES

Adam with distance 1.3 with response YES

  MAJORITY RESPONSE =YES

response of collen should be YES

NOTE: I TRIED TO IMPLEMENT THE REQUESTED PROBLEM AS PER BEST OF MY UNDERSTANDING....IF YOU NEED ANY SORT OF HELP REGARDING THIS PROBLEM , PLEASE DO MENTION IN COMMENTS.....IF YOU GOT ANY SORT OF HELP THROUGH THIS ARTICLE PLEASE DO UPVOTE.....THANKYOU!!!


Related Solutions

3. A company wants to find out if the average response time to a request differs...
3. A company wants to find out if the average response time to a request differs across its two servers. Say µ1 is the true mean/expectation response time on server 1 and µ2 the true mean/expectation response time on server 2. Independent samples across the two servers is taken. 196 observations on server 1 return a sample mean of X¯ = 12.5 seconds and a sample variance of s 2 = 9 seconds. 225 observations on server 2 return a...
A quality-control engineer wants to find out whether or not a new machine that fills bottles...
A quality-control engineer wants to find out whether or not a new machine that fills bottles with liquid has less variability than the machine currently in use. The engineer calibrates each machine to fill bottles with 16 ounces of a liquid. After running each machine for 5 hours, she randomly selects 15 filled bottles from each machine and measures the volume of their contents (in ounces). The resulting data is provided in the table below. Is the variability in the...
A company issues a survey in order to find out whether its employees feel stressed at...
A company issues a survey in order to find out whether its employees feel stressed at work. It randomly selects 200 employees and sends them the survey. 145 employees return a completed survey, 56 of whom say they feel stressed. (a) Construct a confidence interval for the proportion of employees in the company who are feeling stressed. (b) If more employees had returned a completed survey, would the confidence interval be wider or narrower than your answer in (a)? Give...
Afirmthatproducesaccessoriesforsmartphoneshiredamarketingresearchcompany to find out how much its customers are willing to pay for its cases and...
Afirmthatproducesaccessoriesforsmartphoneshiredamarketingresearchcompany to find out how much its customers are willing to pay for its cases and screen protectors. The marketing research company found that there are only three types of customers with the following willingess to pay for cases and screen protectors: Customer A Customer B Customer C Case $3.25 $8.25 $10.00 Screen Protector $6.00 $3.25 $10.00 Bundle $9.25 $11.50 $20.00 As we did in class, assume that there is only one consumer of each type and that each consumer...
A marketing company wants to research whether the type of phone used by an individual is...
A marketing company wants to research whether the type of phone used by an individual is independent of the type of response from the individual. The company surveyed respondents by phone, drawing a random sample of landline telephones and another random sample of mobile phones. There were 3 types of responses: No Answer, Voicemail and Person answers phone Mobile Landline Total No Answer 552 42 594 Voicemail 3347 2843 6190 Person answers phone 8399 8612 17,011 Total 12,298 11,497 23,795...
A marketing company wants to research whether the type of phone used by an individual is...
A marketing company wants to research whether the type of phone used by an individual is independent of the type of response from the individual. The company surveyed respondents by phone, drawing a random sample of landline telephones and another random sample of mobile phones. There were 3 types of responses: No Answer, Voicemail and Person answers phone Mobile Landline Total No Answer 552 42 594 Voicemail 3347 2843 6190 Person answers phone 8399 8612 17,011 Total 12,298 11,497 23,795...
Question 1 Production Rates A manufacturing company wishes to find out whether the productivity of its...
Question 1 Production Rates A manufacturing company wishes to find out whether the productivity of its workforce has increased now that they have a new machine. The factory examined the records for a random sample of 8 hours over the past month. The hourly production rates for these 8 hours were :           142      175     162     158     190     154     160     185 Suppose the production rate before the use of the new machine is 150 units per hour with a standard...
A sports agent wants to find out whether the median annual income of players (athletes) in...
A sports agent wants to find out whether the median annual income of players (athletes) in each different type of sport is uniform. The following table shows the annual income (in Million US $) of 52 players (athletes) for 4 types of sports Football 1.2 1.6 2.2 3.4 1.4 1.6 5.0 4.0 3.0 2.9 7.6 4.8 Volley Ball 1.1 7.7 6.7 8.4 5.6 3.4 5.9 3.4 2.3 4.5 3.3 6.7 9.7 12.3 14.0 Basket Ball 4.0 2.3 1.1 0.4 0.9...
Suppose a marketing company wants to determine the current proportion of customers who click on ads...
Suppose a marketing company wants to determine the current proportion of customers who click on ads on their smartphones. It was estimated that the current proportion of customers who click on ads on their smartphones is 0.65. How many customers should the company survey in order to be 94% confident that the margin of error is 0.22 for the confidence interval of true proportion of customers who click on ads on their smartphones? Answer: (Round up your answer to nearest...
Suppose a marketing company wants to determine the current proportion of customers who click on ads...
Suppose a marketing company wants to determine the current proportion of customers who click on ads on their smartphones. It was estimated that the current proportion of customers who click on ads on their smartphones is 0.39 based on a random sample of 100 customers. Compute a 95% confidence interval for the true proportion of customers who click on ads on their smartphones and fill in the blanks appropriately. Answer: ___<P<____ (3 decimal Places)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT