Answered step by step
Verified Expert Solution
Question
1 Approved Answer
business forecasting DayOfWeek Monday Thursday Saturday Wednesday Monday Monday Tuesday Sunday Saturday Wednesday Which of the following blocks of code can be used to create
business forecasting
DayOfWeek Monday Thursday Saturday Wednesday Monday Monday Tuesday Sunday Saturday Wednesday Which of the following blocks of code can be used to create a weekend dummy variable, where weekdays =0 and weekend days =1 ? a) Weekend=0; If DayOfWeek="Saturday" or DayOfWeek="Sunday" then Weekend=1; b) Weekend=0; If DayOfWeek="Saturday" or DayOfWeek="Sunday" then Weekend=0; c) Weekend =1; Weekday =0; d) Weekend =0; If DayOfWeek=Saturday or Sunday then Weekend =1 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started