Is one of the answers to excise2 for the week 4 assignment wrong?

image
Dì sì zhōu zuòyè de excise2 de yīgè dá’àn shìfǒu cuòwù? Dá’àn yīnggāi shì 2.99 Ba?

Is one of the answers to excise2 for the week 4 assignment wrong? The answer should be 2.99, right?

1 Like

I have the same issues too

Check to make sure you set your ‘s’ variable correctly. Use ddof=1 per the instructions and then you will get 2.88

1 Like

Check to make sure you set your ‘s’ variable correctly. Use ddof=1 per the instructions and then you will get 2.88

1 Like

thank you!!! you’re a lifesaver!!!

would you pls show the code ?My manual calculation is also 2.99

Follow the instruction very clearly in Exercise 1:

When computing the standard deviation be sure to compute the sample one instead of the population one. To accomplish this you can set the parameter ddof=1 within the np.std function.

No, that would violate the course Code of Conduct. Posting your code is not allowed.