(1) An online retailer must decide whether to display advertisement A or advertisement B to each customer on the basis of collected customer demographics (age, income, zip code, and gender). A set of 150 of its customers have already expressed a preference for one advertisement or the other. (2) A policy analyst is interested in discovering factors that are associated with the crime rate across different U.S. cities. For each of 500 cities, the policy analyst gathers the following data: the crime rate, unemployment rate, population, median income, median home price, and state. (3) The the channel owner to see where the subscribers are located, their age and gender, the times and days they most ofte watch videos, and the subscription sources. SOE wishes to understand the different subtypes of subscribers. Engineering YouTube channel has 361 subscribers. YouTube allows
Contingency Table
A contingency table can be defined as the visual representation of the relationship between two or more categorical variables that can be evaluated and registered. It is a categorical version of the scatterplot, which is used to investigate the linear relationship between two variables. A contingency table is indeed a type of frequency distribution table that displays two variables at the same time.
Binomial Distribution
Binomial is an algebraic expression of the sum or the difference of two terms. Before knowing about binomial distribution, we must know about the binomial theorem.
![Explain whether each scenario below is a regression, classification, or unsupervised learn-
ing problem. If it is a supervised learning scenario, indicate whether we are more interested
in inference or prediction. Finally, provide in each case the number of observations, n,
and the number of predictors, p.
(1) An online retailer must decide whether to display advertisement A or advertisement
B to each customer on the basis of collected customer demographics (age, income,
zip code, and gender). A set of 150 of its customers have already expressed a
preference for one advertisement or the other.
(2) A policy analyst is interested in discovering factors that are associated with the
crime rate across different U.S. cities. For each of 500 cities, the policy analyst
gathers the following data: the crime rate, unemployment rate, population, median
income, median home price, and state.
(3) The
the channel owner to see where the subscribers are located, their age and gender, the
times and days they most often watch videos, and the subscription sources. SOE
wishes to understand the different subtypes of subscribers.
Engineering YouTube channel has 361 subscribers. YouTube allows](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F0df43032-4a38-4e14-ba56-039065cf4a5e%2F98160ef1-9e4a-4b5d-aa5e-ce27ca588314%2Fv1w4ds_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Answer:-
1)Classification problem. Here, we are more interested in prediction because the retailer wants to decide whether to display ad A or B to each customer. No. of observation n=150; no. of predictors=4 (age, income, zip code, gender).
2)Since, the rate is to be determined which takes a numeric range not discrete values this is a regression problem. N=500, p=6
Here, we are more interested in inference rather than prediction.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
![Elementary Statistics: Picturing the World (7th E…](https://www.bartleby.com/isbn_cover_images/9780134683416/9780134683416_smallCoverImage.gif)
![The Basic Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319042578/9781319042578_smallCoverImage.gif)
![Introduction to the Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319013387/9781319013387_smallCoverImage.gif)