# Questions tagged [statistics]

Collecting and analyzing numerical data or making numerical summaries of data.

52 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2k views

### Plotting bar charts on maps in R?

I'm using plotrix in R to plot a state level map of the US. It has an excellent function floating.pie to put pie charts on each state. I'm wondering if there are similar functions within the plotrix ...
159 views

### Web mapping API popularity

Are there any online statistics for the popularity/usage of web mapping APIs? A diagram would be sufficient, if it can be published in a paper. I have only found one source: https://trends.builtwith....
51 views

### When polygons share boundaries, how to assign points which are very close to the boundary?

For traffic crashes, the data points are mostly mapped on roadways. Meanwhile, Census uses roadways (centerlines) as boundary for geographic areas like ZIP Code Tabulation Areas (ZCTAs). I'm trying ...
40 views

### Finding closest anticorrelated polygon or automate what is learned in semivariogram?

I am trying to do spatial autocorrelation of sorts based on a layer of polygons of mean rainfall data. I want to see how rainfall deviates from a certain point on the landscape. Essentially, I want to ...
396 views

### Why are my raster mean and standard deviation -1?

I have a set of about 25 rasters whose descriptive statistics I have been examining. The data in the rasters were calculated in Python and the rasters were created using Python-GDAL. In all but one ...
44 views

### Calculating share of overlapping areas via aggregate function in a virtual field

I'm trying to calculate the shared area for several overlapping areas. I need a dynamic solution in order to get automatically calculated statistics when drawing new polygons. The target area is in ...
199 views

### Computing stats with data ignore values - ENVI classic

I'm using ENVI classic (5.4.1) and trying to compute basic statistics from a Landsat-8 scene. When I mask out certain pixels (water set to 'No Data', for instance) the built-in ENVI statistics still ...
51 views

### One-dimensional data in spatstat

I have data of one-dimensional points (locations in a straight line). I want to check if the cluster poisson process models or Cox models are a good fit for the data. Since my data only has x-...
50 views

### Aggregating census tracts and reducing Coefficients of Variation?

I am working on a project that maps out poverty rates (ACS data) by census tract. Many of the tracts have CV's that are just too high for our study and I am hoping for find a sound methodology in ...
38 views

### Basic statistics function on certain attributes stops at 6% on certain layer in QGIS?

I am trying to use the basic statistics function in QGIS on an attribute in a vector shapefile but it reaches 6% and then gets stuck and does not load anymore. It works fine on other layers/other ...
172 views

### Zonal statistics error: 0-d arrays can't be indexed

How can I fix the error 0-d arrays can't be indexed? This message appears after the tentative to use the algorithm Qgis Zonal Statistics. Detail: the algorithm worked very well several times and then ...
382 views

### Bivariate Mapping (running a single variable regression and mapping r-squared value)

I am hoping to produce a bivariate map displaying the correlation between two variables (specifically percent SNAP participation by county against several social variables). I would like to produce ...
102 views

### Joining two fields after calculating?

I have been working with two layers and I am trying to join them and turn them into a raster data. The first layer is a watershed layer which I have assigned each shed a location from the center point ...
694 views

### How do I create a leader line for a label in my bar graph in ArcMap?

I am displaying a bar graph of various tornado watches and warnings along with the actual tornado touchdowns themselves. Since the tornado touchdowns are such a small number compared to the large ...
21 views

### Summing Attributes based on ID Field using ArcGIS Desktop?

I'm trying to sum attributes based on if their ID matches the ID of other attributes in the feature class. To explain further, each road has it's own Replacement Cost and Section Number as well as a ...
36 views

### Discrepancy in values between Summed Line Lengths and Clip in QGIS

I have a polygon vector layer containing four polygons, corresponding to four Protected Areas in a state in India. a line vector corresponding to all the rivers in that state. Desired output: I want ...
182 views

### Reprojecting raster using QGIS?

I'm currently working on MODIS satellite product "MOD16A2" which provides regular 500m's resolution pixel of evapotranspiration. I basically need to extract from the map the mean value of different ...
59 views

### arcpy.Statistics_analysis for multivalue parameter

I made this script to calculate the sum for a selected field after a query definition is defined. I have some issues now, to do with a multivalue field. The code is: import arcpy Layer1 = arcpy....
56 views

### Raster multivariate regression

I am looking for advice on how to set up a multivariate regression using raster data. My dependent variable is the location of firms in a specific industry. My independent variables are: lease rates ...
2k views

### Trying to link ZIP code to core-based statistical area

I have a dataset downloaded from the IRS reporting AGI by ZIP code (link: irs.gov). However, I'm interested in tying each ZIP code to statistical areas (whether it's [a] primary statistical area, [b] ...
58 views

### Two different outputs form QGIS basic statistics

I have two separate line layers, each with a length attribute column. When I compute basic statistics on the first layer's column, it works as expected, producing Mean, StdDev, and so on : But ...
242 views

### Summary statistics from feature iterator and select by location - missing selected feature name. Arcmap 10.2

I'm trying to calculate summary statistics for a subset of a point feature, based on selecting by location. I'm using a feature selection iterator to get statistics for each polygon feature in the '...
131 views

### Per-pixel Descriptive Statistics through multiple Raster layers

I'm looking for computing different descriptive statistics through a set of raster layers. I need to make it with a python script capable of running into a standalone tool within the QGIS. To do so ...
288 views

### Explaining different results from Ordinary Kriging and Universal Kriging?

