RichardPilbery / DAA_DES

GNU General Public License v3.0
1 stars 0 forks source link

Patient age distribution data needed #3

Open RichardPilbery opened 1 month ago

RichardPilbery commented 1 month ago

Possibly stratified by AMPDS code and date/time

https://github.com/RichardPilbery/DAA_DES/blob/e0b65aef137c5a88f0e51fbcbb1d82bbde4233bd/class_patient.py#L14

htrebilcock commented 3 weeks ago

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

Untitled Spreadsheet AMPDS card | % of patients | Mean Age | Median age | Mode age | Age distribution -- | -- | -- | -- | -- | -- 9 | 26% | 63 | 66 | 75 | Normal negatively skewed 12 | 4% | 34 | 29 | 3 | log normal? 17 | 10% | 51 | 54 | 65 | Normal 29 | 17% | 43 | 42 | 30 | Bimodal?

Card 29 age distribution: image

Card 12 age distribution: image

RichardPilbery commented 1 week ago

This is helpful. Could also provide data on card 7 (Burns) and then a category for all remaining codes? Do we want to model the other calls too? At the moment, it looks like the AMPDS codes above capture 57% of all activity. Perhaps we want a category for everything else?