From 17fc98cc812e0d1174b244f070b5af87fc48ad9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro?= Date: Wed, 8 Dec 2021 16:33:30 +0000 Subject: [PATCH] Update average.md --- content/R/average.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/R/average.md b/content/R/average.md index fe0f546..bbe155b 100644 --- a/content/R/average.md +++ b/content/R/average.md @@ -31,7 +31,7 @@ Let's have a look at each of these measures of central tendency one by one. ### Mean Mean is defined as the sum of all the observations divided by total number of sample observations. The basic formula for the mean of all the observations y1, y2, y3,…yn is given by -`X = y1+ y2 + y3 + ... + yn / n` +`X = (y1+ y2 + y3 + ... + yn) / n` Let us consider an example of dataset containing 7 datapoints `3, 5, 7, 9, 11, 13, 15`