0
$\begingroup$

I have a medical dataset with features age, bmi, sex, gender, # of children, region, charges, smoker. Here smoker, gender, sex and region are categorical variables and others are numerical features. How do I check for collinearity between these in my dataset?

$\endgroup$
1
$\begingroup$

You could just regress against any given variable.

You could also generate a matrix of correlation metrics. Depending on the variable type, you would need a different metric. Here are some common ones:

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.