We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Artificial Intelligence
- Probability & Statistics - Foundations
- Poisson Distribution #3
- Discussions
Poisson Distribution #3
Poisson Distribution #3
Sort by
recency
|
11 Discussions
|
Please Login in order to post a comment
I don't get why these questions are marked as hard.
print("0.050") instead of print("0.05")
R code: write (A, stdout) is printing either 0.05 or 4 digits after decimal for 1st part. Please help.
Don't round the value you want to print. Use:
For these kinds of questions the submission should be a form where we can just enter the dumb answer instead of trying to figure out what the hell the grader expects.
I submitted several answers: hard-coded plain text: 0.050 0.983 which I manually computed AND matches to the expected output but I am still getting it incorrect. I sumbitted the following R solution sprintf("%.3f",dpois(0,3)) sprintf("%.3f",round(1-(dpois(0,6) + dpois(1,6)),5))
And STILL getting it as wrong.
Is this question supposed to be about Poisson distributions or about R/Python formatting functions???