Skip to main content

Produces critical values using the methods described in Cassey Smith (2014). Code is modernized from version published with paper to take advantage of advances in computing.

Project description

CasseySmithCV

Simulation software to generate critical values for the Ellison-Glaeser index (1997). This is updated software from Cassey and Smith (2014); it modernizes the codebase and increases the performance of the simulations.

Examples

Run a simulation of industries with 20 plants and sigma value of 1.

from CasseySmithCV import runSimulation, SimulationTable, SaveSimulationTable
resultDictionary = runSimulation(20,1)

Run all combinations of [20, 30] plants and [0.5, 1] sigma values:

from CasseySmithCV import runSimulation, SimulationTable, SaveSimulationTable
resultDataFrame = SimulationTable([20, 30],[0.5, 1])

Run all combinations of [20, 30] plants and [0.5, 1] sigma values and save the results to a file:

from CasseySmithCV import runSimulation, SimulationTable, SaveSimulationTable
SaveSimulationTable('filename.csv', [20, 30],[0.5, 1])

Installation

This package can be installed by using either the pip or conda command:

Installing by pip

pip install CasseySmithCV

Installing by conda

conda install -c tazzben casseysmithcv

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

casseysmithcv-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

casseysmithcv-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file casseysmithcv-0.1.0.tar.gz.

File metadata

  • Download URL: casseysmithcv-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for casseysmithcv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9b26a88701043a4657dc75711370a937a64ef6d922ad2132e2ea70d24a536842
MD5 fdda83bebd4d1d09194d685e52984087
BLAKE2b-256 dd48f85e0ab5d88f1b670807252e72de125433a37ef67b188e55ce4cd4c7416e

See more details on using hashes here.

File details

Details for the file casseysmithcv-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for casseysmithcv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb74bd84ac4b0af1d8dd1557c87405e6d3d024fe442ccfb77157b60d56a99e6a
MD5 1937173190c5b7ce5f6720a976e9deb0
BLAKE2b-256 9ca8d3e45b40d1c00f38f0d77875f571dd90d5551cf25447cd1370658dcdd5db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page