Displaying 1 result from an estimated 1 matches for "ekumen".
Did you mean:
bkamen
2010 Nov 10
1
log-transformed linear regression
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,log="xy")
abline(aa,untf=T)
abline(b=0.0235, a=0,col="red",untf=T)
abline(b=0.031,...