(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.
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