Wide tables scroll horizontally. For detailed working, you may prefer a larger screen.
Required skills (click to reveal)
In a community garden in Brisbane, the number of zucchini plants (x) and the average weekly harvest in kilograms (y) were recorded over 10 weeks. The collected bivariate data is: (76, 33), (77, 35), (78, 37), (79, 39), (80, 41), (81, 43), (82, 45), (83, 47), (84, 49), (85, 51).
Using linear regression, determine the exact value of the y-intercept of the line of best fit for this data set. Express your answer as a simplified fraction.
Concept illustrations
These are separate worked examples of related concepts, not a diagram of this question. Their values and dimensions do not describe your question.
Press Start when ready. Time includes time spent in another tab. Submit your answer before opening a help panel for a timed rank.
My notes — optional, not graded
0 wordsNotes and scratch working stay in this browser and are linked to this question version. They are not graded or included in feedback. On shared devices, other people using this browser may see them.
For this question only. Your full notebook is on the dashboard.
Notes save in this browser. Download a copy to keep them elsewhere.
Report a problem or suggest an improvement
Your observations help improve this question. You can report an issue or recommend a better explanation, visual or experience.
Formula and explanation (click to reveal)
Opening this before your first submission makes the attempt practice only.
Formula
Explanation
Worked solution and answer (click to reveal)
Opening this before your first submission makes the attempt practice only.
Worked solution
- The data consists of 10 pairs of bivariate measurements: (x, y) where x is the number of zucchini plants and y is the average weekly harvest in kilograms. The data points are: (76, 33), (77, 35), (78, 37), (79, 39), (80, 41), (81, 43), (82, 45), (83, 47), (84, 49), (85, 51).
- To find the y-intercept of the line of best fit using linear regression, we use the formula for the line of best fit: y = mx + b, where m is the slope and b is the y-intercept. The y-intercept b is calculated as: b = ȳ - m x̄, where ȳ is the mean of y-values and x̄ is the mean of x-values.
- First, calculate the mean of x-values (x̄). Sum of x-values: 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85. This is an arithmetic series with 10 terms, first term 76, last term 85. Sum = (10/2) * (76 + 85) = 5 * 161 = 805. Therefore, x̄ = 805 / 10 = 80.5.
- Next, calculate the mean of y-values (ȳ). Sum of y-values: 33 + 35 + 37 + 39 + 41 + 43 + 45 + 47 + 49 + 51. This is also an arithmetic series with 10 terms, first term 33, last term 51. Sum = (10/2) * (33 + 51) = 5 * 84 = 420. Therefore, ȳ = 420 / 10 = 42.
- Now calculate the slope m using the formula: m = Σ[(xi - x̄)(yi - ȳ)] / Σ[(xi - x̄)^2]. We compute the numerator and denominator separately.
- Compute (xi - x̄) and (yi - ȳ) for each data point. x̄ = 80.5, ȳ = 42. For each point, calculate (xi - 80.5) and (yi - 42).
- Calculate the product (xi - x̄)(yi - ȳ) for each point and sum them. The values are: (76-80.5)= -4.5, (33-42)= -9 → product = 40.5; (77-80.5)= -3.5, (35-42)= -7 → 24.5; (78-80.5)= -2.5, (37-42)= -5 → 12.5; (79-80.5)= -1.5, (39-42)= -3 → 4.5; (80-80.5)= -0.5, (41-42)= -1 → 0.5; (81-80.5)= 0.5, (43-42)= 1 → 0.5; (82-80.5)= 1.5, (45-42)= 3 → 4.5; (83-80.5)= 2.5, (47-42)= 5 → 12.5; (84-80.5)= 3.5, (49-42)= 7 → 24.5; (85-80.5)= 4.5, (51-42)= 9 → 40.5. Sum of products = 40.5 + 24.5 + 12.5 + 4.5 + 0.5 + 0.5 + 4.5 + 12.5 + 24.5 + 40.5 = 165.
- Now compute Σ[(xi - x̄)^2]. For each xi: (76-80.5)^2 = (-4.5)^2 = 20.25; (77-80.5)^2 = (-3.5)^2 = 12.25; (78-80.5)^2 = (-2.5)^2 = 6.25; (79-80.5)^2 = (-1.5)^2 = 2.25; (80-80.5)^2 = (-0.5)^2 = 0.25; (81-80.5)^2 = (0.5)^2 = 0.25; (82-80.5)^2 = (1.5)^2 = 2.25; (83-80.5)^2 = (2.5)^2 = 6.25; (84-80.5)^2 = (3.5)^2 = 12.25; (85-80.5)^2 = (4.5)^2 = 20.25. Sum = 20.25 + 12.25 + 6.25 + 2.25 + 0.25 + 0.25 + 2.25 + 6.25 + 12.25 + 20.25 = 82.5.
- Now compute the slope m = 165 / 82.5 = 2. This is an exact division: 165 ÷ 82.5 = 2.
- Now compute the y-intercept b = ȳ - m x̄ = 42 - 2 * 80.5 = 42 - 161 = -119.
- The y-intercept is -119. This is an exact integer, so as a simplified fraction it is -119/1.
- The y-intercept of the line of best fit is exactly -119. This means that if there were 0 zucchini plants, the model predicts a harvest of -119 kg, which is not physically meaningful but mathematically valid for the regression line.
Reference answer: -119
Alternative methods (click to reveal)
Shortcuts are shown only when applicable. Check the conditions before using one.
Quick-method explanations are blurred in this trial preview. The standard formula and worked solution remain available.
Earlier attempts for this question
| # | Date / time | Your answer | Result | Seconds | Help revealed | Rank |
|---|
Worksheet details
Naming pattern: Topic_Grade_Complexity_YYYYMMDD_HH24MISS.html
Validation compares your answer with the generated reference. The model's reference can be wrong. Time ranks use an estimated student solving time, not a measured benchmark or a comparison with other students. An incorrect answer receives no speed rank.
NavGanitMate privacy & saved work
Saved in this browser. Your profile preferences, answers, practice history and notes are stored here when browser storage is available. They are not automatically uploaded to our servers. People sharing this browser may see saved work; changing the learner name does not create a separate private account. A nickname is enough.
Keep copies of important work. Clearing browser data, private browsing or changing browser or device can mean losing saved work. Download notes and export history separately. Downloads are copies of the selected content, not a complete account backup; not every format can be imported to restore your work. Keep these files somewhere private.
Visiting the website. Cloudflare helps deliver and protect this site and processes connection information such as IP addresses and requested pages. Server error logs may also contain request details. Security features may use cookies. This is separate from your browser-saved learning records. Cloudflare privacy information.
A parent-connection reminder uses a local list of up to five completed question IDs for this browser profile and a tab-session dismissal marker. Reminder activity is not uploaded and practice remains available.
Sharing feedback is your choice. A report includes your message and question/version details. Your saved profile, answers and notes are not automatically attached. Files you select can reveal personal details or contain embedded metadata: check and redact them before sharing. Diagnostic event codes and timestamps are included only after you enable logging. Sending email shares your message and attachments with the recipient and email providers. A download alone sends nothing to us. Website feedback delivery may be unavailable; only a confirmed receipt indicates it was received.
Files ready to save
If a file opens instead of downloading, use its save link below or your browser’s Save As command.