Servet,
These data do look linear in log space. Fortunately, the model
log(y) = a + b * log(x)
does have intercept zero in linear space. To see this, consider
log(y) = a + b * log(x)
y = 10^(a + b * log(x))
y = 10^a * 10^(b * log(x))
y = 10^a * 10^(log(x^b))
y = 10^a * x^b
57 -0500
> Subject: Re: [R] log-transformed linear regression
>
>
>
>
>
>
>
> > Date: Wed, 10 Nov 2010 19:27:20 -0500
> > From: sa.cizm...@usherbrooke.ca
> > To: r-help@r-project.org
> > Subject: Re: [R] log-trans
> Date: Wed, 10 Nov 2010 19:27:20 -0500
> From: sa.cizm...@usherbrooke.ca
> To: r-help@r-project.org
> Subject: Re: [R] log-transformed linear regression
>
> Dear List,
>
> I would like to take another chance and see if there i
Dear List,
I would like to take another chance and see if there if someone has
anything to say to my last post...
bump
servet
On 11/10/2010 01:11 PM, servet cizmeli wrote:
Hello,
I have a basic question. Sorry if it is so evident
I have the following data file :
http://ekumen.homelin
Hello,
I have a basic question. Sorry if it is so evident
I have the following data file :
http://ekumen.homelinux.net/mydata.txt
I need to model Y~X-1 (simple linear regression through the origin) with
these data :
load(file="mydata.txt")
X=k[,1]
Y=k[,2]
aa=lm(Y~X-1)
dev.new()
plot(X,Y,l
5 matches
Mail list logo