Skip to content

Commit b4678fc

Browse files
authored
Update 04-04-Probability.ipynb
Line #735 wrongly mentioning pbinom instead of dbinom from the script
1 parent 870c95e commit b4678fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Module04/04-04-Probability.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@
732732
"\n",
733733
"This is known as the *General Binomial Probability Formula*, and we use it to calculate the *probability mass function* (or *PMF*) for a binomial variable. In other words, the we can use it to calculate the probability for each possible value for the variable and use that information to determine the relative frequency of the variable values as a distribution.\n",
734734
"\n",
735-
"You can use the R **pbinom** function to calculate the probability of a random variable having a specific value (***k***) for a given number of experiments (***n***) where the event being tested has a given probability (***p***), as demonstrated in the following code:"
735+
"You can use the R **dbinom** function to calculate the probability of a random variable having a specific value (***k***) for a given number of experiments (***n***) where the event being tested has a given probability (***p***), as demonstrated in the following code:"
736736
]
737737
},
738738
{

0 commit comments

Comments
 (0)