From: Bert Gunter
To: Andre Cesta
Cc: "r-help@r-project.org"
Sent: Monday, 14 January 2013, 13:34
Subject: Re: [R] How to fit a linear model to data by minimizing the mean
absolute percent error?
Take the logs of both side and minimize the absolute error on the log
scale, then
Hi All, I wonder if you can help me with an aparently simple task. I have been
searching examples for this without any luck: #Assume
x<-1:10 #x ranges from 1 to 10.
y<-x*runif(10)+ 1.5*x #y is a linear function of x with some error. Add
uniform error that is scaled to be larger as x values a
Hi All,
I wonder if you can help me with an aparently simple task. I have been
searching examples for this without any luck:
#Assume
x<-1:10 #x ranges from 1 to 10.
y<-x*runif(10)+ 1.5*x #y is a linear function of x with some error. Add
uniform error that is scaled to be larger as x values
l the steps and documented them here:
http://code.google.com/p/jwanalytics/wiki/GnuRe
Thanks for making it easy to do it. The help files within GNU R are excellent
quality.
Best regards, André
Andre Cesta, Eng, MSc, SCJP, SCJA
http://geocities.com/aa
easy to do it. The help files within GNU R are excellent
quality.
Best regards, André
Andre Cesta, Eng, MSc, SCJP, SCJA
http://geocities.com/aa
5 matches
Mail list logo