Skip to content

Error in coefficient of determination of variogram fit. #205

Description

@donhalmina

Hello

As per the code, you can estimate the coefficient of determination (r2) to compare the fit of theoretical covariance model with the experimental semivariogram.

para, pcov, r2 = fit_model.fit_variogram(bin_center, gamma, return_r2=True)

However, this is wrong as r2 is for linear regression and the covariance functions are not linear. This makes the r2 not credible.
I suggest using a different goodness-of-fit criteria such as "standard error of regression" instead of r2.

Thanks.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions