Class BivariateNORTACorrelationFinder

    • Constructor Detail

      • BivariateNORTACorrelationFinder

        public BivariateNORTACorrelationFinder​(Distribution d1,
                                               Distribution d2,
                                               double correlation,
                                               int sampleSize,
                                               int numReps,
                                               boolean antitheticFlag)
        Parameters:
        d1 - first distribution
        d2 - second distribution
        correlation - the correlation
        sampleSize - the sample size
        numReps - the number of replications
        antitheticFlag - use antithetics
    • Method Detail

      • checkMatchingCorrelation

        public boolean checkMatchingCorrelation​(double desiredCorrelation)
      • getCorrelationInterval

        public Interval getCorrelationInterval()
        Returns the interval of possible correlation values
        Returns:
        the interval
      • setNumberOfPointsInInitialSearch

        public void setNumberOfPointsInInitialSearch​(int n)
      • findMatchingCorrelation

        public double findMatchingCorrelation()
      • getDesiredCorrelation

        public double getDesiredCorrelation()
      • getMatchingCorrelation

        public double getMatchingCorrelation()
      • turnOnTimer

        public void turnOnTimer​(long milliseconds)
        Parameters:
        milliseconds - the time in milliseconds
      • getDesiredPrecision

        public double getDesiredPrecision()
        Returns:
        the desired precision
      • setDesiredPrecision

        public void setDesiredPrecision​(double prec)
        Parameters:
        prec - the desired precision
      • getStoppingCriteria

        public double getStoppingCriteria()
        Returns:
        the stopping criteria
      • main

        public static void main​(java.lang.String[] args)