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

From |
Kit Baum <baum@bc.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st:re:re: if-sentences in Stata |

Date |
Fri, 28 Nov 2008 10:54:32 -0500 |

<> Linn said 1) When you type L.flow is that referring to the Value in cell [_n-1]? 2) you type flow = (shift == - 1)*..... and then + (shift == 1)*... Adding the + there and then (shift == 1) means Stata should execute the last command only if the (shift == 1) is true? The 2/1 at last means starting in cell 2 and continue in Steps of 1, right? As you probably understand I am Kind of new to programming syntax in Stata. (1) yes.

Kit Baum, Boston College Economics and DIW Berlin http://ideas.repec.org/e/pba1.html An Introduction to Modern Econometrics Using Stata: http://www.stata-press.com/books/imeus.html * * 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/

**Follow-Ups**:**Re: st:re:re: if-sentences in Stata***From:*"Austin Nichols" <austinnichols@gmail.com>

- Prev by Date:
**Re: st: Anova** - Next by Date:
**Re: st: Anova** - Previous by thread:
**st: xtlogit and movestay** - Next by thread:
**Re: st:re:re: if-sentences in Stata** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |