squared sum of difference between obsereved and predicted
Arguments
x
input model x consisting of 4 values, phase, position,
amplitude, period
myEx
externally defined X-values
dC2
externally defined observations at X
Author
Jonathan M. Lees<jonathan.lees@unc.edu>
Details
This is the function used in optimization of sinusoidal fits to
climate data.
References
Wang, T., Surge, D., and Lees, J. M., (2015) ClamR: A Statistical Evaluation of Isotopic and Temperature Records in Sclerochronologic Studies. Palaeogeography, Palaeoclimatology, Palaeoecology, doi:10.1016/j.palaeo.2015.07.008.