Calculate Uncertainty of Percentage in R and plot in scatter plot -
i have data set calculate percentage of fall given age. total members whole date given age, , members fallen amount of falls within total member.
age status membersfallen totalmember percentage 37 1 208 14824 1.4 38 1 443 14736 3.0 39 1 610 13190 4.6 40 1 563 12209 4.6 41 1 539 11186 4.8 42 1 528 11141 4.7 43 1 546 10118 5.4 44 1 527 9677 5.4 45 1 560 9399 6.0 this data generates crescent graph, , i'm willing calculate uncertainty of percentages , plot error bar in scatter plot.
thanks
are thinking of confidence interval binomial proportion? see http://en.wikipedia.org/wiki/binomial_proportion_confidence_interval e.g. binom.test(208,14824) 95% ci [1.22, 1.61] sample estimate 1.40 (percentage)
Comments
Post a Comment