Compute Multiple Linear Regression
Diamonds
| AGE | No of YRS | Social Support | Work stress |
| 25 | 2 | 23 | 11 |
| 29 | 5 | 29 | 10 |
| 43 | 20 | 20 | 26 |
| 44 | 20 | 15 | 24 |
| 50 | 19 | 9 | 31 |
| 49 | 20 | 22 | 33 |
| 50 | 21 | 11 | 34 |
| 53 | 22 | 12 | 32 |
| 24 | 1 | 29 | 15 |
| 35 | 7 | 25 | 26 |
| 33 | 5 | 21 | 24 |
| 27 | 2 | 30 | 23 |
| 51 | 25 | 8 | 31 |
| 49 | 22 | 13 | 28 |
| 45 | 21 | 16 | 25 |
| 24 | 1 | 29 | 10 |
| 39 | 10 | 25 | 23 |
| 24 | 1 | 30 | 11 |
| 27 | 3 | 23 | 18 |
| 29 | 4 | 28 | 14 |
| 40 | 13 | 13 | 23 |
| 41 | 16 | 25 | 25 |
| 49 | 20 | 21 | 23 |
| 60 | 33 | 14 | 30 |
| 59 | 30 | 12 | 33 |
| 62 | 33 | 10 | 29 |
| 55 | 20 | 18 | 27 |
| 28 | 3 | 26 | 12 |
| 29 | 4 | 24 | 14 |
| 30 | 4 | 25 | 27 |
| 31 | 5 | 23 | 24 |
| 32 | 4 | 27 | 33 |
| 39 | 5 | 23 | 29 |
| 34 | 3 | 21 | 22 |
| 35 | 6 | 25 | 23 |
| 46 | 8 | 20 | 33 |
| 57 | 29 | 20 | 33 |
| 30 | 4 | 26 | 26 |
| 49 | 13 | 17 | 33 |
| 40 | 16 | 25 | 28 |
| 32 | 5 | 29 | 21 |
| 42 | 17 | 21 | 26 |
| 53 | 24 | 14 | 29 |
| 44 | 16 | 22 | 25 |
| 25 | 1 | 30 | 19 |
| 28 | 2 | 27 | 20 |
| 47 | 20 | 19 | 28 |
| 58 | 25 | 19 | 30 |
| 59 | 25 | 16 | 29 |
| 50 | 20 | 21 | 30 |
| 41 | 15 | 25 | 29 |
| 32 | 4 | 22 | 21 |
| 53 | 27 | 17 | 29 |
| 44 | 20 | 21 | 26 |
| 55 | 30 | 20 | 27 |
| 56 | 29 | 20 | 29 |
| 37 | 20 | 26 | 23 |
| 58 | 30 | 15 | 30 |
| 59 | 30 | 12 | 31 |
| 60 | 33 | 14 | 30 |
| 61 | 32 | 18 | 29 |
| 32 | 9 | 24 | 24 |
| 33 | 7 | 21 | 27 |
| 24 | 1 | 24 | 11 |
| 45 | 18 | 21 | 25 |
| 66 | 39 | 23 | 30 |
| 43 | 17 | 26 | 26 |
| 42 | 16 | 9 | 22 |
| 39 | 10 | 20 | 24 |
| 50 | 25 | 12 | 30 |
| 61 | 32 | 14 | 31 |
| 52 | 25 | 17 | 29 |
| 33 | 5 | 21 | 23 |
| 44 | 15 | 20 | 30 |
| 55 | 26 | 16 | 26 |
| 46 | 20 | 23 | 24 |
| 37 | 9 | 21 | 21 |
| 28 | 4 | 26 | 20 |
| 38 | 9 | 21 | 21 |
| 60 | 35 | 15 | 27 |
| 41 | 17 | 21 | 25 |
| 32 | 9 | 26 | 21 |
| 24 | 1 | 24 | 14 |
| 27 | 2 | 25 | 12 |
| 33 | 5 | 23 | 22 |
| 39 | 7 | 21 | 29 |
| 41 | 16 | 21 | 28 |
| 40 | 15 | 19 | 27 |
| 48 | 15 | 21 | 30 |
| 50 | 25 | 20 | 31 |
| 51 | 25 | 20 | 32 |
| 60 | 32 | 24 | 30 |
| 33 | 9 | 26 | 28 |
| 44 | 20 | 22 | 29 |
| 28 | 3 | 21 | 16 |
| 36 | 9 | 24 | 23 |
| 35 | 7 | 21 | 25 |
| 48 | 20 | 27 | 25 |
| 45 | 17 | 25 | 26 |
| 61 | 33 | 25 | 30 |
Legend
| Data are for 308 round-cut diamonds, taken from a newspaper ad |
| Data were obtained from the Journal of Statistics Education data archive |
| IDNO - an identification number for each data point |
| WEIGHT - weight of the diamond, in carats |
| COLOR - degree of color purity in the diamond |
| "D" represents top color purity grade |
| Lesser grades are "E", "F", and so on, through the alphabet |
| CLARITY - diamond clarity (presence or absence of minute flaws) |
| "IF" means "internally flawless" - the top grade. No flaws visible under 10-power magnification |
| Other grades in descending order: |
| "VVS1" and "VVS2" for "very very slightly imperfect" |
| "VS1" and "VS2" for "very slightly imperfect" |
| RATER - the diamond was evaluated by one of three independent rating agencies |
| "GIA" - Gemmological Institute of America (based in New York) |
| "IGI" - International Gemmological Institute (Antwerp) |
| "HRD" - Hoge Raad Voor Diamant (Antwerp) |
| PRICE - in Singapore dollars |