PopulationQuantile
javanpst.tests.oneSample.populationQuantile

Class PopulationQuantile



  • public class PopulationQuantileextends 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

      • 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

SCaVis 2.2 © jWork.ORG

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