Question: The accompanying data set contains two variables, Date1 and Date2. a. Create a new variable called DifferenceInYear that contains the difference between Date1 and Date2

The accompanying data set contains two variables, Date1 and Date2. 

a. Create a new variable called “DifferenceInYear” that contains the difference between Date1 and Date2 in year for each observation. What is the average difference in year? 

b. Create a new variable called “Month” that contains the month values extracted from Date1. What is the average month value? 

c. Bin the month values in four equal-interval groups. Label the groups using numbers 1 (lowest values) to four (highest values). Which group has the highest number of observations?

Step by Step Solution

3.37 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a The average differ... View full answer

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 Business Statistics Communicating Questions!