// import the data into a dataset called Data and construct a constant term Data = webimport("www.bayeconsoft.com/datasets/FishingMode.csv"); Data.constant = 1; // run the conditional-Logit and Probit models myCLogit = clogit( mode ~ price rate | constant income, "thin"=5, "chains"=2 ); myCProbit = cprobit( mode ~ price rate | constant income, "thin"=5, "chains"=2 ); // calculate marginal effects for the two models mfx( "model"=myCLogit ); mfx( "model"=myCProbit );