Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: version 5.0 to version 9.2


From   "Raphael Fraser" <[email protected]>
To   [email protected]
Subject   st: version 5.0 to version 9.2
Date   Thu, 21 Jun 2007 16:03:30 -0500

Can any one convert the following code to Stata 9.2 syntax? I am not
sure what the "@" means.

version 5.0
for temp* : gen r@=cond(@==1,res,.)
for rtemp*: by `3': replace @=sum(@)
for rtemp*: by `3': replace @=@[_N]
for rtemp*: replace @=cond(@==0,.,@)

Regards,
Raphael
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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