In a regression problem with one output variable and one input variable, we set up two cutpoints z1 and z2 for the input variable and we fit a step function regression model based on these two cutpoints of the input variable. If you write the regression problem in matrix form y = X%*%β + ε, how many rows would the vector β have?

Managerial Economics: Applications, Strategies and Tactics (MindTap Course List)
14th Edition
ISBN:9781305506381
Author:James R. McGuigan, R. Charles Moyer, Frederick H.deB. Harris
Publisher:James R. McGuigan, R. Charles Moyer, Frederick H.deB. Harris
Chapter4: Estimating Demand
Section: Chapter Questions
Problem 1.4CE
icon
Related questions
Question

In a regression problem with one output variable and one input variable, we set up two cutpoints z1 and z2 for the input variable and we fit a step function regression model based on these two cutpoints of the input variable. If you write the regression problem in matrix form y = X%*%β + ε, how many rows would the vector β have?

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Managerial Economics: Applications, Strategies an…
Managerial Economics: Applications, Strategies an…
Economics
ISBN:
9781305506381
Author:
James R. McGuigan, R. Charles Moyer, Frederick H.deB. Harris
Publisher:
Cengage Learning