Skip to content

Commit

Permalink
Merge pull request #128 from ayushpatnaikgit/readme2
Browse files Browse the repository at this point in the history
Update readme according to changes in SRC
  • Loading branch information
ayushpatnaikgit authored Dec 7, 2022
2 parents de52790 + 84b924f commit 53fbecb
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ dsrs = SimpleRandomSample(srs; weights = :pw)

mean(:api00, dsrs)
1×2 DataFrame
Row │ mean sem
Row │ mean SE
│ Float64 Float64
─────┼──────────────────
1656.585 9.24972

total(:enroll, dsrs)
1×2 DataFrame
Row │ total se_total
Row │ total SE
│ Float64 Float64
─────┼─────────────────────
13.62107e6 1.6952e5
13.62107e6 1.6952e5

by(:api00, :cname, dsrs, mean)
mean(:api00, :cname, dsrs)
38×3 DataFrame
Row │ cname mean sem
Row │ cname mean SE
│ String15 Float64 Float64
─────┼────────────────────────────────────
1 │ Kern 573.6 42.8026
Expand All @@ -68,30 +68,29 @@ dstrat = StratifiedSample(strat, :stype; weights = :pw, popsize = :fpc)

mean(:api00, dstrat)
1×2 DataFrame
Row │ Ȳ̂ SE
Row │ mean SE
│ Float64 Float64
─────┼──────────────────
1662.287 9.40894

total(:api00, dstrat)
1×2 DataFrame
Row │ grand_total SE
│ Float64 Float64
─────┼──────────────────────
1 4.10221e6 58279.0
Row │ total SE
│ Float64 Float64
─────┼────────────────────
14.10221e6 58279.0

by(:api00, :cname, dstrat, mean)
mean(:api00, :cname, dstrat)
40×3 DataFrame
Row │ cname domain_mean domain_mean_se
│ String15 Float64 Float64
─────┼─────────────────────────────────────────────
1 │ Los Angeles 633.511 21.3912
2 │ Ventura 707.172 31.6856
3 │ Kern 678.235 53.1337
38 │ Mariposa 706.0 0.0
39 │ Mendocino 632.018 1.04942
40 │ Butte 627.0 0.0
Row │ cname mean SE
│ String15 Float64 Float64
─────┼───────────────────────────────────────
1 │ Los Angeles 633.511 21.3912
2 │ Ventura 707.172 31.6856
3 │ Kern 678.235 53.1337
39 │ Mendocino 632.018 1.04942
40 │ Butte 627.0 0.0
```

## Strategic goals
Expand Down

0 comments on commit 53fbecb

Please sign in to comment.