R · Statistical analysis
Read descriptive statistics together
Work with the mini survey and compare your output with the expected result.
Mini exercises · Practice with data ↓
Try it in three steps
- Extract the mini exercise package below. Complete the cleaning task or use anket-temiz.csv. No extra R package is required.
- Work in the data folder and load the data: df <- read.csv("anket-temiz.csv", na.strings="")
- Run: c(n=sum(!is.na(df$minutes)), mean=mean(df$minutes, na.rm=TRUE), median=median(df$minutes, na.rm=TRUE), sd=sd(df$minutes, na.rm=TRUE))
How to read the output
Valid n=18; mean 61.67; median 65; sample standard deviation 31.11 minutes.
Test your understanding.
True or false?
These synthetic data establish conclusions about a real population.
Related concepts
Official source
R · Documentation ↗Documentation checked: . Steps are based on official documentation and have not been tested in the application. Menu names may differ by version and interface language.