Which test do I use to estimate the correlation between an dependent categorical variable and a independent continuous variable?
ANOVA
ANOVA. When you have a continuous dependent variable and categorical independent variable(s), use ANOVA. ANOVA will tell you if there is a significant difference in means of the dependent variable given the different levels of the categorical independent variable, or combinations of levels of the independent variables.
How to find correlation between categorical and continuous variables?
In this article, we will see how to find the correlation between categorical and continuous variables. If a categorical variable only has two values (i.e. true/false), then we can convert it into a numeric datatype (0 and 1). Since it becomes a numeric variable, we can find out the correlation using the dataframe.corr () function.
Can a continuous variable be used as an independent variable?
It sounds like your independent variable is actually a categorical variable with two levels. Continuous variables don’t have levels like that. You can perform simple regression with one categorical independent variable. However, for simplicity, you can perform a 2-sample t-test and assess the mean difference between your two groups.
Can a binary dependent variable be used in regression?
Yes you can! In your case, you’re talking about a binary dependent variable because it has only two levels (presumably), admitted and not admitted. In that case, you’d use binary logistic regression and it’s fine to use a binary (or categorical) independent variable.
How is a categorical variable used in logistic regression?
A categorical variable has values that you can put into a countable number of distinct groups based on a characteristic. Logistic regression transforms the dependent variable and then uses Maximum Likelihood Estimation, rather than least squares, to estimate the parameters.