Skip to content

Commit 5aec7e6

Browse files
author
StephenElston
authored
Merge pull request #4 from stanasiukcom/patch-2
Typo fix to clarify which R function to use
2 parents 870c95e + b4678fc commit 5aec7e6

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)