Day Sunny or Cloudy Croissants sold weekend sunny 364 weekday sunny 254 weekend
ID: 2906679 • Letter: D
Question
Day Sunny or Cloudy Croissants sold weekend sunny 364 weekday sunny 254 weekend sunny 360 weekend sunny 346 weekend cloudy 292 weekday sunny 273 weekday sunny 273 weekend sunny 350 weekend cloudy 302 weekday cloudy 201 weekend cloudy 302 weekday cloudy 213 weekend cloudy 305 weekday sunny 261 weekday sunny 270 weekday cloudy 204 weekday sunny 245 weekend sunny 367 weekend sunny 365 weekday cloudy 202 weekday sunny 265 weekday sunny 273 weekday sunny 263 weekday cloudy 195 weekend cloudy 303 weekend sunny 363 weekday sunny 249 weekday sunny 248 weekday sunny 261 weekday cloudy 196 weekday cloudy 196 weekday sunny 273 weekday sunny 269 weekday cloudy 198 weekday sunny 268 weekday cloudy 191 weekend sunny 368 weekday sunny 267 weekend cloudy 294 weekday sunny 263 weekday cloudy 193 weekday sunny 259 weekend sunny 352 weekday cloudy 203 weekday cloudy 201 weekday sunny 267 weekend cloudy 295 weekday cloudy 214 weekday sunny 270 weekday sunny 256 weekday cloudy 191 weekday cloudy 206 weekday cloudy 190 weekday cloudy 191 weekday sunny 265 weekday cloudy 210 weekday cloudy 205 weekday cloudy 187 weekend cloudy 302 weekday cloudy 213 weekday cloudy 209 weekend cloudy 310 weekday cloudy 192 weekday cloudy 188 weekday cloudy 194 weekday cloudy 207 weekday sunny 251 weekday cloudy 202 weekday cloudy 189 weekend sunny 350 weekday sunny 252 weekday sunny 247 weekend cloudy 295 weekend sunny 372 weekday sunny 258 weekend sunny 348 weekday cloudy 202 weekday sunny 270 weekday cloudy 189 weekday cloudy 201 weekday sunny 270 weekday sunny 249 weekend cloudy 308 weekday cloudy 199 weekend cloudy 308 weekday sunny 267 weekday cloudy 193 weekend sunny 354 weekday cloudy 208 weekend sunny 357 weekday cloudy 200 weekend cloudy 288 weekday sunny 260 weekend sunny 357 weekday sunny 262 weekend sunny 357 weekday cloudy 205 weekend sunny 364 weekday cloudy 207 weekend sunny 357 weekend cloudy 293 weekend sunny 358 weekday sunny 258 weekday cloudy 205 weekend cloudy 290 weekday sunny 255 weekday sunny 265 weekend cloudy 303 weekday sunny 264 weekday sunny 264 weekend cloudy 291 weekday sunny 254 weekday cloudy 188 weekday cloudy 195 weekend sunny 359 weekday sunny 253 weekend sunny 361 weekday sunny 258 weekday cloudy 200 weekday sunny 274 weekday cloudy 192 weekday sunny 250 weekday cloudy 187 weekday sunny 258 weekday cloudy 192 weekday sunny 268 weekday cloudy 186 weekday cloudy 213 weekend cloudy 313 weekday cloudy 213 weekday sunny 257 weekend sunny 352 weekend cloudy 303 weekend sunny 354 weekday sunny 253 weekday sunny 275 weekend cloudy 299 weekday sunny 245 weekday sunny 270 weekday sunny 256 weekday cloudy 197 weekend sunny 375 weekday sunny 246 weekday cloudy 185 weekday cloudy 195 weekday sunny 257 weekday sunny 270 weekend cloudy 297 weekend sunny 356 weekend cloudy 296 weekday sunny 265 weekday cloudy 211 weekend cloudy 299 weekend cloudy 303 weekday sunny 261 weekday cloudy 208 weekend cloudy 296 weekday cloudy 185 weekend sunny 360 weekday cloudy 185 weekday cloudy 189 weekend cloudy 299 weekday cloudy 193 weekday cloudy 191 weekday sunny 267 weekday cloudy 213 weekday sunny 253 weekday cloudy 205 weekend cloudy 294 weekday cloudy 209 weekday sunny 258 weekday cloudy 212 weekday cloudy 195 weekday sunny 247 weekday cloudy 204 weekday sunny 265 weekday sunny 251 weekend cloudy 295 weekday cloudy 203 weekend sunny 373 weekday cloudy 192 weekday sunny 250 weekend sunny 356 weekday sunny 273 weekday sunny 251 weekday cloudy 202 weekend cloudy 303 weekend sunny 349 weekend sunny 355 weekday sunny 268 weekend sunny 368 weekday sunny 249 weekday sunny 270 weekday cloudy 195 weekday sunny 270 weekday sunny 261 weekend cloudy 295 weekday cloudy 185 weekday cloudy 196 weekday cloudy 193 weekday cloudy 203 weekend cloudy 287 weekday sunny 248 weekday cloudy 200 Instructions An owner of a bakery wants to know the effect of the weather and the day of the week on Croissant Sales Make the appropriate additions/changes to the data table. Run Regression Analysis and determine how weather and day of the week influence sales. Write you analysis here Include explanation of Regression Statistics, Coefficients, and P-Values Forcast On a cloudy weekend day, you are 95% sure sales will be between andExplanation / Answer
Owner of Bakery is interested in determining the effect of weather and weekdays of the bakery sale
The weekday and weather variable is categorical but the target variable sale is continuous so we won't use the linear regression model here,
Linear Regression Model:
> Model = lm(Sales~Day + weather,data = data)
> Model
Coefficients:
(Intercept) Day weekend weather sunny
198.88 99.26 61.36
The Fitted regression model is,
Sales = 198.88 + 99.26 * Day(weekend) + 61.36 * weather(sunny)
that means if the day is weekend and weather sunny then sales is,
sales = 198.88 + 99.26 + 61.36
= 359.5
that means if the day is weekend and weather cloudy then sales is,
sales = 198.88 + 99.26
= 298.14
if the day is weekday and weather cloudy then sales is,
sales = 198.88
if the day is a weekday and weather sunny then sales is,
sales = 198.88 + 61.36
= 260.24
That is most of the sale dose on weekend and sunny weather
Summary of Model:
> summary(Model)
Coefficients Estimate Std. Error t value Pr(>|t|)
(Intercept) 198.8839 0.8806 225.84 <2e-16 ***
Dayweekend 99.2566 1.2337 80.46 <2e-16 ***
weathersunny 61.3640 1.1349 54.07 <2e-16 ***
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
All variable has stared and also p-value less than 0.05 so all variables are significant means effect on the response variable.
Multiple R-squared: 0.9792, Adjusted R-squared: 0.979
The Adjusted value is very high so the model is the best fit.
>>>>>>>>>>>> Best Luck >>>>>>>>>>>>>>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.