obj_wls: Compute the objective for wls method
Description
Compute the objective for wls method
Usage
obj_wls(par, cor_fn, cor_emp, par_fixed)
Value
The objective of weighted least squares.
Arguments
- par
Parameters of cor_fn
.
- cor_fn
Correlation function.
- cor_emp
Empirical correlations.
- par_fixed
Fixed parameters of cor_fn
.