public class LinearFit extends Object
| Constructor and Description |
|---|
LinearFit()
Create an instance with the assumption of
c = 2. |
LinearFit(double c)
This fitting assumes
c is a constant. |
| Modifier and Type | Method and Description |
|---|---|
ACERFunction.ACERParameter |
fit(double[] eta,
double[] epsilon,
double peakMean)
Fit the ACER function with OLS.
|
public LinearFit()
c = 2. Experiments show that this
assumption is a good choice.public LinearFit(double c)
c is a constant.c - the assumed value of cpublic ACERFunction.ACERParameter fit(double[] eta, double[] epsilon, double peakMean)
eta - the barrier levelsepsilon - the empirical epsilon valuespeakMean - the mean of the observed peaksCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.