# -*- 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
# $Id: Portfile 104679 2013-03-31 10:28:43Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           github 1.0
PortGroup           python 1.0

github.setup        tazzben EconScripts 1.1
name                EGSimulation
categories          science
platforms           darwin
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  04ccfd6aef32e323145116909ce5a89eec76018c \
                    sha256  6ee0bac77adaf1653a07b2ec6cafd53a2c1c5d19bb1092644e1fdee4094fb17b

python.versions     27

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

python.link_binaries_suffix
