Skip to content

move contact normalization out - #172

Merged
avallecam merged 6 commits into
mainfrom
fix/contact/normal
Jul 18, 2026
Merged

avallecam merged 6 commits into
mainfrom
fix/contact/normal

Conversation

@avallecam

Copy link
Copy Markdown
Member

update referal in main episode and create new file in learners folder

  • Please check if the PR fulfills these requirements
  • I have read the CONTRIBUTING guidelines
  • A new item has been added to NEWS.md
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Checks have been run locally and pass
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

  • Other information:

update referal in main episode and create new file in learners folder
@github-actions

Copy link
Copy Markdown
Contributor

🆗 Pre-flight checks passed 😃

This pull request has been checked and contains no modified workflow files or spoofing.

Results of any additional workflows will appear here when they are done.

avallecam and others added 5 commits July 18, 2026 19:33
Illustrates why m_ij*N_i = m_ji*N_j usually doesn't hold with real
survey data, via a small non-reciprocal 2x2 toy matrix, and shows the
pool-and-redistribute intuition behind the symmetrization formula
before linking to the socialmixr documentation for the general case.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…anspose

Break the two additional calculations (secondary cases, contact rates)
into their own subheadings with shorter paragraphs, and add a callout
reconciling socialmixr's participant-reported C[i,j] convention with the
contacted-by orientation the transmission equation needs, ending in the
t(contacts_byage$matrix) transpose.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
github-actions Bot pushed a commit that referenced this pull request Jul 18, 2026
@avallecam
avallecam merged commit e7ba912 into main Jul 18, 2026
7 of 8 checks passed
@avallecam
avallecam deleted the fix/contact/normal branch July 18, 2026 19:14
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.

1 participant