Subscribe to DSC Newsletter

How can I get the prediction of categorical independent variable to produce the prediction of dependent variable

I have fit a model with my historical data. Model fit is quite okay.. But I am not able to make a prediction of dependent variable without the set of independent variable. In the case of numerical independent variable I used some smoothed techniques. But bit problem with categorical independent variables. Could you please suggest me any idea.

Views: 130


You need to be a member of AnalyticBridge to add comments!

Join AnalyticBridge

Comment by Purnendu Maji on October 7, 2010 at 11:13pm
Hi Vincent,
Yeah, in the time of fitting the model I have split the all categorical data into respective dummy variables. If a categorical variable are with k categories then respective number of dummies are (k-1), used in formal method. Model is fitted well. But I want to prediction of those categorical variables.
Comment by Vincent Granville on October 7, 2010 at 1:58pm
Can you transform categorical variables into dummy ones?

On Data Science Central

© 2021   TechTarget, Inc.   Powered by

Badges  |  Report an Issue  |  Privacy Policy  |  Terms of Service