Question: Open your data set from Assignment 6 in Excel. Create the squared term for temperature. Add a qualitative variable to your data set - weekend

Open your data set from Assignment 6 in Excel.
Create the squared term for temperature.
Add a qualitative variable to your data set-weekend or weekday (you can call this "Day" for brevity). Code weekdays as 0 and weekends as 1(if you want to find an effect, you may want to code the busier days as 1, but this is not necessary).
Create an interaction between temperature and weekend/weekday.
Create an interaction between temperature squared and weekend/weekday.
Insert a screenshot of your new data set below.
Open your data set from Assignment 6 in Excel.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!