Re: [R] Problem with lm Giving Wrong Results

2021-12-03 Thread Labone, Thomas
Health University of South Carolina Columbia, South Carolina USA From: Sarah Goslee Sent: Friday, December 3, 2021 11:00 AM To: Labone, Thomas Cc: Bill Dunlap ; r-help@r-project.org Subject: Re: [R] Problem with lm Giving Wrong Results It might also be a BLAS

Re: [R] Problem with lm Giving Wrong Results

2021-12-03 Thread Labone, Thomas
h Carolina Columbia, South Carolina USA ____ From: Labone, Thomas Sent: Thursday, December 2, 2021 11:53 AM To: Bill Dunlap Cc: r-help@r-project.org Subject: Re: [R] Problem with lm Giving Wrong Results > summary(fit) Call: lm(formula = log(k) ~ Z) Residuals:

Re: [R] Problem with lm Giving Wrong Results

2021-12-02 Thread Labone, Thomas
2.4772 > Thomas R. LaBone PhD student Department of Epidemiology and Biostatistics Arnold School of Public Health University of South Carolina Columbia, South Carolina USA From: Bill Dunlap Sent: Thursday, December 2, 2021 10:31 AM To: Labone, Thomas

Re: [R] Problem with lm Giving Wrong Results

2021-12-02 Thread Labone, Thomas
University of South Carolina Columbia, South Carolina USA From: J C Nash Sent: Thursday, December 2, 2021 9:31 AM To: Labone, Thomas ; r-help@r-project.org Subject: Re: [R] Problem with lm Giving Wrong Results I get two similar graphs. https://protect2

[R] Problem with lm Giving Wrong Results

2021-12-02 Thread Labone, Thomas
In the code below the first and second plots should look pretty much the same, the only difference being that the first has n=1000 points and the second n=1 points. On two of my Linux machines (info below) the second plot is a horizontal line (incorrect answer from lm), but on my Windows 10