Re: [R] negative log likelihood

2009-11-09 Thread Bernardo Rangel Tura
On Sun, 2009-11-08 at 11:12 -0800, mat7770 wrote: I have two related variables, each with 16 points (x and Y). I am given variance and the y-intercept. I know how to create a regression line and find the residuals, but here is my problem. I have to make a loop that uses the seq() function, so

Re: [R] negative log likelihood

2009-11-09 Thread Colin Millar
. From: r-help-boun...@r-project.org on behalf of mat7770 Sent: Sun 08/11/2009 19:12 To: r-help@r-project.org Subject: [R] negative log likelihood I have two related variables, each with 16 points (x and Y). I am given variance and the y-intercept. I know how to create a regression line

[R] negative log likelihood

2009-11-08 Thread mat7770
I have two related variables, each with 16 points (x and Y). I am given variance and the y-intercept. I know how to create a regression line and find the residuals, but here is my problem. I have to make a loop that uses the seq() function, so that it changes the slope value of the y=mx + B