When using either methods to create a surface from the same set of observations, these surfaces differ from each other. Visually it can be seen in the differences of the following contours (...
39 views

### Statistical bias arising out of only comparing US census block groups that have not changed (been split) over time?

Census Block Group ("CBG") study areas are notorious for changing over time. Even from 2009 to 2013, about 10-25% of the CBG's in South Carolina have not remained consistent over that time. Seeing ...
100 views

### Raster Area within a Polygon

using ArcGIS, I have a layer of overlapping polygons and a raster grid underneath. The raster is not a continuous grid - the cells are spread out. I simply need to calculate the total area of the ...
679 views

### Invalid drop item: Calculate statistics

I have a number of rasters that I need to calculate histograms for. These are continuous rasters from 0 to 294.208 - many decimal places. I need to be able to classify the histogram down to at least ...
362 views

### Road traffic database sample?

I would like to do some experiments on a traffic forecasting neural network and I need some real traffic data to run the network. My question is where can I download some real traffic statistics data ...
37 views

### Metrics of change between vector datasets

I have an old and a new set of parcel data which I'm looking to compare. I'm looking to compare changes in individual parcel geometries, so boundary/corner adjustment. Currently each parcel we have ...
94 views

### Plotting N-S and E-W Profile of Land Surface Temperature (LST) Across Land Use types in ArcGIS for Desktop?

I am working on my final year thesis and I need to plot the seasonal North-South and East-West profile of land surface temperature (LST) across various land use types. I have been able to extract ...
288 views

### Statistically compare two density maps?

I (will) have a modelled distribution and an observed distribution of animals. If I were to interpolate these position datasets to reflect some density distribution (perhaps using a kriging ...
248 views

### How to export raster into ascii without losing the statistics?

I had a problem in Mike Urban with a difference between a DEM (Digital Elevation Model) and a 2D overflood model and the support group requested me to remove the difference because the problems were ...
244 views

### Mann-Whitney U test for rasters

I'm doing a Mann-Whitney U test to compare two very large samples (sample size 1 = 13250; samlple size 2 = 38871) originating from a shapefile with 52121 features. I know t-tests are not recommended ...
400 views

### Reshape Matrix and perform Zonal Statistics in Matlab

I have 2 grids: 1) n by m - at 100m 2) n*10 by m *10 - at 10m. These grids cover the same area. I have to perform zonal statistics at scale of grid no.2. Cell value of grid no.1 is cumulative for ...
739 views

### QGis Grid statistics for polygons error - Module caused access violation!

I'm trying to calculate statistics for a raster layer using an overlaying polygon layer, I'm using SAGA "Grid Statistics for polygons" function, but it returns an error, sadly.. So in the sextante log ...
2k views

### Extract values from raster by using polygons

I am working with multiple raster files that cover all of united states. The file format of the rasters - GeoTIFF. I have around 100 geotiffs that I need to process. Then I have another shapefile with ...
37 views

### Zonal statistics using Python console in QGIS 3.8, error

Here is how the log shows for one raster image. I want to do this same thing for several rasters. The batch processing is not working. QGIS version: 3.8.0-Zanzibar QGIS code revision: 11aff65f10 Qt ...
28 views

### Standard deviation or standard error, which is right to present along with average as error bar?

I have monthly sea surface temperature data set for 1 year. I need to present seasonal average as bar chart and error bar to show deviation in each season. for example, season 1 = nov+dec+jan+feb/4 ...
10 views

### Comparing two spatial point processes (Cross K Function)

Suppose we have two spatial point process on the same space. One has \$n_1\$ points, the other \$n_2\$ points. I have been reading about statistically testing for independence, attraction or repulsion ...
12 views

### Why the Masking in ENVI does not give different statistical result

I want to run statistical band correlation of an image in ENVI. The image has been masked with polygon of interest, and shows no-data value outside the polygon. I expected that it calculated only the ...
13 views

### QGIS Group Stats - no option to add columns showing “first” value

I have a bunch of lines that have a phase name, and then a type. So like "Phase 1" and "12in Water". I have many phases and types in this dataset, and want to list the items in each phase, and the ...
23 views

### Statistic validation for spectral trajectories/trend from ground truth dataset

I'm doing an extraction of spectral trajectories for disturbed forest pixels using multitemporal (single scene for 20 years) Landsat Surface Reflectance products. Usually, forest disturbances are ...
19 views

### ERROR in R - it cannot support the vector

I did use the function crop and mean for 434 rasters in Rstudio. Each one is very big, it corresponds almost like 1/4 of Brazil. Now I want to calculate the standard deviation between these 434 ...
55 views

### Calculate Bare Soil Line Intercept using R

I am using an R package called BSL (Bare soil line), package is at https://rdrr.io/cran/landsat/man/BSL.html. The BSL package uses R's lmodel2 function (https://cran.r-project.org/web/packages/lmodel2/...
43 views

### R circular statistics on a raster time series

I have a raster time-series with values from 1 to 36 representing 10 days (dekads) timesteps and NA values. I need to calculate the average and the standard deviation, taking into account that ...
28 views

### Are there absolute minimum or maximum values for Sentinel-1 GRD images?

Sentinel satellite imagery has become a standard product for operational Earth observation. For the SAR case, this holds for Sentinel-1 ground-range-detected (GRD) imagery, in particular when terrain-...
41 views

### Parameters for BSL Package in R

I am using the landsat BSL (Bare Soil Line) package from R https://rdrr.io/cran/landsat/man/BSL.html, and I am wondering why the code sample is using llimit 0.005 and not 0.01: BSL(band3, band4, ...
58 views

### Statistical analysis of polygons QGIS : find areas of statistical difference

I have polygons for the country divided into E.D. areas. These polygons illustrate the average annual rainfall in their ED area. Is there any way to statistically tell if one polygon area has a ...