Question

In: Computer Science

Your company maintains a database with information on your customers, and you are interested in analyzing...

Your company maintains a database with information on your customers, and you
are interested in analyzing patters observed over the past quarter. 23% of customer
in the database placed new orders within this period. However, for those customers
who had a salesperson assigned to them, the new order rate was 58%. Overall, 14%
of customers within the database had salesperson assigned to them.
a) Draw a contingency table for this situation.
b) What percentage of customers in the database placed a new order but did not
have a salesperson assigned to them.
c) Given that a customer did not place a new order, what is the probability that the
customer had a salesperson assigned to him or her?
d) If a customer did not have a salesperson assigned to him or her, what is the
probability that the customer placed a new order?

Solutions

Expert Solution

Answer (a):

Salesperson assigned (down ) Placed new order -----> Yes No Total
Yes
No
Total 100

Lets assume the total number of customers in the databse are 100.

Now given,

23% of customer in the database placed new orders i.e 23 customers have placed new order (this is the cell yellow in table) i.e total of the yes column (placed new order)

Salesperson assigned (down ) Placed new order -----> Yes No Total
Yes
No
Total 23 100

Given,

14%of customers within the database had salesperson assigned to them. This is the cell red i.e total of Yes row (salesperson assigned).

Salesperson assigned (down ) Placed new order -----> Yes No Total
Yes 14
No
Total 23 100

Given, customers who had a salesperson assigned to them, the new order rate was 58%.

i.e the cell green denotes customers who had a salesperson assigned to them, and placed a new order. This is equal to

58 % of 14 = 8.12

Salesperson assigned (down ) Placed new order -----> Yes No Total(sum)
Yes 8.12 14
No
Total(sum) 23 100

Now we can fill rest of the cells based on the few filled entries in the table.

Salesperson assigned (down ) Placed new order -----> Yes No Total(sum)
Yes 8.12 5.88 14
No 14.88 71.2 86
Total(sum) 23 77 100

Answer (b):

percentage of customers in the database placed a new order but did not
have a salesperson assigned to them. = cell blue = 14.88

Answer (c):

Given that a customer did not place a new order, the probability that the
customer had a salesperson assigned to him or her =

5.88/77 = 0.076

Note that probability is asked here, not the percentage or no of customers.

Answer(d):

If a customer did not have a salesperson assigned to him or her,
the probability that the customer placed a new order =

14.88 / 86 = 0.17

Please let me know if you have any doubts/questions/need more explanation. Thanks


Related Solutions

You are interested in analyzing some hard-to-obtain data from two separate databases. Each database contains n...
You are interested in analyzing some hard-to-obtain data from two separate databases. Each database contains n numerical values -so there are 2n values total - and you may assume that no two values are the same. You’d like to determine the median of this set of 2n values, which we will define here to be the nth smallest value. However, the only way you can access these values is through queries to the databases. In a single query, you can...
A certain business keeps a database of information about its customers. A. Let C be the...
A certain business keeps a database of information about its customers. A. Let C be the rule which assigns to each customer shown in the table his or her home phone number. Is C a function? Explain your reasoning.
You are analyzing GSS data, and you are interested in whether or not respondents with diabetes...
You are analyzing GSS data, and you are interested in whether or not respondents with diabetes have a different number of days of poor mental health than respondents who do not have diabetes. Information about the variables: Name: Days of poor mental health past 30 days Questions associated with this variable: B. Now thinking about your mental health, which includes stress, depression, and problems with emotions, for how many days during the past 30 days was your mental health not...
Question 8Generous Dynamics maintains an inventory of 4000 ounces of gold.The company is interested...
Question 8Generous Dynamics maintains an inventory of 4000 ounces of gold. The company is interested in protecting the inventory against daily price changes. The correlation of the daily change in the spot and futures price is 0.4, the standard deviation of the daily spot price change is 26 percent, and the standard deviation of the daily change in the futures price is 14 percent. The futures contract size is 1000 ounces. How many contracts should GD buy or sell to...
You are interested in the in analyzing the price of gas at all the service stations...
You are interested in the in analyzing the price of gas at all the service stations you pass on your way to work in the morning. You gather the following prices: $4.05 $3,95, $3.98, $3.85, $3.71, $3.69, $3.95, $3.29, $3.84, $3.97, and $4.00. Based on these numbers, provide the mean, median, mode and standard deviation.
A local insurance company is analyzing the cost of the two bodyshops their customers tend...
A local insurance company is analyzing the cost of the two body shops their customers tend to use in hopes to save money. They randomly select 10 bills from their files of claim payments made in the last year to see if one company tends to be cheaper than the other. The data are shown below.Crash-tastic: 800 1100 1500 1800 1900 1420 2100 2300 1400 1500Mr. Fix It: 1700 1230 1220 1600 1120 1560 920 1800 1500 1400Part 1 of...
Use the “Consumer Food” Database on “Excel Databses.xls”. As the researcher you are interested in predicting...
Use the “Consumer Food” Database on “Excel Databses.xls”. As the researcher you are interested in predicting the annual food spending according to annual household income as well as a qualitative variable: location or region. Link to data: https://drive.google.com/file/d/1YMYMy7H0sLRZJzXwFKMrANuAGxmp-z9I/view?usp=sharing Please use excel and post step by step Construct two regression models to predict annual food spending: Model 1: Food = b0 + b1Income + b2Metro Model 2: Food = b0 + b1Income + b2NE + b3MW+ b4S NOTES: DO NOT: Print...
You were recently hired by a company that is interested in your knowledge of management. Your...
You were recently hired by a company that is interested in your knowledge of management. Your supervisor, like you, is new to the job and needs your help understanding the difference between a chase strategy and a level strategy in sales and operations planning. In your own words, explain the answer to your supervisor 5 sentences
Suppose your company has built a database application that runs on a centralized database, but even...
Suppose your company has built a database application that runs on a centralized database, but even with a high-end computer and appropriate indices created on the data, the system is not able to handle the transaction load, leading to slow processing of queries. What would be some of your options to allow the application to handle the transaction load?
University ITS maintains a database about the requests for software that staff members make for their...
University ITS maintains a database about the requests for software that staff members make for their units before each teaching period (e.g. Semester 1, Semester 2). A unit may need several items of software, installed in multiple labs. Labs are housed across the various buildings of the university, with each lab having a unique room number (e.g. Lab 245.3.062 is located in building number 245, name Science & Computing). Each piece of software is requested individually for a lab and...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT