Displaying 3 results from an estimated 3 matches for "linear_model".
2009 Apr 23
1
suppress output from step function
Dear all,
Is there a way of using the step function on a linear model such that all the steps are not printed out?
Say I have a matrix X of 50 explanatory variables and a binary response Y.
linear_model<-glm(Y~X, data=my_data, family="binomial")
SS<-step(linear_model)
This last step produces all the output that would have been produced even if I hadn't named the result SS.
SS<-step(linear_model,print=FALSE) - this doesnt work either.
Does anyone have any ideas?
Thank you...
2008 Mar 11
1
Rtools and GCC4 problem
...de -Wall -O2 -c mask.cpp -o mask.o
g++ -Ic:/src/R/R-2.5.1/include -Wall -O2 -c math_utils.cpp -o math_utils.o
g++ -Ic:/src/R/R-2.5.1/include -Wall -O2 -c ts.data.cpp -o ts.data.o
g++ -Ic:/src/R/R-2.5.1/include -Wall -O2 -c tseries.cpp -o tseries.o
tseries.cpp: In function `tseries linear_model(const tseries&, const tseries&)':
tseries.cpp:1058: warning: unused variable 'trans'
tseries.cpp:1059: warning: unused variable 'nrhs'
tseries.cpp:1060: warning: unused variable 'info'
c:/src/R/Rtools/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/
3....
2007 May 17
4
using lm() with variable formula
New to R; please excuse me if this is a dumb question. I tried to RTFM;
didn't help.
I want to do a series of regressions over the columns in a data.frame,
systematically varying the response variable and the the terms; and not
necessarily including all the non-response columns. In my case, the
columns are time series. I don't know if that makes a difference; it
does mean I have to call