Skip to content

Latest commit

 

History

History
17 lines (17 loc) · 288 Bytes

File metadata and controls

17 lines (17 loc) · 288 Bytes

Percentile

Preparation Code
# Sample Data
library(wooldridge)
Actual Code
Sample Task 1

Compute the first quartile (Q1).

quantile(gpa2$sat, 0.25)
Sample Task 2

Compute the 32% and 78% percentile.

quantile(gpa2$sat, c(0.32, 0.78))