Below is my hypothesis: H0 - There is no correlation between the type of fast food consumed and obesity H1 - There is a negative correlation between the type of fast food consumed and obesity. Here we consider people who consume fast food alone, fast food with soda The fast food column represents whether a person consumes fast food - 1 If not, then 0 The soda column represents whether a person consumes soda -1 or not -0. In order to find out people consuming fast food and soda, I extract fast food records with 1 and soda value with 1 and create a separate column. Which statistical test can I used to work on my hypothesis? Please help! I have a submission.
Correlation
Correlation defines a relationship between two independent variables. It tells the degree to which variables move in relation to each other. When two sets of data are related to each other, there is a correlation between them.
Linear Correlation
A correlation is used to determine the relationships between numerical and categorical variables. In other words, it is an indicator of how things are connected to one another. The correlation analysis is the study of how variables are related.
Regression Analysis
Regression analysis is a statistical method in which it estimates the relationship between a dependent variable and one or more independent variable. In simple terms dependent variable is called as outcome variable and independent variable is called as predictors. Regression analysis is one of the methods to find the trends in data. The independent variable used in Regression analysis is named Predictor variable. It offers data of an associated dependent variable regarding a particular outcome.
Below is my hypothesis:
H0 - There is no
H1 - There is a
Here we consider people who consume fast food alone, fast food with soda
The fast food column represents whether a person consumes fast food - 1
If not, then 0
The soda column represents whether a person consumes soda -1 or not -0.
In order to find out people consuming fast food and soda, I extract fast food records with 1 and soda value with 1 and create a separate column.
Which statistical test can I used to work on my hypothesis? Please help! I have a submission.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images