Multivariate Geostatistics#
The pygeostat.multivariate module includes multivariate geostatistics functions.
Multivariate Analysis#
mds#
- pygeostat.multivariate.mds(data, variables=None)[source]#
Python implementation of the MDS coordinates calculated by the CCG program corrmat when set to ‘ordination’ mode.
MDS coordinates are calculate from the correlation matrix
See also
Deutsch, M. V, & Deutsch, C. V. (2013). A Program to Calculate and Display Correlation Matrices with Relevant Analysis. Edmonton AB. Retrieved from http://www.ccgalberta.com
- Parameters:
data – Tidy (long-form) 2-D data where each column is a variable and each row is an observation. A pandas dataframe or numpy array may be passed.
variables (list) – Variables from the pd.DataFrame passed with
datato calculate coordinates for
- Returns:
The 3-D MDS coordinates calculated
- Return type:
coords (pd.DataFrame)
Code author: pygeostat development team 2016-05-30