Re: [R] R-Square in WLS

2012-11-19 Thread frespider
Hi Peter, why you are involving -1 with this concept? Can you explain more please Cheers Date: Sun, 18 Nov 2012 23:28:26 -0800 From: ml-node+s789695n4650012...@n4.nabble.com To: frespi...@hotmail.com Subject: Re: R-Square in WLS On Nov 18, 2012, at 21:32 , Thomas Lumley wrote: >

Re: [R] R-Square in WLS

2012-11-18 Thread peter dalgaard
On Nov 18, 2012, at 21:32 , Thomas Lumley wrote: > On Fri, Nov 16, 2012 at 4:48 PM, frespider wrote: > >> Hi, >> >> I am fitting a weighted least square regression and trying to compute >> SSE,SST and SSReg but I am not getting SST = SSReg + SSE and I dont know >> what I am coding wrong. Can y

Re: [R] R-Square in WLS

2012-11-18 Thread frespider
Hi Thomas, Can you please edit my code in way it works. I appericated your help. I need to calculate the R2 in the Z scale and it is not make sense to me. or Can I have some documentation to read? Thanks Date: Sun, 18 Nov 2012 12:35:03 -0800 From: ml-node+s789695n4649969...@n4.nabble.com To

Re: [R] R-Square in WLS

2012-11-18 Thread Thomas Lumley
On Fri, Nov 16, 2012 at 4:48 PM, frespider wrote: > Hi, > > I am fitting a weighted least square regression and trying to compute > SSE,SST and SSReg but I am not getting SST = SSReg + SSE and I dont know > what I am coding wrong. Can you help please? > For a start, you need to replace your mu

[R] R-Square in WLS

2012-11-15 Thread frespider
Hi, I am fitting a weighted least square regression and trying to compute SSE,SST and SSReg but I am not getting SST = SSReg + SSE and I dont know what I am coding wrong. Can you help please? xnam <-colnames(X) # colnames Design Matrix