Displaying 1 result from an estimated 1 matches for "covariate_1".
Did you mean:
covariate1
2011 Sep 22
1
Header auslesen und bei Regression verwenden
...the categorical covariates can be
found. The data is read from the csv-table in a matrix "MX" as follows:
/MX <- read.csv2("C://?/?.csv", header=TRUE)/
The general R-code for stepwise linear regression is as follows:
/step(regr <- lm(Zielvariable~
Covariate_1
+ Covariate_2
+?
+ Covariate_n
+factor(Covariate_n+1)
+factor(Covariate_n+2)
+?
+factor(Covariate_n+m)
, data=MX))/...