Hello all, I would like to create a bell shaped curve to see how many people in my population lie >5% centile
Using the variable: Neonates which is a ratio I created
I'm sure you all know what bell shaped curve I'm referring too but something like this:
https://sphweb.bumc.bu.edu/otlt/MPH-...deviations.png
I've tried a histogram
Which produces this:

I've been told by my supervisor, that histogram doesn't really work how we normally would like it too.
As you can see some of my bars are not visible, I've tried log - doesn't work.
I then thought of ECDF graph but this would be my last resort.
I wonder if anyone can help me plot a bell shaped curve. I'll add lines at the 1SD, 2SD
Here is a copy of my data
Using the variable: Neonates which is a ratio I created
I'm sure you all know what bell shaped curve I'm referring too but something like this:
https://sphweb.bumc.bu.edu/otlt/MPH-...deviations.png
I've tried a histogram
Code:
histogram neonates
I've been told by my supervisor, that histogram doesn't really work how we normally would like it too.
As you can see some of my bars are not visible, I've tried log - doesn't work.
I then thought of ECDF graph but this would be my last resort.
I wonder if anyone can help me plot a bell shaped curve. I'll add lines at the 1SD, 2SD
Here is a copy of my data
Code:
* Example generated by -dataex-. For more info, type help dataex clear input int(patientid ageyears) double(bodymassindex neoupper_M13 neolower_M14 tendon_M16) long(ethnicgrp gender) float(dup neolength neolength neonates) 1 11 . 55.6 42.8 36.5 2 1 1 12.8 6.3 2.031746 2 22 . 61.5 44 39 2 1 1 17.5 5 3.5 3 22 . 61.6 43.3 41.3 2 1 1 18.3 2 9.15 4 28 25.5937370619895 63 50 40.4 2 1 1 13 9.6 1.3541666 5 29 . 59.7 47.6 33.7 2 1 1 12.1 13.9 .8705037 6 33 . 56 46.9 33.3 2 1 1 9.1 13.6 .6691176 7 35 . 60.3 40.3 36.5 2 1 1 20 3.8 5.263158 8 39 . 60.6 45.8 36.5 2 1 1 14.8 9.3 1.591398 9 42 . 53.7 42.3 29.5 2 1 1 11.4 12.8 .8906249 10 45 . 60.9 40.9 36.3 2 1 1 20 4.6 4.347826 11 46 . 57.1 43.5 37 2 1 1 13.6 6.5 2.0923078 12 49 . 59.9 42 40 2 1 1 17.9 2 8.95 13 59 21.9898923652637 59 48.7 38.8 2 1 1 10.3 9.9 1.0404041 14 64 . 56.5 42 32 2 1 0 14.5 10 1.45 14 65 . 60.9 48.7 39.4 2 1 0 12.2 9.3 1.311828 15 65 . 58.9 46.3 37 2 1 0 12.6 9.3 1.3548387 15 67 . 57.2 41.1 35.8 2 1 0 16.1 5.3 3.037736 16 67 . 56 45.7 34.6 2 1 0 10.3 11.1 .9279279 16 68 . 58.4 46.9 37.4 2 1 0 11.5 9.5 1.2105263 17 68 . 57.8 47.7 35.8 2 1 0 10.1 11.9 .8487396 end label values ethnicgrp ethnicgrp label def ethnicgrp 2 "Asian", modify label values gender gender label def gender 1 "f", modify
Comment