I am trying to run a regression with various types of variables and I'm not sure its possible. I would really appreciate it if someone could point me in the right direction.
I am trying to predict SalePrice of a car (numeric)
And the predictors are Year (numeric), Metro (categorical), LINDEX, MonthofYear (categorical , but written as numbers), HaveTitle (numeric), Mileage (numeric), Running (numeric), and MC (categorical but written with numbers)
I am getting a result of "no observations"
. regress PaidAmount Year Metro LINDEX MonthofYear HaveTitle Mileage Running MC
no observations
r(2000);
I know that some re-coding will need to be redone as STATA won't know which of my variables that are categorical are written as numbers, etc. But I don't know how to move forward. Any assistance would be greatly appreciated. Thanks!
I am trying to predict SalePrice of a car (numeric)
And the predictors are Year (numeric), Metro (categorical), LINDEX, MonthofYear (categorical , but written as numbers), HaveTitle (numeric), Mileage (numeric), Running (numeric), and MC (categorical but written with numbers)
I am getting a result of "no observations"
. regress PaidAmount Year Metro LINDEX MonthofYear HaveTitle Mileage Running MC
no observations
r(2000);
I know that some re-coding will need to be redone as STATA won't know which of my variables that are categorical are written as numbers, etc. But I don't know how to move forward. Any assistance would be greatly appreciated. Thanks!
Comment