just y=ax+b [General Sta­tis­tics]

posted by ElMaestro  – Denmark, 2017-10-08 17:50  – Posting: # 17878
Views: 11,858

Hi again,

and thanks for looking into it.
It is as simple as this:

x1=c(1,2,3,4,5)
y1=c(10.5, 11.4, 12.6, 13.3, 14.6)

x2=c(1,2,3,4,5)
y2=c(10.3, 11.4,   NA, 13.5, 14.6)

L1=lm(y1~x1)
L2=lm(y2~x2)

summary(L1)
summary(L2)


I would like to know how to judge if the correlation is quantitatively appearing to be best for the first line or for the second line.

if (3) 4

x=c("Foo", "Bar")
b=data.frame(x)
typeof(b[,1]) ##aha, integer?
b[,1]+1 ##then let me add 1



Best regards,
ElMaestro

"(...) targeted cancer therapies will benefit fewer than 2 percent of the cancer patients they’re aimed at. That reality is often lost on consumers, who are being fed a steady diet of winning anecdotes about miracle cures." New York Times (ed.), June 9, 2018.

Complete thread:

Activity
 Mix view
Bioequivalence and Bioavailability Forum |  Admin contact
19,289 posts in 4,100 threads, 1,317 registered users;
online 13 (2 registered, 11 guests [including 9 identified bots]).

A refund for defective software might be nice,
except it would bankrupt the entire software industry
in the first year.    Andrew S. Tanenbaum

The BIOEQUIVALENCE / BIOAVAILABILITY FORUM is hosted by
BEBAC Ing. Helmut Schütz
HTML5