Showing 1 - 10 of 8,679
-written programs. Here I start at the beginning with some basic tips and tricks. I discuss using display to replay the results you want …
Persistent link: https://www.econbiz.de/10010631467
reshape command. Tabulations and graphics for such data are also reviewed brießy. Copyright 2003 by Stata Corporation. … different form; valuable inbuilt string and egen functions; using foreach and forvalues to loop over lists; and the use of the …A frequent problem in data management is that datasets may not arrive in the best structure for many analyses, so that …
Persistent link: https://www.econbiz.de/10005748395
Three commands in official Stata, foreach, forvalues, and for, provide structures for cycling through lists of values … of foreach and forvalues. Copyright 2002 by Stata Corporation. … used interactively, and none is restricted to use in Stata programs.They are explained and compared in some detail with a …
Persistent link: https://www.econbiz.de/10005583336
features for manipulating lists held in macros and the new levels command are also reviewed. Copyright 2003 by Stata …Various problems in working through lists are discussed in view of changes in Stata 8. for is now undocumented, which … provokes a detailed examination of ways of processing lists in parallel with foreach, forvalues, and other devices, including …
Persistent link: https://www.econbiz.de/10005568824
capabilities. Some of Stata's most useful commands for handling repetitive tasks: -forvalues-, -foreach-, -egen-, -local- and … -matrix- are commonly underutilized by users unacquainted with their power and ease of use. While relatively few users may … develop ado-files for circulation to the user community, nearly all will benefit from learning the rudiments of use of the …
Persistent link: https://www.econbiz.de/10004968794
, including the use of subscripts, summarize, by:, sum(), cond(), and egen. Several techniques exploit the fact that logical … a whole or within groups such as panels. This column reviews some basic Stata techniques helpful for such tasks … expressions yield 1 when true and 0 when false. Dividing by zero to yield missings is revealed as a surprisingly valuable device …
Persistent link: https://www.econbiz.de/10009221534
how to answer questions about distinct observations from first principles by using the by prefix and the egen command. The …
Persistent link: https://www.econbiz.de/10005748347
and commands. Operations under by:, or an equivalent by() option, are frequently called for, while the egen command offers … a key tool for many calculations. Even when looping is needed, some helpful tricks can be identified. Copyright 2014 by …Data for people in a family, firms in a sector, or members of any kind of group are often analyzed using data for the …
Persistent link: https://www.econbiz.de/10010801226
Persistent link: https://www.econbiz.de/10000380622
Persistent link: https://www.econbiz.de/10000443181