Consider the following data frame: set.seed(3) customers570){zo[i]=0}else{zo[i]=round(runif(1))}} when<-factor(zo,labels
Posted: Mon May 02, 2022 12:00 pm
Consider the following data frame: set.seed(3)
customers570){zo=0}else{zo=round(runif(1))}}
when<-factor(zo,labels = c("week","week-end"))
sales=410+15*customers+round(200*rnorm(100))
dfsales<-data.frame(sales,customers,when) Using a simple linear
regression analysis explain how the number of customer impacts on
sales
-------------------------------------------------------------------------------------------------------------------
customers570){zo=0}else{zo=round(runif(1))}}
when<-factor(zo,labels = c("week","week-end"))
sales=410+15*customers+round(200*rnorm(100))
dfsales<-data.frame(sales,customers,when) Using a simple linear
regression analysis explain how the number of customer impacts on
sales
-------------------------------------------------------------------------------------------------------------------