Logarithmical distribution of the time delay until the first answer

1

Please login or register to vote for this query.

(click on this box to dismiss)

Horizontal axe: log2 of the time difference until the first answer, rounded down. Vertical axe: count of the questions falling into this category.

Physics

Q&A for active researchers, academics and students of physics

WITH Raw AS (
  SELECT
    Q.Id,
    DATEDIFF(minute, MIN(Q.CreationDate), MIN(A.CreationDate)) AS Diff
  FROM PostsWithDeleted Q, PostsWithDeleted A
  WHERE A.ParentId = Q.Id
  GROUP BY Q.Id
),
Raw2 AS (
  SELECT
    Raw.Id,
    CASE WHEN Diff < 1 THEN 0
    ELSE CAST (LOG(1.0 * Diff) / LOG(2.0) AS INT)
    END AS Log2Diff
  FROM Raw
)
SELECT
  Log2Diff,
  COUNT(*) AS N
FROM Raw2
GROUP BY Log2Diff
ORDER BY Log2Diff

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results