Skip to content

Commit

Permalink
Merge pull request #132 from smishr/design_update
Browse files Browse the repository at this point in the history
Add quantile example README
  • Loading branch information
smishr authored Dec 8, 2022
2 parents a5602c2 + c91580b commit 02d749b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@ mean(:api00, :cname, dsrs)
36 │ Napa 727.0 46.722
37 │ Lake 804.0 NaN
38 │ Merced 595.0 NaN

quantile(:enroll,dsrs,[0.1,0.2,0.5,0.75,0.95])
5×2 DataFrame
Row │ probability quantile
│ Float64 Float64
─────┼───────────────────────
10.1 245.5
20.2 317.6
30.5 453.0
40.75 668.5
50.95 1473.1
```

### Stratified Sample
Expand Down

0 comments on commit 02d749b

Please sign in to comment.