Documentation of 'javanpst.tests.oneSample.populationQuantile.PopulationQuantile' Java class
PopulationQuantile
javanpst.tests.oneSample.populationQuantile

Class PopulationQuantile



  • public class PopulationQuantile
    extends StatisticalTest
    A procedure to testing hypotheses about population quantiles. This test allows to test an hypothesis value for a given population quantile and a given sample. A binomial distribution is used to compute left tail p-value (true value of the quantile is greater than the estimation), right tail p-value (true value is lower than the estimation), and double tail p-value (true value is distinct than the estimation).
    • Constructor Detail

      • PopulationQuantile

        public PopulationQuantile()
        Default builder
      • PopulationQuantile

        public PopulationQuantile(NumericSequence newSequence,
                                  double quantile,
                                  double value)
        Builder. Set data and all the necessary parameters of the test.
        Parameters:
        newSequence - sample data
        quantile - quantile to test
        value - hyphotesis value
    • Method Detail

      • clearData

        public void clearData()
        Clears the data stored in the test
        Specified by:
        clearData in class StatisticalTest
      • setData

        public void setData(NumericSequence newSequence,
                            double quantile,
                            double value)
        Sets data and all the necessary parameters of the test
        Parameters:
        newSequence - sample data
        quantile - quantile to test
        value - hyphotesis value
      • setQuantile

        public void setQuantile(double p)
        Set quantile to estimate
        Parameters:
        p - quantile
      • setConfidence

        public void setConfidence(double value)
        Set hypothesis value
        Parameters:
        value - hypothesis value
      • getK

        public double getK()
        Get K statistic
        Returns:
        K statistic
      • getExactLeftPValue

        public double getExactLeftPValue()
        Get left tail exact p-value
        Returns:
        left tail p-value computed
      • getExactRightPValue

        public double getExactRightPValue()
        Get right tail exact p-value
        Returns:
        right tail p-value computed
      • getExactDoublePValue

        public double getExactDoublePValue()
        Get double tail exact p-value
        Returns:
        double tail p-value computed
      • printData

        public java.lang.String printData()
        Prints the data stored in the test
        Specified by:
        printData in class StatisticalTest
        Returns:
        Data stored
      • printReport

        public java.lang.String printReport()
        Prints a report with the results of the test
        Specified by:
        printReport in class StatisticalTest
        Returns:
        Output report

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.