Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 1

• 44 university students, randomly selected from a university

• Measurements: sexual attractiveness and body mass index (BMI)


id <- seq(1:44)
bmi <- c(11.0, 12.0, 12.5, 14.0, 14.0, 14.0, 14.0,
14.0, 14.0, 14.8, 15.0, 15.0, 15.5, 16.0,
16.5, 17.0, 17.0, 18.0, 18.0, 19.0, 19.0,
20.0, 20.0, 20.0, 20.5, 22.0, 23.0, 23.0,
24.0, 24.5, 25.0, 25.0, 26.0, 26.0, 26.5,
28.0, 29.0, 31.0, 32.0, 33.0, 34.0, 35.5,
36.0, 36.0)
sa <- c(2.0, 2.8, 1.8, 1.8, 2.0, 2.8, 3.2, 3.1, 4.0, 1.5,
3.2, 3.7, 5.5, 5.2, 5.1, 5.7, 5.6, 4.8, 5.4, 6.3,
6.5, 4.9, 5.0, 5.3, 5.0, 4.2, 4.1, 4.7, 3.5, 3.7,
3.5, 4.0, 3.7, 3.6, 3.4, 3.3, 2.9, 2.1, 2.0, 2.1,
2.1, 2.0, 1.8, 1.7)

 What is the best model to fit this data?

You might also like