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.
A researcher wanted to know if there was a relationship between stress and frustration. The
researcher recruited n = 5 participants and asked them to solve a difficult puzzle in a short time
period. She then asked each participant to rate how stressful the task was and how frustrated
they were to solve the puzzle on a scale of 1 to 5. The data are below:
Stress (X) Frustration (Y)
2 1
2 2
3 4
3 4
3 5
Calculate the sum of products

Step by step
Solved in 2 steps









