03 - Statistical Basics
Computing the mean
While computation of the mean is a subject as broad as life, we'll start with a simple average.
Data
Let's say we have a blood-data.csv
file:
Save it to the file, and let's read this data to a dataframe:
Statistics
Read data
Computing the mean
This is literally (5.34 + 4.74 + 4.12 + 4.11) / 4 = 4.5775
.
OK. Enough with the simple. Let's do some required sample size computations for hypothesis testing.
Last updated