Jump to content

Selection bias in clinical sciences: Difference between revisions

(→‎{{header|jq}}: N=10,000)
Line 382:
end ) );
 
runStudy(100010000; 180; 60)
</syntaxhighlight>
{{output}}
<pre>
Total subjects: 100010000
 
Day 60:
Untreated: N = 7527471, with infection = 42508
Regular Use: N = 15185, with infection = 0
 
At midpoint, Infection case percentages are:
Untreated : 910.41474
Irregulars: 5 6.7472
Regulars : 1.09943
 
Day 120:
Untreated: N = 5625780, with infection = 81880
Regular Use: N = 2112139, with infection = 975
 
Day 180:
Untreated: N = 4264583, with infection = 1121127
Regular Use: N = 3943823, with infection = 26249
 
At study end, infection case percentages are:
Untreated : 2624.291591 of group size 4264583
Irregulars: 18.889068 of group size 1801594
Regulars : 6.599513 of group size 3943823
 
Final statistics: H = 23205.976487
</pre>
 
 
=={{header|Julia}}==
2,496

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.