# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           python 1.0

github.setup        tazzben EconScripts 1.2
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                EGSimulation
revision            1
categories          science
platforms           {darwin any}
maintainers         ad.wsu.edu:tazz_ben
license             public-domain
supported_archs     noarch

description         Simulate the Ellison & Glaeser statistic using randomness alone

long_description    By using a simulation of firm sizes (using a lognormal \
                    distribution) and specified geographic regions, standard \
                    deviations and employee head count, we can compute the \
                    critical regions for the Ellison & Glaeser statistic. In \
                    the process, it also calculates herfindahl values and \
                    provides critical regions. You can also use Françoise \
                    Maurel and Béatrice Sédillot (1999)'s specification for \
                    both G and gamma.

homepage            ${github.homepage}/tree/master/Simulations/Python/EG%20Statistic
distname            ${name}-${version}

checksums           rmd160  d6b5d09981836ab80a8d1512df227b6685150b60 \
                    sha256  226181ccb0c42aa040541d051360c44778ccce226d5ccd7198222e008440bac7 \
                    size    5932

python.default_version     27

depends_lib-append  port:py${python.version}-pycryptodome \
                    port:py${python.version}-numpy \
                    port:py${python.version}-scipy
