Re: [R] Weighted least squares

2012-11-21 Thread Mark Lamias
, November 21, 2012 9:34 AM Subject: [R] Weighted least squares Hi everyone, I admit I am a bit of an R novice, and I was hoping someone could help me with this error message: Warning message: In lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :   extra arguments weigths are just d

Re: [R] Weighted least squares

2012-11-21 Thread Martyn Byng
November 2012 14:34 To: r-help@r-project.org Subject: [R] Weighted least squares Hi everyone, I admit I am a bit of an R novice, and I was hoping someone could help me with this error message: Warning message: In lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : extra arguments

[R] Weighted least squares

2012-11-21 Thread rbowman16
Hi everyone, I admit I am a bit of an R novice, and I was hoping someone could help me with this error message: Warning message: In lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) : extra arguments weigths are just disregarded. My equation is: lm( Y ~ X1 + X2 + X3, weigths =

[R] Weighted least squares with constraints

2011-02-15 Thread GRANT Lewis
Hi I am attempting to convert my simple weighted regressions (produced using the weights argument in lm) to a constrained regression where the coefficients sum to 1. I understand that I can do this using solve.qp and I have spent time reading the archives to understand how this is done, but I

Re: [R] Weighted least squares regression for an exponential decay function

2011-01-14 Thread Bill.Venables
nls in the stats package. ?nls From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of Erik Thulin [ethu...@gmail.com] Sent: 15 January 2011 16:16 To: r-help@r-project.org Subject: [R] Weighted least squares regression for an

[R] Weighted least squares regression for an exponential decay function

2011-01-14 Thread Erik Thulin
Hello, I have a data set of data which is best fit by an exponential decay function. I would like to use a nonlinear weighted least squares regression. What function should I be using? Thank you! [[alternative HTML version deleted]] __ R-help

Re: [R] weighted least squares vs linear regression

2010-01-28 Thread David Winsemius
On Jan 28, 2010, at 2:14 PM, DispersionMap wrote: sorry, i ommited some important information. this is a documentation question! i meant to ask how to find out how R calculates the standard error and how it differs between the two models Luke, Use the Code!. -- View this message

Re: [R] weighted least squares vs linear regression

2010-01-28 Thread DispersionMap
sorry, i ommited some important information. this is a documentation question! i meant to ask how to find out how R calculates the standard error and how it differs between the two models -- View this message in context: http://n4.nabble.com/weighted-least-squares-vs-linear-regression-tp13879

Re: [R] weighted least squares vs linear regression

2010-01-28 Thread Bert Gunter
ntech Nonclinical Statistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of DispersionMap Sent: Thursday, January 28, 2010 9:06 AM To: r-help@r-project.org Subject: [R] weighted least squares vs linear regression I need to find ou

[R] weighted least squares vs linear regression

2010-01-28 Thread DispersionMap
I need to find out the difference between the way R calculates weighted regression and standard regression. I want to plot a 95% confidence interval around an estimte i got from least squares regression. I cant find he documentation for this ive looked in ?stats ?lm ?predict.lm ?weights ?res

[R] Weighted least squares +AR1 in gls

2008-01-26 Thread miaox
Hi, I’m using the gls function to fit a model with autoregressive residuals. Does anyone know how to do weighted least squares with autoregressive residuals in gls? Thanks, Sincerely, Xiaopeng __ R-help@r-project.org mailing list https://stat.ethz.