I know what to do when I want to predict and find out correlation between two numerical variables. But I have a problem with categorical variables. Say I have a response variable, categorical, with three values: yes, no, and maybe, and then a numerical variable, say age. What measures do I use if:
1. Given an age, I want to be able to predict the response .
2. I want to find out if there is a correlation between the age and response variable. Whether linear or non-linear, I want to find out if a correlation exists.
What measures do I use? I am stumped.
1. Given an age, I want to be able to predict the response .
2. I want to find out if there is a correlation between the age and response variable. Whether linear or non-linear, I want to find out if a correlation exists.
What measures do I use? I am stumped.