Skip to content

Lab answers: chart statistics conventions (#132); sex-ratio wording (#130) - #167

Merged
Luen merged 1 commit into
mainfrom
docs/130-132-lab-answers
Nov 8, 2026
Merged

Luen merged 1 commit into
mainfrom
docs/130-132-lab-answers

Conversation

@Luen

@Luen Luen commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

Applies Dr Rummer's answers on #130 and #132. No analysis changes.

#132: conventions for chart statistics, recorded in AGENTS.md (Charts & design) and at the head of analytics/tests.ts:

  • p < 0.05 is the threshold.
  • Nursery and season are fixed effects in the catch-rate tests ("they don't change"), as tests.ts already does.
  • p-values and R² stay. The site is mainly for Dr Rummer and her lab, so it can stay technical.
  • Each chart is tested on its own, with Bonferroni only inside the correlation grids on /drivers and /pressure.
  • Whether to control the false discovery rate across a page is still open. I've posted the numbers on Analysis: statistical conventions for the charts (lab review) #132.

#130: blacktip sex ratio by nursery. /morphometrics gets one sentence, shown only when the model finds nurseries differ:

  • sex was recorded the same way in every season (claspers checked at each capture), so the difference isn't down to recording;
  • the lab knows of no reason to expect it;
  • nest temperature sets the sex of sea turtles, but nobody has tested whether anything similar happens in sharks.

The nursery × season term she'd like is filed as #165.

Checks: pnpm lint, pnpm check, pnpm build, and /morphometrics in the browser on the real data.

Closes #130. Part of #132.

🤖 Generated with Claude Code

…130)

- AGENTS.md and tests.ts record Jodie Rummer's choices: p < 0.05, nursery
  and season as fixed effects in catch-rate tests, p-values and R² are fine
  for a site that is mainly for the lab. Page-wide FDR is still open.
- /morphometrics: when nurseries differ in sex ratio, say that sex was
  recorded the same way throughout and that the lab knows of no reason to
  expect a difference (temperature sets sea-turtle sex; untested in sharks).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Luen
Luen merged commit 4d77ad9 into main Nov 8, 2026
6 checks passed
@Luen
Luen deleted the docs/130-132-lab-answers branch November 8, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Biology: should the blacktip sex ratio differ between nurseries?

1 participant