Regression

Write your working on paper. Reveal each answer only after you've had a go.

1. The table shows the compression of a spring when different masses are applied.
Mass (kg)10203040506070
Compression (mm)-1.01-2.2-2.55-3.6-4.85-5.4-7.84
  1. Calculate the Pearson correlation coefficient (r) to 4 significant figures.
    Show answer
    Use your calculator's statistics mode, or a spreadsheet.
    r = -0.9778
  2. Calculate the equation of the line of best fit, in the form y = mx + c.
    Show answer
    gradient m = -0.1042, intercept c = 0.2486
    y = -0.1042x + 0.2486
  3. Use your line of best fit to estimate the compression (mm) when 45 kg is applied.
    Show answer
    compression = m × 45 + c
    -4.443 mm
  4. What is the spring rate in N/m?
    Show answer
    spring rate = 9810 / m (1 kg ≈ 9.81 N, and mm → m)
    94100 N/m
2. To find the electrical resistance of a test piece of silicon a range of voltages (V) was applied and the resulting current (A) measured.
Voltage (V)102030406080100
Current (A)0.020.060.10.160.240.260.34
  1. Calculate the Pearson correlation coefficient (r) to 4 significant figures.
    Show answer
    Use your calculator's statistics mode, or a spreadsheet.
    r = 0.9868
  2. Calculate the equation of the line of best fit, in the form y = mx + c.
    Show answer
    gradient m = 0.003498, intercept c = -0.001322
    y = 0.003498x − 0.001322
  3. Estimate the current (A) when 65 V is applied.
    Show answer
    current = m × 65 + c
    0.2260 A
  4. What is the resistance of the silicon, in ohms?
    Show answer
    from I = V/R, the gradient is 1/R, so R = 1/m
    285.9 Ω
3. The data below shows figures for height (cm) and mass (kg) for UK adults.
Height (cm)140150160170180190200
Mass (kg)64.8973.5870.5671.1483.4377.8192.7
  1. Calculate the Pearson correlation coefficient (r) to 4 significant figures.
    Show answer
    Use your calculator's statistics mode, or a spreadsheet.
    r = 0.8688
  2. Calculate the equation of the line of best fit, in the form y = mx + c.
    Show answer
    gradient m = 0.3741, intercept c = 12.70
    y = 0.3741x + 12.70
  3. Estimate the target weight (N) for a height of 180 cm.
    Show answer
    mass = m × 180 + c, then weight = mass × 9.81
    785.2 N
  4. What are the units of the gradient?
    Show answer
    gradient = change in mass (kg) / change in height (cm)
    kg/cm
4. The table shows annual income (in thousands of dollars) versus life expectancy in years.
Income ($ ×1000)0.51020406080100
Life expectancy (years)37.0343.6556.571.470.767.281.9
  1. Calculate the Pearson correlation coefficient (r) to 4 significant figures.
    Show answer
    Use your calculator's statistics mode, or a spreadsheet.
    r = 0.8972
  2. Calculate the equation of the line of best fit, in the form y = mx + c.
    Show answer
    gradient m = 0.3900, intercept c = 43.90
    y = 0.3900x + 43.90
  3. Estimate the life expectancy (years) for an annual income of $25,000.
    Show answer
    life expectancy = m × 25 + c (income is in thousands)
    53.65 years
  4. What are the units of the gradient?
    Show answer
    gradient = change in years / change in income ($1000)
    years per $1000 of income
5. A company measures its advertising spend versus sales income (both in thousands of pounds).
Spend (£ ×1000)23456810
Income (£ ×1000)22.8627.316.831.5933.646.4440.74
  1. Calculate the Pearson correlation coefficient (r) to 4 significant figures.
    Show answer
    Use your calculator's statistics mode, or a spreadsheet.
    r = 0.8285
  2. Calculate the equation of the line of best fit, in the form y = mx + c.
    Show answer
    gradient m = 2.989, intercept c = 15.10
    y = 2.989x + 15.10
  3. Estimate the sales income (£) for an advertising spend of £4500.
    Show answer
    income = (m × 4.5 + c) × 1000
    £28560
  4. Estimate the sales income (£) for an advertising spend of £8000.
    Show answer
    income = (m × 8.0 + c) × 1000
    £39020
New questions