Documentation API of the 'jhplot.stat.LinRegWeighted' Java class
LinRegWeighted
jhplot.stat

Class LinRegWeighted



  • public class LinRegWeightedextends Object
    Weighted Least Squares Regression
    • Constructor Detail

      • LinRegWeighted

        public LinRegWeighted(double[] X,              double[] Y,              double[] W)
        Constructor for regression calculations
        Parameters:
        X - is the array of x data
        Y - is the array of y data
        W - weights of data points
    • Method Detail

      • getMinX

        public double getMinX()
        Get a minimum value for X
        Returns:
        Minimum value
      • getMaxX

        public double getMaxX()
        Get a maximum value for X
        Returns:
        Max value in X
      • getMinY

        public double getMinY()
        Get minimum value for Y
        Returns:
        minimum Y value
      • getMaxY

        public double getMaxY()
        Get maximum value in Y
        Returns:
        Maximum value in Y
      • getIntercept

        public double getIntercept()
        Get Intercept
        Returns:
        Intercept
      • getInterceptError

        public double getInterceptError()
        Get the standard error on intercept
        Returns:
        standard error on intercept
      • getSlopeError

        public double getSlopeError()
        Get the standard error on slope
        Returns:
        standard error on slope
      • getSlope

        public double getSlope()
        Get slope
        Returns:
        slope
      • getDataX

        public double[] getDataX()
        Get an array with X data
        Returns:
        array with X data
      • getDataY

        public double[] getDataY()
        Get an array with Y data
        Returns:
        array with Y data
      • getXBar

        public double getXBar()
        Get average x
        Returns:
        average X
      • getYBar

        public double getYBar()
        Get average Y
        Returns:
        average Y
      • getDataLength

        public int getDataLength()
        Get the size of the input data
        Returns:
        size of data array
      • getChi2

        public double getChi2()
        Get chi2
        Returns:
      • getResult

        public F1D getResult()
        Get the fit results
        Returns:
      • doc

        public void doc()
        Show online documentation.

SCaVis 2.2 © jWork.ORG

Warning: You see this message because an access to the SCaVis documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To enable the description of all Java classes of SCaVis, please request the full SCaVis membership.

If you are already a full member, please login to the SCaVis member area before visiting this documentation.