Skip to main content

Python tools for geobootstrapping

Project description

Geobootstrap

geobootstrap is a novel computer simulation method that extends the classic bootstrap method (Efron 1979) in statistical analysis, to generate representative statistical measures e.g. standard deviations, confidence intervals and probability based values). Instead of passing the default None weights to pandas.sample, which results in equal probability weighting, kernel-based weights are used. The weights are determined by a distance decay function, that determines how quickly weights decrease as distances increase. This means that key statistical measures are computed by pooling or borrowing strength from neighbouring units. Thus, geobootstrap takes advantage of the spatial structure of GeoDataFrames.

Geobootstrap is based on pandas.sample and operates on geopandas.GeoDataFrames. The resampling takes place for each spatial entity and the fraction of samples returned is based on the fraction of the original dataset. So a GeoDataFrame with 10 spatial entities and a fraction of 1.0 (default) will return a list of 10 entries, each containing 10 different spatial entities. If the fraction was set to 0.8, then a list of 10 entries, each containing 8 different spatial entities would be returned.

Further descriptions about the methodology will be later provided but the contents of the package should provide enough detail for now. The potential use cases of this methodology include areal interpolation, which are illustrated in the coss package.

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

geobootstrap-0.12.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

geobootstrap-0.12-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file geobootstrap-0.12.tar.gz.

File metadata

  • Download URL: geobootstrap-0.12.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for geobootstrap-0.12.tar.gz
Algorithm Hash digest
SHA256 90cb75e6328b6f508130895caa22a5622751722d48434b4cdaa4b626761653d7
MD5 0281ebf21526c365753ac66cc63548f8
BLAKE2b-256 d90d419c5c45b57cffb2e3b838c04887aeaba79c099bffa4e58b7f5ae7f14207

See more details on using hashes here.

File details

Details for the file geobootstrap-0.12-py3-none-any.whl.

File metadata

  • Download URL: geobootstrap-0.12-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for geobootstrap-0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 be75c96bfb708c02e8b004fb0569159f81f64fdbb86c12ea4f82cff0ef63f3d1
MD5 3621ee0e827021d4045604dbe3af1042
BLAKE2b-256 bf15e4bd3911698834d3e6368ab5d9f1f469de0cbbf351f8967474c9df1e34d9

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