The diastolic blood pressures (DBP) of a group of young women are Normally distributed with mean 67 mmHg and a standard deviation of 9 mmHg.
I am currently trying to analyze some data and am new to statistics with R.
Following above question , i want to see how to display using R, how the following statement are true or false.
About 95% of the women have a DBP between 58 and 76 mmHg.
About 50% of the women have a DBP of above 67 mmHg.
About 2.5% of the women have DBP below 49 mmHg.
What proportion of young women have a DBP between 58 mmHg and 85 mmHg?
I tried solving it manually . But want to display it using R.
Here is code that illustrates some of these concepts. You can use the
dnorm
function inside thestat_function
layer ofggplot2
. I put the mean as 0 and standard deviation as 1, and calculated the z-scores bases on that. In your case, you could change the mean to 67 and sd to 9 and change the vertical lines for the z-scores accordingly. But you don't need to visualize this in R to find the answers. Try to familiarize yourself with thednorm
,pnorm
,rnorm
family of functions.