Statalist


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

st: RE: re: if-sentences in Stata


From   Linn Renée Naper <[email protected]>
To   <[email protected]>
Subject   st: RE: re: if-sentences in Stata
Date   Fri, 28 Nov 2008 11:55:03 +0100

Hi
Thanks, the codes now works perfectly!!!
Linn

-----Opprinnelig melding-----
Fra: [email protected] [mailto:[email protected]] På vegne av Kit Baum
Sendt: 27. november 2008 20:34
Til: [email protected]
Emne: st: re: if-sentences in Stata

< >
Linn said

I've tried and it really doesn't matter...
I get the same result.


And that result will presumably be meaningless, as a statement like

if shift == 1

will ever only reference the FIRST observation of the variable shift.  
Given what you have outlined as the logic, I cannot imagine that this  
could be useful. Please see my proposed solution.

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/

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index