# Sample size calculation + experimental design

**URL:** https://discourse.julialang.org/t/sample-size-calculation-experimental-design/27433
**Category:** Statistics
**Created:** [August 11, 2019, 11:08pm UTC](https://discourse.julialang.org/t/sample-size-calculation-experimental-design/27433 "2019-08-11T23:08:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Crghilardi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/crghilardi/32/3738_2.png) [@Crghilardi](https://discourse.julialang.org/u/Crghilardi)
#### Post date: [August 11, 2019, 11:08pm UTC](https://discourse.julialang.org/t/sample-size-calculation-experimental-design/27433/1 "2019-08-11T23:08:55Z")

</div>

I started to write a small function that I use somewhat regularly to calculate sample size from coefficient of variation. I checked JuliaStats/StatsBase to see if any sample size functionality was included and I did not see anything.

I figured a thread here would be a helpful paper trail for anyone else.

Further searching turned up a few repos including:

[https://github.com/PharmCat/ClinicalTrialUtilities.jl](https://github.com/PharmCat/ClinicalTrialUtilities.jl)

[https://github.com/Testispuncher/ClinicalTrialSampleSize.jl](https://github.com/Testispuncher/ClinicalTrialSampleSize.jl)

[https://github.com/experimental-design/ExperimentalDesign.jl](https://github.com/experimental-design/ExperimentalDesign.jl)

[https://github.com/phrb/ExperimentalDesign.jl](https://github.com/phrb/ExperimentalDesign.jl)

Are there any packages I missed?  
The experimental-design org seems to be fairly recent and uses at least 1.0.

---

<div class="post-metadata">

### Author: ![phrb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phrb/32/13580_2.png) [@phrb](https://discourse.julialang.org/u/phrb)
#### Post date: [August 28, 2019, 11:35pm UTC](https://discourse.julialang.org/t/sample-size-calculation-experimental-design/27433/2 "2019-08-28T23:35:32Z")

</div>

Hi! I’ve been dedicating more time to ExperimentalDesign.jl recently, and I’m interested in collaborating!
