[R] Using known errors and error bars

About this list Date view Thread view Subject view Author view Attachment view

From: Sebastian Schubert (Sebastian-Schubert@gmx.de)
Date: Mon 10 May 2004 - 01:24:23 EST


Message-id: <2132.1084116263@www14.gmx.net>

Hi,
 
I'm now to R and hope (actually, I'm quite sure) you can help me. I made
an experiment and measured two values. As I know the errors of these
values I want to use them with the linear regression,
eg
Value A
1.1+-0.02
1.9+-0.05
3.05+-0.03
4.0+-0.01
5.1+-0.06
 
Value B
4.2+-0.14
5.3+-0.05
6.8+-0.11
7.9+-0.01
8.5+-0.02
 
lm(B~A) does the linear regression but how can I use the fact that 1.1 is
between 1.12 and 1.08?
How can I put error bars for A and B in the plot (like Excel is capable
of)?
 
I hope I made myself understandable,
thanks
Sebastian

--

______________________________________________ R-help@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:08 EST