spsurvey5.5.1 package

Spatial Sampling Design and Analysis

localmean_cov

Internal Function: Variance-Covariance Matrix Based on Local Mean Esti...

localmean_var

Internal Function: Local Mean Variance Estimator

localmean_weight

Internal Function: Local Mean Variance Neighbors and Weights

pd_summary

Summary characteristics of a panel revisit design

plot

Plot sampling frames, design sites, and analysis data.

plot.sp_CDF

Plot a cumulative distribution function (CDF)

power_dsgn

Power calculation for multiple panel designs

ppd_plot

Plot power curves for panel designs

relrisk_analysis

Relative risk analysis

adjwgt

Adjust survey design weights by categories

adjwgtNR

Adjust survey design weights for non-response by categories

ash1_wgt

Compute the average shifted histogram (ASH) for one-dimensional weight...

attrisk_analysis

Attributable risk analysis

cat_analysis

Categorical variable analysis

cdf_plot

Plot a cumulative distribution function (CDF)

change_analysis

Change analysis

cont_analysis

Continuous variable analysis

cont_cdfplot

Create a PDF file containing cumulative distribution functions (CDF) p...

cont_cdftest

Cumulative distribution function (CDF) inference for a probability sur...

cov_panel_dsgn

Create a covariance matrix for a panel design

diffrisk_analysis

Risk difference analysis

errorprnt

Print errors from analysis functions

grts

Select a generalized random tessellation stratified (GRTS) sample

irs

Select an independent random sample (IRS)

revisit_bibd

Create a balanced incomplete block panel revisit design

revisit_dsgn

Create a panel revisit design

revisit_rand

Create a revisit design with random assignment to panels and time peri...

sp_balance

Calculate spatial balance metrics

sp_frame

sp_frame objects

sp_plot

Plot sampling frames, design sites, and analysis data.

sp_rbind

Combine rows from GRTS or IRS samples.

sp_summary

Summarize sampling frames, design sites, and analysis data.

spsurvey-package

spsurvey: Spatial Sampling Design and Analysis

stopprnt

Print grts() and irs() errors.

summary

Summarize sampling frames, design sites, and analysis data.

trend_analysis

Trend analysis

warnprnt

Print grts(), irs()), and analysis function warnings

A design-based approach to statistical inference, with a focus on spatial data. Spatially balanced samples are selected using the Generalized Random Tessellation Stratified (GRTS) algorithm. The GRTS algorithm can be applied to finite resources (point geometries) and infinite resources (linear / linestring and areal / polygon geometries) and flexibly accommodates a diverse set of sampling design features, including stratification, unequal inclusion probabilities, proportional (to size) inclusion probabilities, legacy (historical) sites, a minimum distance between sites, and two options for replacement sites (reverse hierarchical order and nearest neighbor). Data are analyzed using a wide range of analysis functions that perform categorical variable analysis, continuous variable analysis, attributable risk analysis, risk difference analysis, relative risk analysis, change analysis, and trend analysis. spsurvey can also be used to summarize objects, visualize objects, select samples that are not spatially balanced, select panel samples, measure the amount of spatial balance in a sample, adjust design weights, and more. For additional details, see Dumelle et al. (2023) <doi:10.18637/jss.v105.i03>.

  • Maintainer: Michael Dumelle
  • License: GPL (>= 3)
  • Last published: 2024-01-09