I am trying to perform a backwards stepwise variable selection with an mlogit model.  The usual functions, step(), drop1(), and dropterm() do not work for mlogit models.



Update() works but I am only able to use it manually, i.e. I have to type in each variable I wish to remove by hand on a separate line.



My goal is to write some code that will systematically remove a certain set of variables one at a time and compare the AIC of each alternative model.



i.e.:



famodel1.mn <- mlogit(Chosen ~ 0 + q23_wt + park_avg + walk_avg + aesth_avg + Length + ln_ps, data = data.mn)

I wish to remove each of "q23_wt", "park_avg", "walk_avg" and "aesth_avg" one at a time from the above model, without having to type each version manually.



Louis Merlin







________________________________

Mr. Louis Merlin, AICP

Doctoral Student

UNC CH Department of City and Regional Planning

	[[alternative HTML version deleted]]

