search for: tstdat

Displaying 2 results from an estimated 2 matches for "tstdat".

Did you mean: testdat
2016 Aug 07
1
problem with abine(lm(...)) for plot(y~x, log='xy')
Hello: In the following plot, the fitted line plots 100 percent above the points: tstDat <- data.frame(x=10^(1:3), y=10^(1:3+.1*rnorm(3))) tstFit <- lm(log(y)~log(x), tstDat) plot(y~x, tstDat, log='xy') abline(tstFit) I can get the correct line with the following: tstPredDat <- data.frame(x=10^seq(1, 3, len=2)) tstPred <- predict(tstFit, tstPredDat) line...
2003 Jun 27
3
regression for several responses
hello, I only want to get the slope of a linear regression of ca. 100 variables against time. I can do for each response (100 times) var1.lm <- lm(response~predictor) but I thought that there might be an easier way of doing this. If I am including more variables it is doing a multiple regression and the output (slope) differs. any idea? thanks Martin