Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: movestay command


From   Ahmad Derakhshan <ahmadderakhshan2011@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: movestay command
Date   Sun, 12 Aug 2012 18:03:28 +0800

Dear Statalist

I have 2 equations for shipment size and one equation for selection of
truck-rail mode.
 Regime 1: Truck shipment size in ton explanatory variables are
(value, density value, density weight, origin, destination, truck
rate)

Regime 2: Rail shipment size in ton explanatory variables are (value,
density value, density weight, origin, destination, rail rate)

Selection Equation: (value, density value, density weight, origin,
destination, rail rate, truck rate)

or equallently:

I= a.y1 + b.y2 + z.x + v
y1=  a1.x1 + u1  ifif     I>0
y2= a2.x2 + u2   ifif    I<=0

what are the best syntaxes for regime switching model like above, and
what type and how many dummy variables required to use stata proposed
commands.
-- 
Best Regards
Ahmad Derakhshan
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index