Docsity

Correlation Coefficient, Exercises of Mathematical Statistics

Partial preview of the text

Download Correlation Coefficient and more Exercises Mathematical Statistics in PDF only on Docsity!

In this instance, they give information on the criminal and victim ages. We need to look at the relationship between these two variables. First, we must compute the correlation between them. Correlation tells us about the strength of the link between two variables. If there is a correlation between them, we go to Regression first. The correlation coefficient is as below, the scatter plot is given below,

The Calculation of r : Based on the given data, X Values โˆ‘ = 500 Mean = 25 โˆ‘(X - Mx)2 = SSx = 1360 Y Values โˆ‘ = 471 Mean = 23. โˆ‘(Y - My)2 = SSy = 318. X and Y Combined N = 20 โˆ‘(X - Mx)(Y - My) = 543 R Calculation r = โˆ‘((X - My)(Y - Mx)) / โˆš((SSx)(SSy)) r = 543 / โˆš((1360)(318.95)) = 0. r = 0. The value of R is 0.8245. Yes, there is a significant relationship between victim and criminal age. We can also use hypothesis testing to put this to the test. This is a significant positive correlation, indicating that high X variable (criminal age) scores correlate with high Y variable (victim age) scores. R2, or the coefficient of determination, is 0.6798. Because there is a correlation between them, we may construct a regression equation to predict the age of victims at a given age of criminals. b) The regression equation based on the given data is as follows, with victim age treated as the dependent variable y and criminal age as the independent variable x. The data in this case support regression analysis, and the correlation between them suggests that there is a relationship between variables. As a result, the regression equation for the victim's age is presented below. ลท = 13.568 + 0.399X This is the prediction equation. Calculation summary :