Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: movestay command


From   Ahmad Derakhshan <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index