My practices on Kenneth Train's Exercises in R.
Kenneth Train’s exercises using the mlogit package for R:
https://cran.r-project.org/web/packages/mlogit/vignettes/Exercises.pdf
Exercise Code in R:
https://github.com/cran/mlogit/blob/master/inst/doc/Exercises.R
Multinomial Logit Model R Package Reference:
https://cran.r-project.org/web/packages/mlogit/mlogit.pdf
- Exercise 1 provides background of this project.
- Exercise 2 introduces an unconstrained model, estimating lifecycle cost of the system based on installation cost and operation cost.
- Exercise 3 introduces discount rate r of operation cost. Lifecycle cost now is estimated on installation cost and operation cost devided by discount rate r.