telmo-correa / all-of-statistics

Self-study on Larry Wasserman's "All of Statistics"
974 stars 278 forks source link

Exercise 3.14.14 contains an error. #7

Closed ksmirn0v closed 2 years ago

ksmirn0v commented 2 years ago

Hello,

The right answer for f(r) should be 2r instead of 2pi*r. Otherwise, you can't normalize f(r) to 1.

Best wishes, Kirill

telmo-correa commented 2 years ago

Updated, thank you.

ksmirn0v commented 2 years ago

@telmo-correa

I think, the solution still contains an error. F(r) has to be r^2.

It is because f(x,y) = 1/pi for x^2 + y^2 <= 1.

Best, Kirill

telmo-correa commented 2 years ago

Updated.

If there are further changes required, please make a PR.