[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: counter variable |

Date |
Sat, 2 May 2009 10:49:14 -0400 |

<> T suggested g newvar = 1 if new_prc==1 bys Id (schlyr): replace newvar = newvar[_n-1]+1 if newvar !=1

Kit Baum | Boston College Economics & 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: counter variable***From:*Eva Poen <eva.poen@gmail.com>

**st: Re: re: counter variable***From:*"Martin Weiss" <martin.weiss1@gmx.de>

- Prev by Date:
**Re: st: Re: Calculate beta values for mim results** - Next by Date:
**st: Re: st: RE: Fisher´s exact test for rxc [2X2] tables: one-tailed or two-tailed[iso-8859-1] ?** - Previous by thread:
**st: help for xtlsdvc / Bias corrected FE** - Next by thread:
**st: Re: re: counter variable** - Index(es):

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