Questions tagged [statistics]

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

319 questions
Filter by
Sorted by
Tagged with
57 views

Grouping wildfires dates by season and getting sum and count using ArcPy?

I am having some trouble creating a new shapefile and CSV to group wildfires into seasons. What I want to do is to group the wildfires by meteorological season (summer, fall, winter and spring) for ...
27 views

Calculating skewness and kurtosis with command line GDAL?

I have calculated histogram bins with the -hist option in gdalinfo. Is there an option to calculate skewness and kurtosis, using this or any other GDAL tool?
21 views

Converting distance from km to degrees (WGS84)?

Is there an equation in which I can convert distance in kilometers into degrees? I am performing a Kriging analysis and when I am measuring the distance between the input points (for LAG and Major ...
23 views

Image Statistics Import in Google Earth Engine?

I've wrote this code for Nitrogen Index. but it returns error. how can I solved this? code link: https://code.earthengine.google.com/ff6954984a933d11580d2717ba59670e error massage: Layer 2: Layer ...
29 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 ...
492 views

Changing Values Greater than Standard Deviation of Mean to Zero using ArcMap?

I have a feature class with greater than 1000 features and I would like to change all values greater than 2 Standard Deviations to a Zero. Seems like I could possibly use Field Calculator for ...
365 views

How to view “quick” statistics for a table in ArcGIS Pro

In ArcMap i can view statistics describing the values in numeric columns of the attribute table by right-clicking the field name and then click Statistics: I cant find statistics like this in ArcGIS ...
34 views

Using lidR to count number of pulse returns at different intervals?

I am trying to get the number of pulse at different height interval. I have used the lidR package to do this before with the code below but it seems that recent update in the package breaks my code. ...
66 views

Zonal statistics basic output

I have been using the zonal statistics tool to quantify the variability of slopes around archaeological sites. I have noticed in some experiments that there are differences between the mean and the ...
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 ...
32 views

Create mean raster stack from raster stack

I am trying to create a mean stack image(1 panchromatic layer) from a stacked tiff image(13 panchromatic layers). How do i go about doing this? My code: from osgeo import gdal import numpy as np #...
14 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 ...
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 ...
62 views

Calculating Length of Lines within polygon (buffered area) using QGIS?

I created a buffer around points and then merged these buffers to eliminate overlaps. Now I want to calculate the exact length of tracks within this area. It might be the case that at some points the ...
14 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 ...
211 views

Differences between Operations Dashboard for ArcGIS and Power BI? [closed]

We are looking for a possibilty to show some live statistics and calculation over geodata (the developement on some retail markets ) and want to see what is suitable. I have tried Power BI and have ...
23 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 ...
46 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 ...
125 views

correlation matrix and p-value in grass

I'd like to know if there is a way to obtain statistical significance and p-value for correlation coefficients calculated for different raster in grass with the command r.covar All that I obtain is ...
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 ...
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 ...
39 views

Calculate raster statistics for polygons in a polygon feature class

I have a DEM across my study area where symbology has been changed to show elevation changes in 100m intervals. I have a polygon feature class where each polygon delineates a landslide. My landslide ...
40 views

I am a beginner with GEE and I am trying to calculate the incoming net radiation for that I need the square inverse of relative earth sun distance using the expression dr = 1 + 0.033*cos(J*2*pi/365) ...
25 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 ...
36 views

Counting attribute value based on location using ArcGIS Pro?

I have a school district polygon divided up by neighborhood, and I am trying to determine the number of students from each grade per neighborhood. The student point file contains an attribute with ...
84 views

Calculate the percentage of a Line passing through Polygons

I have a polygon layer of a region (100% coverage, no overlaps) and a line layer in the same region. I want to calculate for each line to which percentage it crosses certain polygons. I have seen ...
1k views

What do “count”, “mean”, and “sum” in QgsZonalStatistics mean?

I am working with Qgis and making some analytics of lightdata. I've used these commands: rasterfile = qgis.utils.iface.mapCanvas().currentLayer().source() vectorlayer = qgis.utils.iface.mapCanvas()....
2k views

Scatterplot between two rasters in R?

I am very new in programming and I want to ask how can I make a scatterplot of two rasters in R and also get their correlation?
44 views

Classifying fields and getting statistics in ArcMap? [duplicate]

I am using ArcMap 10.6. I have a table with country data. I am interested in Asia only, so I created a new layer (and shapefile). Several countries have missing data, which was filled with the same ...
27 views

Comparing multiple means in ArcMap?

I have two fields of LU_Name and BETW. Is there any tool which compares the means of BETW in different groups based on the LU_Name nominal field and reports their significant correlation?
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 ...
7k views

Iterate through multiple Raster files and compute statistics using Zonal Statistics

I have a large number of raster images. What I'd like to do is to compute statistics on different sections of these raster files using a polygon. I think everyone is suggesting Zonal statistics. ...
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, ...
873 views

Generating DEMs from point clouds and differencing them?

I have two point clouds obtained via structure from motion (ground photos of sand-dunes + Visual SfM/Agisoft Photoscan). If I wanted to generate a DEM from these point clouds and difference them to ...
104 views

Getting statistics in cross sections at varying heights in LAS files?

I am looking to cross section my forest at varying heights. I have high return LAS data (8 points/m2 and average point spacing of 0.2m) and I am looking to do more than the simple 1, 2, 3 approach of ...
32 views

Get stats from a shape inside another shape

I have a big shapefile with many features. Then I have a another shape of less size, wich is in the same space that the first shape. I need to get stats (area, %) from the first shape that only match ...
46 views

Maximum Value Within Area

I have a large set of points and need to determine the individual point with the maximum value for a given attribute within 12 km quadrants and extract these to a separate shp. Currently, I have ...
578 views

Using R data with ArcPy to make histogram in ArcMap? [closed]

I am writing a tool in python which passes parameters to a R script, which in turn creates a DBF file. I read this DBF and want to make a histogram out of the data inside ArcMap as one of the results ...
57 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/...
825 views

Running regression in each sample separately? [closed]

I'd like to smooth an NDVI image by regression analysis; response of time series NDVI image to Julian date to represent the seasonal changes in NDVI as a function of Julian day. The time series NDVI ...
272 views

Creating grid with statistics of merged shapefiles in QGIS?

I operate with QGIS. I have to split the shape files of the buildings and the roads of a city into a grid of 500x500m per square and into each square I have to obtain the total free area, the total ...
46 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 ...
97 views

Using Statistics by category in QGIS?

I use the "statistics by category" tool from QGIS to learn what grain yields I got from different combinations of scenarios like: Soil A + Hybrid A + Planting Date A = Yield n Soil B + Hybrid A + ...
107 views

Calculating Bare Soil Line using R?

I am using a package in R called BSL (Bare soil line), package is at https://rdrr.io/cran/landsat/man/BSL.html. I've used it successfully to run regression line for my soil study area but it is ...
49 views

Sum attributes of feature that occurs multiple times within a layer

I am trying to add up the total contributing drainage area of multiple stormwater BMP's that are located on the same parcel for a layer that contains tens of thousands of parcels. I performed a one-to-...
227 views

Image Collection Statistics in Google Earth Engine?

How can I extarct mean of each image collection in google earth engine? for example for this code: var modis = ee.ImageCollection("MODIS/006/MOD13Q1") .filterBounds(geometry) .filterDate("2000-01-01",...
31 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-...
3k views

Calculating Percentiles in ArcMap?

I have a large polygon dataset (26,000) records with numerous attributes columns. I wish to calculate the percentile rank of each attribute. Say I have population_density in an attribute, is there a ...