<p>Your last question was easy to answer, this one is more difficult. You could look at <a href="https://en.wikipedia.org/wiki/Correlation_and_dependence" rel="noreferrer">correlation and dependence</a>, but you'd be better off looking at <a href="https://en.wikipedia.org/wiki/Variogram" rel="noreferrer">variography</a>. That's the easier part of this question dealt with.  Most resource geologists do not deal with correlation &amp; dependence, they do variography studies.</p>

<p>If you are dealing with a small data set to familiarize yourself with the concept of spatial continuity then writing code in any suitable computer language is okay. If however, you are analyzing a large or complex data set use a package which has been created to analyze such data.</p>

<p>To analyze a large or complex data set, the data will first have to be declustered so that data points are fairly uniformly distributed throughout the data set. The other thing that will then need to be done is to establish a three dimension search ellipsoid so that only data within the 3D ellipsoid is considered with each calculation of the variance - the 3D ellipsoid will be similar in shape to a rugby football or an Australian Rules football. The 3D ellipsoid will also have to be able to orientated in a specified search direction. It will then have to be positioned on each declustered data point and geostatistical variances determined for each point - note, the mathematical expression for geostatistical variance is slightly different to the one used by mathematicians - you can blame <a href="https://en.wikipedia.org/wiki/Georges_Matheron" rel="noreferrer">George Matheron</a> for that. </p>

CC BY-SA 4.0
2020-02-26T02:33:07.103Z
You are so knowledgable in this Fred. I highly appreciate your efforts to answer this.
zsh_18
CC BY-SA 4.0
2020-02-26T02:24:47.390Z
2020-02-26T02:24:47.390Z
Fred
<p>I have data like this of rocks from 3 blast holes:</p>

<p><a href="https://i.sstatic.net/yRJDw.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yRJDw.png" alt="enter image description here"></a></p>

<p>These are the rock properties of each blast hole of a mining site. The rock properties come from the Block model of that mining site.</p>

<p>I want to calculate the spatial continuity of these blast holes with up to V(X+12) for having 12 r square values. I am trying to program this in python.</p>

<p>Can anyone help me with the logic of how do we go about calculating that for such data?</p>

<p>Thanks</p>

CC BY-SA 4.0
2020-02-26T22:02:33.550Z
I'm confused. You want to calculate the spatial continuity of properties between 3 locations but the properties were obtained from the block model of the site. The block model is a model of the spatial continuity of the properties so what exactly are you trying to model that is different?
haresfur
<rocks><statistics><mining><geospatial>
Spatial Continuity in python
zsh_18
# Spatial Continuity in python

(Asked by: username_0 on 2020-02-26)

I have data like this of rocks from 3 blast holes:

[![enter image description here](https://i.sstatic.net/yRJDw.png)](https://i.sstatic.net/yRJDw.png)

These are the rock properties of each blast hole of a mining site. The rock properties come from the Block model of that mining site.

I want to calculate the spatial continuity of these blast holes with up to V(X+12) for having 12 r square values. I am trying to program this in python.

Can anyone help me with the logic of how do we go about calculating that for such data?

Thanks

**Tags:** rocks, statistics, mining, geospatial

> **Comments:**
> **username_1**: I'm confused. You want to calculate the spatial continuity of properties between 3 locations but the properties were obtained from the block model of the site. The block model is a model of the spatial continuity of the properties so what exactly are you trying to model that is different?  

---

## 1 answers

### Answer by username_2 on 2020-02-26. Score: 5

Your last question was easy to answer, this one is more difficult. You could look at [correlation and dependence](https://en.wikipedia.org/wiki/Correlation_and_dependence), but you'd be better off looking at [variography](https://en.wikipedia.org/wiki/Variogram). That's the easier part of this question dealt with. Most resource geologists do not deal with correlation & dependence, they do variography studies.

If you are dealing with a small data set to familiarize yourself with the concept of spatial continuity then writing code in any suitable computer language is okay. If however, you are analyzing a large or complex data set use a package which has been created to analyze such data.

To analyze a large or complex data set, the data will first have to be declustered so that data points are fairly uniformly distributed throughout the data set. The other thing that will then need to be done is to establish a three dimension search ellipsoid so that only data within the 3D ellipsoid is considered with each calculation of the variance - the 3D ellipsoid will be similar in shape to a rugby football or an Australian Rules football. The 3D ellipsoid will also have to be able to orientated in a specified search direction. It will then have to be positioned on each declustered data point and geostatistical variances determined for each point - note, the mathematical expression for geostatistical variance is slightly different to the one used by mathematicians - you can blame [George Matheron](https://en.wikipedia.org/wiki/Georges_Matheron) for that.

> **Comments:**
> **username_0**: You are so knowledgable in this username_2. I highly appreciate your efforts to answer this.  

---

