@Deprecated public class NonLinearRegressionFitter2 extends Object
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
best
Deprecated.
|
protected double[] |
bestSd
Deprecated.
|
protected double |
cCoeff
Deprecated.
|
protected double |
chiSquare
Deprecated.
|
protected int |
constraintMethod
Deprecated.
|
protected double[] |
constraints
Deprecated.
|
protected double |
constraintTolerance
Deprecated.
|
protected double[][] |
corrCoeff
Deprecated.
|
protected double[][] |
covar
Deprecated.
|
protected int |
degreesOfFreedom
Deprecated.
|
protected double |
delta
Deprecated.
|
protected double |
dStep
Deprecated.
|
protected double |
eCoeff
Deprecated.
|
protected boolean[] |
fixed
Deprecated.
|
protected double |
fMin
Deprecated.
|
protected double[] |
fscale
Deprecated.
|
protected double |
fTol
Deprecated.
|
protected double[][] |
grad
Deprecated.
|
protected static double |
histTol
Deprecated.
|
protected boolean |
ignoreDofFcheck
Deprecated.
|
protected boolean |
invertFlag
Deprecated.
|
protected int |
konvge
Deprecated.
|
protected int |
kRestart
Deprecated.
|
protected double |
lastSSnoConstraint
Deprecated.
|
protected boolean |
linNonLin
Deprecated.
|
protected int |
maxConstraintIndex
Deprecated.
|
protected int |
minTest
Deprecated.
|
protected boolean |
multipleY
Deprecated.
|
protected int |
nConstraints
Deprecated.
|
protected int |
nData
Deprecated.
|
protected boolean |
nFactorOption
Deprecated.
|
protected int |
nIter
Deprecated.
|
protected boolean |
nlrStatus
Deprecated.
|
protected int |
nMax
Deprecated.
|
protected int |
nSumConstraints
Deprecated.
|
protected int |
nTerms
Deprecated.
|
protected int |
nYarrays
Deprecated.
|
protected ArrayList<Object> |
penalties
Deprecated.
|
protected boolean |
penalty
Deprecated.
|
protected int[] |
penaltyCheck
Deprecated.
|
protected int[] |
penaltyParam
Deprecated.
|
protected double |
penaltyWeight
Deprecated.
|
protected boolean |
posVarFlag
Deprecated.
|
protected double[] |
pseudoSd
Deprecated.
|
protected double[] |
pValues
Deprecated.
|
protected double |
rCoeff
Deprecated.
|
protected double |
reducedChiSquare
Deprecated.
|
protected VoxelArrayND |
residual
Deprecated.
|
protected VoxelArrayND |
residualW
Deprecated.
|
protected int |
scaleOpt
Deprecated.
|
protected double |
simplexSd
Deprecated.
|
protected double[] |
startH
Deprecated.
|
protected boolean |
statFlag
Deprecated.
|
protected double[] |
step
Deprecated.
|
protected double[] |
sumConstraints
Deprecated.
|
protected double |
sumOfSquares
Deprecated.
|
protected ArrayList<Object> |
sumPenalties
Deprecated.
|
protected boolean |
sumPenalty
Deprecated.
|
protected int[] |
sumPenaltyCheck
Deprecated.
|
protected int[] |
sumPenaltyNumber
Deprecated.
|
protected int[][] |
sumPenaltyParam
Deprecated.
|
protected double[][] |
sumPlusOrMinus
Deprecated.
|
protected boolean |
trueFreq
Deprecated.
|
protected double[] |
tValues
Deprecated.
|
protected double[] |
values
Deprecated.
|
protected VoxelArrayND |
weight
Deprecated.
|
protected int |
weightFlag
Deprecated.
|
protected boolean |
weightOpt
Deprecated.
|
protected VoxelArrayND |
xData
Deprecated.
|
protected VoxelArrayND |
yCalc
Deprecated.
|
protected VoxelArrayND |
yData
Deprecated.
|
protected boolean |
zeroCheck
Deprecated.
|
| Constructor and Description |
|---|
NonLinearRegressionFitter2(double[] xData,
double[] yData,
double[] weight)
Deprecated.
Constructor with data with x as 1D array and weights provided
|
NonLinearRegressionFitter2(VoxelArrayND xData,
VoxelArrayND yData,
VoxelArrayND weights)
Deprecated.
Constructor with data with x as 1D array and weights provided
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConstraint(int[] paramIndices,
double[] plusOrMinus,
int conDir,
double constraint)
Deprecated.
|
void |
addConstraint(int[] paramIndices,
int[] plusOrMinus,
int conDir,
double constraint)
Deprecated.
|
void |
addConstraint(int paramIndex,
int conDir,
double constraint)
Deprecated.
|
protected VoxelArrayND |
checkForZeroWeights(VoxelArrayND weights)
Deprecated.
Check entered weights for zeros.
|
void |
checkZeroNeg(double[] xx,
double[] yy,
double[] ww)
Deprecated.
|
double[] |
getBestEstimates()
Deprecated.
|
double[] |
getBestEstimatesErrors()
Deprecated.
|
double[] |
getbestestimatesStandardDeviations()
Deprecated.
|
double[] |
getBestEstimatesStandardDeviations()
Deprecated.
|
double |
getChiSquare()
Deprecated.
|
double |
getchiSquareProb()
Deprecated.
|
double[] |
getCoeff()
Deprecated.
|
double[] |
getCoeffSd()
Deprecated.
|
double[] |
getCoeffVar()
Deprecated.
|
double[][] |
getCorrCoeffMatrix()
Deprecated.
|
double[][] |
getCovMatrix()
Deprecated.
|
double |
getDegFree()
Deprecated.
|
double |
getDelta()
Deprecated.
|
double[][] |
getGrad()
Deprecated.
|
boolean |
getInversionCheck()
Deprecated.
|
int |
getMinTest()
Deprecated.
|
int |
getNiter()
Deprecated.
|
boolean |
getNlrStatus()
Deprecated.
|
int |
getNmax()
Deprecated.
|
double |
getNMcontract()
Deprecated.
|
double |
getNMextend()
Deprecated.
|
double |
getNMreflect()
Deprecated.
|
int |
getNrestarts()
Deprecated.
|
int |
getNrestartsMax()
Deprecated.
|
boolean |
getPosVarCheck()
Deprecated.
|
double[] |
getPseudoErrors()
Deprecated.
|
double[] |
getPseudoSd()
Deprecated.
|
double[] |
getPvalues()
Deprecated.
|
double |
getReducedChiSquare()
Deprecated.
|
double[] |
getResiduals()
Deprecated.
|
double[] |
getScale()
Deprecated.
|
double |
getSimplexSd()
Deprecated.
|
double |
getSumOfSquares()
Deprecated.
|
double |
getTolerance()
Deprecated.
|
boolean |
getTrueFreq()
Deprecated.
|
double[] |
getTvalues()
Deprecated.
|
double[] |
getWeightedResiduals()
Deprecated.
|
double[] |
getXdata()
Deprecated.
Get the input x values
|
double[] |
getYcalc()
Deprecated.
|
double[] |
getYdata()
Deprecated.
Get the inputed y values
|
protected static double |
halfWidth(double[] xData,
double[] yData)
Deprecated.
|
static double[][] |
histogramBins(double[] data,
double binWidth,
double binZero)
Deprecated.
|
static double[][] |
histogramBins(double[] data,
double binWidth,
double binZero,
double binUpper)
Deprecated.
|
void |
ignoreDofFcheck()
Deprecated.
|
protected void |
nelderMead(Object regFun,
double[] start,
double[] step,
double fTol,
int nMax)
Deprecated.
Nelder and Mead Simplex Simplex Non-linear Regression
|
protected int |
pseudoLinearStats(Object regFun)
Deprecated.
apply linear statistics to a non-linear regression
|
void |
removeConstraints()
Deprecated.
|
void |
setConstraintTolerance(double tolerance)
Deprecated.
|
void |
setData(double[] xData,
double[] yData,
double[] weights)
Deprecated.
|
void |
setData(VoxelArrayND xData,
VoxelArrayND yData,
VoxelArrayND weights)
Deprecated.
|
void |
setDelta(double delta)
Deprecated.
|
void |
setMinTest(int n)
Deprecated.
|
void |
setNmax(int nmax)
Deprecated.
|
void |
setNMcontract(double con)
Deprecated.
|
void |
setNMextend(double ext)
Deprecated.
|
void |
setNMreflect(double refl)
Deprecated.
|
void |
setNrestartsMax(int nrs)
Deprecated.
|
void |
setScale(double[] sc)
Deprecated.
|
void |
setScale(int n)
Deprecated.
|
void |
setTolerance(double tol)
Deprecated.
|
void |
setTrueFreq(boolean trFr)
Deprecated.
|
protected static boolean |
setTrueFreqWeights(VoxelArrayND yData,
VoxelArrayND weight)
Deprecated.
|
void |
simplex(Function1D g,
double[] start)
Deprecated.
|
void |
simplex(Function1D g,
double[] start,
double fTol)
Deprecated.
|
void |
simplex(Function1D g,
double[] start,
double[] step)
Deprecated.
|
void |
simplex(Function1D g,
double[] start,
double[] step,
double fTol)
Deprecated.
|
void |
simplex(Function1D g,
double[] start,
double[] step,
double fTol,
int nMax)
Deprecated.
|
void |
simplex(Function1D g,
double[] start,
double[] step,
int nMax)
Deprecated.
|
void |
simplex(Function1D g,
double[] start,
double fTol,
int nMax)
Deprecated.
|
void |
simplex(Function1D g,
double[] start,
int nMax)
Deprecated.
|
void |
simplex2(FunctionND g,
double[] start)
Deprecated.
|
void |
simplex2(FunctionND g,
double[] start,
double fTol)
Deprecated.
|
void |
simplex2(FunctionND g,
double[] start,
double[] step)
Deprecated.
|
void |
simplex2(FunctionND g,
double[] start,
double[] step,
double fTol)
Deprecated.
|
void |
simplex2(FunctionND g,
double[] start,
double[] step,
double fTol,
int nMax)
Deprecated.
|
void |
simplex2(FunctionND g,
double[] start,
double[] step,
int nMax)
Deprecated.
|
void |
simplex2(FunctionND g,
double[] start,
double fTol,
int nMax)
Deprecated.
|
void |
simplex2(FunctionND g,
double[] start,
int nMax)
Deprecated.
|
protected static void |
sort(double[] x,
double[] y,
double[] w)
Deprecated.
|
protected double |
sumSquares(Object regFun,
double[] testParameter)
Deprecated.
Calculate the sum of squares of the residuals for non-linear regression
|
protected static double histTol
protected int nData
protected int nYarrays
protected int nTerms
protected int degreesOfFreedom
protected VoxelArrayND xData
protected VoxelArrayND yData
protected VoxelArrayND yCalc
protected VoxelArrayND weight
protected VoxelArrayND residual
protected VoxelArrayND residualW
protected boolean weightOpt
protected int weightFlag
protected double[] best
protected double[] bestSd
protected double[] pseudoSd
protected double[] tValues
protected double[] pValues
protected double chiSquare
protected double reducedChiSquare
protected double sumOfSquares
protected double lastSSnoConstraint
protected double[][] covar
protected double[][] corrCoeff
protected boolean linNonLin
protected boolean trueFreq
protected boolean nlrStatus
protected int scaleOpt
protected double[] fscale
protected boolean zeroCheck
protected boolean penalty
protected boolean sumPenalty
protected int nConstraints
protected int nSumConstraints
protected int maxConstraintIndex
protected double constraintTolerance
protected int[] penaltyCheck
protected int[] sumPenaltyCheck
protected double penaltyWeight
protected int[] penaltyParam
protected int[][] sumPenaltyParam
protected double[][] sumPlusOrMinus
protected int[] sumPenaltyNumber
protected double[] constraints
protected double[] sumConstraints
protected int constraintMethod
protected int nMax
protected int nIter
protected int konvge
protected int kRestart
protected double fMin
protected double fTol
protected double rCoeff
protected double eCoeff
protected double cCoeff
protected double[] startH
protected double[] step
protected double dStep
protected double[][] grad
protected double delta
protected boolean invertFlag
protected boolean posVarFlag
protected int minTest
protected double simplexSd
protected boolean statFlag
protected boolean multipleY
protected double[] values
protected boolean[] fixed
protected boolean ignoreDofFcheck
protected boolean nFactorOption
public NonLinearRegressionFitter2(double[] xData,
double[] yData,
double[] weight)
xData - x coordinate of input datayData - y coordinate of input dataweight - weighting vectorpublic NonLinearRegressionFitter2(VoxelArrayND xData, VoxelArrayND yData, VoxelArrayND weights)
xData - x coordinate of input datayData - y coordinate of input dataweights - weighting vectorpublic void addConstraint(int paramIndex,
int conDir,
double constraint)
public void addConstraint(int[] paramIndices,
double[] plusOrMinus,
int conDir,
double constraint)
public void addConstraint(int[] paramIndices,
int[] plusOrMinus,
int conDir,
double constraint)
protected VoxelArrayND checkForZeroWeights(VoxelArrayND weights)
weights - weighting vectorpublic void checkZeroNeg(double[] xx,
double[] yy,
double[] ww)
public double[] getBestEstimates()
public double[] getBestEstimatesErrors()
public double[] getbestestimatesStandardDeviations()
public double[] getBestEstimatesStandardDeviations()
public double getChiSquare()
public double getchiSquareProb()
public double[] getCoeff()
public double[] getCoeffSd()
public double[] getCoeffVar()
public double[][] getCorrCoeffMatrix()
public double[][] getCovMatrix()
public double getDegFree()
public double getDelta()
public double[][] getGrad()
public boolean getInversionCheck()
public int getMinTest()
public int getNiter()
public boolean getNlrStatus()
public int getNmax()
public double getNMcontract()
public double getNMextend()
public double getNMreflect()
public int getNrestarts()
public int getNrestartsMax()
public boolean getPosVarCheck()
public double[] getPseudoErrors()
public double[] getPseudoSd()
public double[] getPvalues()
public double getReducedChiSquare()
public double[] getResiduals()
public double[] getScale()
public double getSimplexSd()
public double getSumOfSquares()
public double getTolerance()
public boolean getTrueFreq()
public double[] getTvalues()
public double[] getWeightedResiduals()
public double[] getXdata()
public double[] getYcalc()
public double[] getYdata()
public void ignoreDofFcheck()
protected void nelderMead(Object regFun, double[] start, double[] step, double fTol, int nMax)
regFun - test functionstart - initial parameter valuesstep - initial parameter step sizefTol - regression tolerancenMax - maximum number of iterationsprotected int pseudoLinearStats(Object regFun)
regFun - test functionpublic void removeConstraints()
public void setConstraintTolerance(double tolerance)
public void setData(double[] xData,
double[] yData,
double[] weights)
public void setData(VoxelArrayND xData, VoxelArrayND yData, VoxelArrayND weights)
public void setDelta(double delta)
public void setMinTest(int n)
public void setNmax(int nmax)
public void setNMcontract(double con)
public void setNMextend(double ext)
public void setNMreflect(double refl)
public void setNrestartsMax(int nrs)
public void setScale(double[] sc)
public void setScale(int n)
public void setTolerance(double tol)
public void setTrueFreq(boolean trFr)
public void simplex(Function1D g, double[] start)
public void simplex(Function1D g, double[] start, double fTol)
public void simplex(Function1D g, double[] start, double fTol, int nMax)
public void simplex(Function1D g, double[] start, double[] step)
public void simplex(Function1D g, double[] start, double[] step, double fTol)
public void simplex(Function1D g, double[] start, double[] step, double fTol, int nMax)
public void simplex(Function1D g, double[] start, double[] step, int nMax)
public void simplex(Function1D g, double[] start, int nMax)
public void simplex2(FunctionND g, double[] start)
public void simplex2(FunctionND g, double[] start, double fTol)
public void simplex2(FunctionND g, double[] start, double fTol, int nMax)
public void simplex2(FunctionND g, double[] start, double[] step)
public void simplex2(FunctionND g, double[] start, double[] step, double fTol)
public void simplex2(FunctionND g, double[] start, double[] step, double fTol, int nMax)
public void simplex2(FunctionND g, double[] start, double[] step, int nMax)
public void simplex2(FunctionND g, double[] start, int nMax)
protected double sumSquares(Object regFun, double[] testParameter)
regFun - test functiontestParameter - test parameterprotected static double halfWidth(double[] xData,
double[] yData)
public static double[][] histogramBins(double[] data,
double binWidth,
double binZero)
public static double[][] histogramBins(double[] data,
double binWidth,
double binZero,
double binUpper)
protected static boolean setTrueFreqWeights(VoxelArrayND yData, VoxelArrayND weight)
protected static void sort(double[] x,
double[] y,
double[] w)
Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.