|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.stat.LinRegWeighted
public class LinRegWeighted
Weighted Least Squares Regression
Constructor Summary | |
---|---|
LinRegWeighted(double[] X,
double[] Y,
double[] W)
Constructor for regression calculations |
Method Summary | |
---|---|
void |
doc()
Show online documentation. |
double |
getChi2()
Get chi2 |
int |
getDataLength()
Get the size of the input data |
double[] |
getDataX()
Get an array with X data |
double[] |
getDataY()
Get an array with Y data |
double |
getIntercept()
Get Intercept |
double |
getInterceptError()
Get the standard error on intercept |
double |
getMaxX()
Get a maximum value for X |
double |
getMaxY()
Get maximum value in Y |
double |
getMinX()
Get a minimum value for X |
double |
getMinY()
Get minimum value for Y |
F1D |
getResult()
Get the fit results |
double |
getSlope()
Get slope |
double |
getSlopeError()
Get the standard error on slope |
double |
getXBar()
Get average x |
double |
getYBar()
Get average Y |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinRegWeighted(double[] X, double[] Y, double[] W)
X
- is the array of x dataY
- is the array of y dataW
- weights of data pointsMethod Detail |
---|
public double getMinX()
public double getMaxX()
public double getMinY()
public double getMaxY()
public double getIntercept()
public double getInterceptError()
public double getSlopeError()
public double getSlope()
public double[] getDataX()
public double[] getDataY()
public double getXBar()
public double getYBar()
public int getDataLength()
public double getChi2()
public F1D getResult()
public void doc()
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |