Please show all work. I've only seen a very unhelpful answers for this question, so please do not copy and paste f...
5.9. a. Suppose that y is the average price (in thousands of dollars) of a typical three-bedroom home in a large Canadian city. Fourteen consecutive observations y1, y2, y14 are taken at consecutive 6-month intervals over 7 years. At the beginning of the eighth interval the government implemented steps to slow down the rate of the price increases. A possible model for these data specifies that prices increase linearly with time until the time point 8, at which time the rate of increase (slope) changes. Such a model consists of a pair of straight lines intersecting at time point 8. Formulate this as a linear model y XB+ e. Explicitly define the parameters you are using and write out the X matrix. b. An alternative model specifies that the government's actions had no effect on