AdvStats is a python library for mathematical analysis of various sampling methods. So far the package supports analysis on cluster samples and stratifed samples. And the functions support various data formats. If using data from a table, the data can stored in two ways.
Data | Cluster/ Stratum |
---|---|
Data Point 1 | Cluster/ Stratum 1 |
Data Point 2 | Cluster/ Stratum 2 |
Cluster/ Stratum 1 | Cluster/ Stratum 2 |
---|---|
Data Point 1 | Data Point 3 |
Data Point 2 | Data Point 4 |
The required supporting can also just be manually entered. For more information look at the documentation or the tests.
pip install advstats
Documetation for the package can be found at pavanadapa.github.io(pavanadapa.github.io).
Implementation of a two-stage cluster sampling and more sampling methods are coming soon.