Skip to content

Commit

Permalink
Merge branch 'bad-weather-TBS' of https://github.com/matsim-scenarios…
Browse files Browse the repository at this point in the history
…/matsim-kelheim into bad-weather-TBS
  • Loading branch information
Sydpaltra committed Jan 23, 2025
2 parents e22cee3 + 7e19862 commit 26c9440
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/main/R/badWeather/regressionAnalysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -694,10 +694,25 @@ summary(test)
confint(test)

############################################## first regression models for different time periods ####################################################################################################
first_model_general <- lm(noRides ~ tavg+trend,data = result_data)
first_model_general <- lm(noRides ~ wdir+tmax+tavg+tmin+snow+trend, data = result_data)
summary(first_model_general)
confint(first_model_general)

AIC_first_model_general <- AIC(first_model_general)
BIC_first_model_general <- BIC(first_model_general)

first_model_tavg <- lm(noRides ~ wdir+tavg+snow+trend, data = result_data)
summary(first_model_tavg)

first_model_tmax <- lm(noRides ~ wdir+tmax+snow+trend, data = result_data)
summary(first_model_tmax)

first_model_tmin <- lm(noRides ~ wdir+tmin+snow+trend, data = result_data)
summary(first_model_tmin)




first_model_ioki <- lm(noRides ~ tavg+trend,data = ioki_data)
summary(first_model_ioki)
confint(first_model_ioki)
Expand Down

0 comments on commit 26c9440

Please sign in to comment.