← All types
Ob Object

MetricCorrelationResult

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

Fields

Independent variable metric (X axis)

Dependent variable metric (Y axis)

Pearson correlation coefficient (-1.0 to 1.0)

slope

Float!Non-null

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

Y-intercept of the linear relationship

rSquared

Float!Non-null

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

Referenced by (1)
Exact type 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!
}