You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The qbern() function appears to return 1 instead of 0 for the input p = 0.1, prob = 0.9, and lower.tail = TRUE. Based on the Bernoulli CDF, the expected result is 0, as P(X <= 0) = 0.1 satisfies the condition F(q) >= p.
Description:
The
qbern()
function appears to return1
instead of0
for the inputp = 0.1
,prob = 0.9
, andlower.tail = TRUE
. Based on the Bernoulli CDF, the expected result is0
, asP(X <= 0) = 0.1
satisfies the conditionF(q) >= p
.Steps to Reproduce:
The text was updated successfully, but these errors were encountered: