What is the appropriate test if your dependent variable is continuous and your independent variable is categorical?

What is the appropriate test if your dependent variable is continuous and your independent variable is categorical?

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.

What test is used for continuous to continuous analysis?

ANALYSIS OF NORMALLY DISTRIBUTED CONTINUOUS VARIABLES The t-test is commonly used in statistical analysis. It is an appropriate method for comparing two groups of continuous data which are both normally distributed.

Can a logistic regression be used for a categorical DV?

Indeed, logistic regression is applicable in your case and is referred to as multinomial logistic regression, since your DV is of unordered categorical type. Should your DV be ordered, then that would be a case of an ordered logistic regression.

How to do a regression with dummy variables?

It is easier to understand and interpret the results from a model with dummy variables, but the results from a variable coded 1/2 yield essentially the same results. Lets make a copy of the variable yr_rnd called yr_rnd2 that is coded 1/2, 1=non year-round and 2=year-round.

How to do regression with a 1 / 2 variable?

3.2 Regression with a 1/2 variable A categorical predictor variable does not have to be coded 0/1 to be used in a regression model. It is easier to understand and interpret the results from a model with dummy variables, but the results from a variable coded 1/2 yield essentially the same results.

Can you use continuous variables in regression analysis?

In the previous two chapters, we have focused on regression analyses using continuous variables. However, it is possible to include categorical predictors in a regression analysis, but it requires some extra work in performing the analysis and extra work in properly interpreting the results.