Displaying 1 result from an estimated 1 matches for "covariate_n".
2011 Sep 22
1
Header auslesen und bei Regression verwenden
...ot; 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))/
Here are the covariates, the column names and "factor" points to a
categorical covariate...