Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for populationCovariance (0.08 sec)

  1. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertThrows(IllegalStateException.class, () -> emptyAccumulator.populationCovariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyPairedStats.populationCovariance());
        assertThat(oneValueAccumulator.populationCovariance()).isEqualTo(0.0);
        assertThat(oneValueAccumulatorByAddAllEmptyPairedStats.populationCovariance()).isEqualTo(0.0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/PairedStats.java

      @Override
      public String toString() {
        if (count() > 0) {
          return MoreObjects.toStringHelper(this)
              .add("xStats", xStats)
              .add("yStats", yStats)
              .add("populationCovariance", populationCovariance())
              .toString();
        } else {
          return MoreObjects.toStringHelper(this)
              .add("xStats", xStats)
              .add("yStats", yStats)
              .toString();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/PairedStatsAccumulator.java

       * product-moment correlation coefficient</a> of the values. The count must greater than one, and
       * the {@code x} and {@code y} values must both have non-zero population variance (i.e. {@code
       * xStats().populationVariance() > 0.0 && yStats().populationVariance() > 0.0}). The result is not
       * guaranteed to be exactly +/-1 even when the data are perfectly (anti-)correlated, due to
       * numerical errors. However, it is guaranteed to be in the inclusive range [-1, +1].
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        assertThrows(IllegalStateException.class, () -> emptyAccumulator.populationVariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyIterable.populationVariance());
        assertThrows(
            IllegalStateException.class, () -> emptyAccumulatorByAddAllEmptyStats.populationVariance());
        assertThat(oneValueAccumulator.populationVariance()).isEqualTo(0.0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/StatsAccumulator.java

       */
      public final double sum() {
        return mean * count;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Population_variance">population
       * variance</a> of the values. The count must be non-zero.
       *
       * <p>This is guaranteed to return zero if the dataset contains only exactly one finite value. It
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/Stats.java

       */
      public double sum() {
        return mean * count;
      }
    
      /**
       * Returns the <a href="http://en.wikipedia.org/wiki/Variance#Population_variance">population
       * variance</a> of the values. The count must be non-zero.
       *
       * <p>This is guaranteed to return zero if the dataset contains only exactly one finite value. It
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top