Skip to main content

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.

Release files for geobootstrap 0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geobootstrap 0.12
File Size Uploaded
geobootstrap-0.12.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for geobootstrap 0.12
File Interpreter ABI Platform
geobootstrap-0.12-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / geobootstrap-0.12.tar.gz

Download URL geobootstrap-0.12.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
90cb75e6328b6f508130895caa22a5622751722d48434b4cdaa4b626761653d7
BLAKE2b-256 checksum
How to use checksums
d90d419c5c45b57cffb2e3b838c04887aeaba79c099bffa4e58b7f5ae7f14207
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release files / geobootstrap-0.12-py3-none-any.whl

Download URL geobootstrap-0.12-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be75c96bfb708c02e8b004fb0569159f81f64fdbb86c12ea4f82cff0ef63f3d1
BLAKE2b-256 checksum
How to use checksums
bf15e4bd3911698834d3e6368ab5d9f1f469de0cbbf351f8967474c9df1e34d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.12 This release

2 release files

0.11

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page