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: Carryforward oddity


From   Steven Archambault <[email protected]>
To   [email protected], [email protected]
Subject   st: Carryforward oddity
Date   Thu, 12 May 2011 09:23:41 -0600

Hi David and statalist,

I am using the carryforward command as follows. As you can see, there
is some unintended backward filling. Where does that -.25 come from?

carryforward voice_acct, gen(voice3)

year	country_name	voice_acct	   voice3
1991	Bangladesh		           -.25
1992	Bangladesh		           -.25
1993	Bangladesh		           -.25
1994	Bangladesh		           -.25
1995	Bangladesh		           -.25
1996	Bangladesh	-.23	           -.23
1997	Bangladesh	-.24	           -.24
1998	Bangladesh	-.25	           -.25
1999	Bangladesh	-.345	           -.345
2000	Bangladesh	-.44	           -.44
2001	Bangladesh		           -.44


Thanks. -Steve
*
*   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