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

From |
Arun Rajamohan <arun.rajamohan@ndsu.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Stata 11 Announcement |

Date |
Fri, 26 Jun 2009 08:52:55 -0500 |

That's good news on a Friday morning.

----------------- One more thing... !!!!! -----------------

That is so Steve Jobish. -A On Jun 25, 2009, at 11:54 PM, William Gould, StataCorp LP wrote:

Following long tradition, we are informing Statalist first: Stata 11 begins shipping Monday, July 27. Orders are now being accepted at http://www.stata.com Below are some highlights from the release. ---------------- Factor variables ----------------Probably the highlight of the release is factor variables, if onlybecauseeveryone is going to be using them. Stata itself now deeplyunderstandsfactor variables. -xi- is dead. You can type----------------------------------------------------------------------. regress y i.sex i.group i.sex#i.region age (1). regress y i.sex##i.group age (sameas 1). regress y i.sex i.group i.region i.sex#i.group i.sex#i.region i.group#i.region (2) i.sex#i.group#i.region age. regress y i.sex##i.group##i.region age (sameas 2)----------------------------------------------------------------------Stata itself forms the necessary indicator variables. NO NEWVARIABLESARE CREATED IN YOUR DATA.In the above, # means interaction, and ## means factorialinteraction, soA##B is equivalent to A B A#B. Asterisks would have looked better,but *is Stata's varlist wildcard indicator, and factor variables are nowjustpart of varlists, so * and # had to coexist. Anyway, interactions are much more like Kronecker products than like multiplication.By the way, I typed -i.- everywhere above, but you can type, forexample,-sex#group- and Stata will know that you mean -i.sex#i.group-.You can form interactions of factor variables with continuousvariables,and continuous variables with continuous variables, by using the -c.- prefix:----------------------------------------------------------------------. regress y i.sex##i.group##i.region age c.age#c.age (3) . regress y i.sex##i.group##i.region age i.sex##i.group##i.region#c.age (4) c.age#c.age i.sex##i.group##i.region#c.age#c.age. regress y i.sex##i.group##i.region##c.age (sameas 4)i.sex##i.group##i.region##c.age#c.age. regress y i.sex##i.group##i.region##(c.age c.age#c.age) (sameas 4)----------------------------------------------------------------------In the last example, note the clever use of # and ## together, with ## being used to produce factorial-style interactions and # being used to square age.This new factor-variable notation is understood by all but a handfulofestimation commands. I demonstrated with -regress-, but I could have used nearly any other estimation command.----------------------------------------------------------------------. logistic outcome i.treatment##i.sex age bp c.age#c.bp----------------------------------------------------------------------Factor variables work with -summarize- and -list-, too:----------------------------------------------------------------------. list outcome i.treatment##i.sex----------------------------------------------------------------------That is useful for understanding exactly what the notation produces. -------- Graphics -------- You can now put bold and italic text, Greek letters, symbols, superscripts, and subscripts on graphs. What more is there to say? ---------- Statistics ---------- There are many new statistics in Stata 11, including o multiple imputation o competing-risks survival-time regression o GMM estimation with user-specified moment functionso new -margins- command, which replaces -mfx- and -adjust-, anddoesso much more o state-space modeling o multivariate GARCH o dynamic-factor models o unit-root tests for panel data o error structures for linear mixed models o standard errors for BLUPs in linear mixed modelsThere is so much to say about multiple imputation that Stata's new -mi-command gets its own manual. See http://www.stata.com/stata11 for details. ------------------------------ Graphical user interface (GUI) ------------------------------ New GUI features include o Variables Manager Edit names, labels, display formats, storage types, notes, and value labels. Those with many variables can use a filter to see a selected subset of variables. o Data Editor Live view onto your data, filters, data snapshots, and more. o Do-file Editor for Stata for Windows Syntax highlighting, code folding, and no limit to file size. I admit that I do not use GUI features often, but the new Variables Manager does indeed make things easy. Others here tell me that the new Data Editor will be the most popular interface feature because you can now leave it open while you perform your analysis, and changes are reflected instantly in it. You can even perform all your data management from within the Data Editor, and do so in a reproducible manner because it issues Stata commands for all changes. ----------- Programming -----------Mata now includes full object-oriented programming facilities:classes,inheritance, constructors and destructors, public/private/protected declarations, virtual functions, and more. Just as in Java, code is fully compiled, so there is no speed penalty for using it. ----------- PDF manuals -----------Stata's manuals now ship in PDF format with every copy of Stata.All themanuals. That's 8,500 pages.The manuals are [GS], [U], [R], [D], [G], [P], [M], [I], [MI], [MV],[ST],[SVY], [TS], and [XT].Even better, the manuals are fully integrated with the help system,so youcan click from a help file and jump to the right manual, the rightpage!I admit that it's convenient having the manuals on my laptop. Of course, the manuals are available in printed form, too. ----------------- One more thing... -----------------By the way, if you have a multicore computer, now might be a goodtime toupgrade to Stata/MP. It's faster, and it's even faster in Stata 11. There is much more, so visit http://www.stata.com/stata11 -- Bill wgould@stata.com ------------------------------------------------------------------ * * 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/

Arun Rajamohan Research Cryobiologist Biosciences Research Lab United States Department of Agriculture 1605 Albrecht Blvd. PO 5674 Fargo, ND 58105-5674 * * 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/

**References**:**st: Stata 11 Announcement***From:*wgould@stata.com (William Gould, StataCorp LP)

- Prev by Date:
**st: Endogenous switching regression: movestay** - Next by Date:
**st: Hausman Test** - Previous by thread:
**Re: st: Stata 11 Announcement** - Next by thread:
**Re: st: Stata 11 Announcement** - Index(es):

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