Skip to content

Instantly share code, notes, and snippets.

@XerxesZorgon
Created November 12, 2023 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XerxesZorgon/d2c29e383d29456b1d0f12e2f06b2103 to your computer and use it in GitHub Desktop.
Save XerxesZorgon/d2c29e383d29456b1d0f12e2f06b2103 to your computer and use it in GitHub Desktop.
Data used in HeuristicLab to estimate attack rate from relative risk (Hr)
x logx Hr Fit
0.000222026 -3.653596397 0.356389604 -0.125
0.000279034 -3.55434296 0.356389604 -0.125
0.00035068 -3.455089522 0.37470064 0
0.000440721 -3.355836085 0.37470064 0
0.000553882 -3.256582648 0.502877892 0.125
0.000696099 -3.157329211 0.557811 0.125
0.000874831 -3.058075774 0.637158823 0.25
0.001099456 -2.958822336 0.692091931 0.375
0.001381755 -2.859568899 0.917928042 0.5
0.001736539 -2.760315462 1.088831045 0.75
0.002182418 -2.661062025 1.401339392 1
0.002742783 -2.561808588 1.641824332 1.25
0.003447028 -2.46255515 2.080694359 1.625
0.004304493 -2.366078033 2.472488048 2.125
0.005444421 -2.264048276 2.687994856 2.625
0.006842348 -2.164794839 3.432628123 3.375
0.008599211 -2.065541402 4.506875569 4.375
0.010807171 -1.966287964 5.587226693 5.5
0.013582055 -1.867034527 6.93615521 6.875
0.017069426 -1.76778109 8.980887565 8.5
0.021452225 -1.668527653 11.08665671 10.625
0.026960366 -1.569274215 13.68682382 13.25
0.033882794 -1.470020778 16.81801098 16.375
0.042582647 -1.370767341 20.60839543 20.25
0.052963244 -1.276025424 24.94078655 24.625
0.064519866 -1.190306546 29.45262582 29.125
0.076982018 -1.113610708 34.03496259 33.625
0.08811281 -1.05496095 37.87204018 37.5
0.120332973 -0.919615354 47.78197287 47.375 Number of susceptible people 27
0.137731858 -0.860965595 52.44823521 52.125 Rel Risk 0.001 Hr
0.156017259 -0.806827357 56.91307616 56.625 Attack rate 0.25 r_att
0.176730246 -0.752689118 61.47862781 61.125 Probability of at least one infectious 0.027625256 P1
0.200193107 -0.69855088 66.07774968 65.75 Probability of transmission to one person 0.065351275 P2
0.226770918 -0.644412641 70.57616086 70.25 Transmission probability 0.001805346
0.256877223 -0.590274403 74.97386135 74.625
0.290980466 -0.536136164 79.17014043 78.875
0.333053187 -0.477486406 83.43355998 83.125
0.393276424 -0.405302088 87.95435132 87.75
0.474589951 -0.323681461 92.61719684 92
0.608389551 -0.215818253 96.40389269 96
0.764601567 -0.116564816 98.74768977 98.125
0.960923072 -0.017311379 99.63882685 99.25
1.211841715 0.083445898 99.72426282 99.625
1.517733413 0.181195495 99.82800983 99.75
1.907431422 0.280448933 99.79141882 99.75
2.397189517 0.37970237 99.98673654 99.75
3.012699442 0.478955807 100.0782917 99.75
3.786249633 0.578209244 100.1515359 99.75
4.641250764 0.666635034 100.1515359 99.75
5.918403881 0.772204599 100.1515359 99.75
7.673484065 0.884992596 100.1515359 99.75
9.251240118 0.966199953 100.1515359 99.75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment