Dear all, I have some set of data that I used to plot a simple regression line. However, when I try to plot two other lines which are the 10 and 90th percentiles on the same graphic window but was unable to achieve due to my limited knowledge of r. Please kind help to do that. My data is below. I want GA to on the x-axis and EFW to be on the y-axis. Also attached is the txt version of the data. kindly help EFW GA 132 15 210 18 1796 32 125 15 591 23 88 14 104 14 284 19 1150 28 449 21 2221 34 1953 32 1146 28 204 17 2797 37 840 26 224 18 3711 40 110 15 93 14 320 20 2449 35 2062 33 277 19 2577 36 2644 36 81 14 73 13 560 23 600 23 158 16 864 26 2660 35 132 15 210 18 1592 31 121 15 591 23 88 14 104 14 284 19 1304 29 781 25 1737 32 101 14 1191 28 1326 29 1015 27 173 17 1096 28 76 13 198 17 145 16 97 14 3881 40 1388 29 2849 36 701 24 355 20 2432 35 1174 28 244 18 3063 37 3945 41 1641 31 1570 30 3649 39 3268 38 515 22 3376 38 2560 35 861 26 545 23 494 22 2745 36 499 22 92 14 591 23 132 16 1070 28 1149 31 2449 35 919 26 376 21 132 16 447 22 71 13 Titus Kassem -------------- next part -------------- EFW GA 132 15 210 18 1796 32 125 15 591 23 88 14 104 14 284 19 1150 28 449 21 2221 34 1953 32 1146 28 204 17 2797 37 840 26 224 18 3711 40 110 15 93 14 320 20 2449 35 2062 33 277 19 2577 36 2644 36 81 14 73 13 560 23 600 23 158 16 864 26 2660 35 132 15 210 18 1592 31 121 15 591 23 88 14 104 14 284 19 1304 29 781 25 1737 32 101 14 1191 28 1326 29 1015 27 173 17 1096 28 76 13 198 17 145 16 97 14 3881 40 1388 29 2849 36 701 24 355 20 2432 35 1174 28 244 18 3063 37 3945 41 1641 31 1570 30 3649 39 3268 38 515 22 3376 38 2560 35 861 26 545 23 494 22 2745 36 499 22 92 14 591 23 132 16 1070 28 1149 31 2449 35 919 26 376 21 132 16 447 22 71 13
[R-sig-dyn-mod] regression plot and 10 and 90 percentiles
2 messages · Titus Kassem, Thomas Petzoldt
Hi, 1) I think this may be the wrong mailing list for your question. Such questions are typical for r-help. 2) The dependency of your data is nonlinear. What do you mean with "regression line"? Do you want to get a straight line, or do you have any nonlinear model in mind, or do you just want to get a "smooth line"? 3) What kind of "percentiles" do you mean? Is it possible, that you really want to get confidence intervals? Or a prediction interval? thpe
On 12/16/2014 2:12 PM, Titus Kassem wrote:
Dear all, I have some set of data that I used to plot a simple regression line. However, when I try to plot two other lines which are the 10 and 90th percentiles on the same graphic window but was unable to achieve due to my limited knowledge of r. Please kind help to do that. My data is below. I want GA to on the x-axis and EFW to be on the y-axis. Also attached is the txt version of the data. kindly help