Description Usage Arguments Details Value Author(s)

Internal function called by the Variog.fit and the ProbForecastGOP functions when fitting a spherical theoretical variogram to an empirical variogram via the method of Weighted Least Squares when the estimate of the nugget effect is held fixed.

1 | ```
spher.variog.fn(v,variog,d,w)
``` |

`v` |
numeric vector with the variance and range parameters of the spherical variogram. |

`variog` |
numeric vector giving the values of the empirical variogram at distances given by the numeric vector d. |

`d` |
numeric vector giving the distances (or the bin midpoints) at which the empirical variogram has been computed. |

`w` |
numeric vector giving the weights to be used in the Weighted Least Squares, that is, the number of pairs of meteorological stations with distance falling in any given bin. |

This function is an internal function that is used and called by the Variog.fit and the ProbForecastGOP functions to estimate the parameters of a spherical variogram when fitting to an
empirical variogram via Weighted Least Squares, keeping the nugget effect fixed.
**- Defaults -**

None.

The function returns the weighted least-square loss function relative to the empirical variogram and the theoretical spherical variogram evaluated for a given set v of variance and range parameters. This is the function that is minimized to obtain estimates of the variance and range parameters of the spherical variogram, when the nugget effect is held fixed.

Berrocal, V. J. veroberrocal@gmail.com, Gel, Y., Raftery, A. E., Gneiting, T.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.