oreilly_essential_math_for_data_science_book icon indicating copy to clipboard operation
oreilly_essential_math_for_data_science_book copied to clipboard

Possible Typo in Code Example and Exercise Solution

Open luzianscherrer opened this issue 2 years ago • 0 comments

https://github.com/thomasnield/oreilly_essential_math_for_data_science_book/blob/930169272a09108c089545667dcbbfec68ae286e/chapter_5/5_20_prediction_interval.py#L23

According to the formula given on page 183 (first edition, june 2022) this should be sqrt(1 + (1 / n) + (n * (x_0 + x_mean) ** 2) I think. The same issue is in the exercise solution on page 317.

luzianscherrer avatar Jul 23 '23 10:07 luzianscherrer