← API reference
CANONICAL TYPE REFERENCE

MetricCorrelationResult

Two-metric correlation and regression analysis (Toolkit: stats_agg 2D)

Independent variable metric (X axis)

Dependent variable metric (Y axis)

Pearson correlation coefficient (-1.0 to 1.0)

slopeFloat!

Slope of the linear relationship (Y units per X unit)

interceptFloat!

Y-intercept of the linear relationship

rSquaredFloat!

R-squared coefficient of determination (0.0-1.0)

Covariance between the two variables

Number of paired data points used

Summary statistics for the X metric

Summary statistics for the Y metric

View exact SDL
"""Two-metric correlation and regression analysis (Toolkit: stats_agg 2D)"""
type MetricCorrelationResult {
  """Independent variable metric (X axis)"""
  metricIdX: MetricID!
  """Dependent variable metric (Y axis)"""
  metricIdY: MetricID!
  """Pearson correlation coefficient (-1.0 to 1.0)"""
  correlation: Float!
  """Slope of the linear relationship (Y units per X unit)"""
  slope: Float!
  """Y-intercept of the linear relationship"""
  intercept: Float!
  """R-squared coefficient of determination (0.0-1.0)"""
  rSquared: Float!
  """Covariance between the two variables"""
  covariance: Float!
  """Number of paired data points used"""
  sampleCount: Int!
  """Summary statistics for the X metric"""
  summaryX: MetricSummaryStats!
  """Summary statistics for the Y metric"""
  summaryY: MetricSummaryStats!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.