[All Steps] With the following data, do the following: Verify through the analysis of residuals if the assumptions of the analysis of covariance of: Normality
Question: With the following data, do the following:
- Verify through the analysis of residuals if the assumptions of the analysis of covariance of: Normality in the errors and that they are unrelated are fulfilled.
- Verify the assumption through hypothesis tests that all treatments have the same slope on the regression line. Use a significance level of 0.05.
A rehabilitation center is interested in examining the relationship between the physical condition of patients and the time of physical therapy required until the successful rehabilitation of the patient. Fitness was classified into three levels: lower than average (1), average (2), and above average (3). A sample of 24 patients was taken at random and the following data were recorded.
They have realized that age is a variable that can be used as a latent variable, since it is correlated with the days it takes the patient to recover. Data from a sample of 24 randomly selected patients are presented below.
| Days to recovery | Physical condition (Treatment) | Observation | Age |
| 29 | 1 | 1 | 18.3 |
| 42 | 1 | 2 | 30 |
| 38 | 1 | 3 | 26.5 |
| 40 | 1 | 4 | 28.1 |
| 43 | 1 | 5 | 29.7 |
| 40 | 1 | 6 | 27.8 |
| 30 | 1 | 7 | 19.8 |
| 42 | 1 | 8 | 29.3 |
| 30 | 2 | 1 | 20.8 |
| 35 | 2 | 2 | 25.2 |
| 39 | 2 | 3 | 29.2 |
| 28 | 2 | 4 | 20 |
| 31 | 2 | 5 | 21.5 |
| 31 | 2 | 6 | 22.1 |
| 29 | 2 | 7 | 19.7 |
| 35 | 2 | 8 | 24.7 |
| 29 | 2 | 9 | 20.2 |
| 33 | 2 | 10 | 22.9 |
| 26 | 3 | 1 | 22.7 |
| 32 | 3 | 2 | 28.7 |
| 21 | 3 | 3 | 18.9 |
| 20 | 3 | 4 | 18 |
| 23 | 3 | 5 | 21.7 |
| 22 | 3 | 6 | 20 |
Deliverable: Word Document 