Sie sind auf Seite 1von 1

dta_temp1b <- read.csv("temp1b_new.

csv")
dta_temp1b$Region_new <-ifelse(dta_temp1b$RegionName %in% c("R12", "R13",
"R14"), 1, 2)
dta <- dta_temp1b[dta_temp1b$online_rate_new!=0,]
fit <- lm(Revenue~RegionName+avail_credit+Employee,data=dta_temp1b)
step <- stepAIC(fit, direction="both")
summary(step)

Residual standard error: 317200000 on 7482 degrees of freedom


Multiple R-squared: 0.6502,

Adjusted R-squared: 0.6494

F-statistic: 772.8 on 18 and 7482 DF, p-value: < 2.2e-16

Das könnte Ihnen auch gefallen