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]

From |
Phil Schumm <pschumm@uchicago.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: using varlist wildcards in anova |

Date |
Sat, 3 Apr 2010 21:46:56 -0500 |

On Apr 3, 2010, at 6:25 PM, Phil Schumm wrote:

On Apr 3, 2010, at 5:45 PM, Vineet Bhagwat wrote:Which is weird, because on my computer's Stata, "reg y t* " and anyother command using the asterisk works fine, just -anova- thatseems to throw the error for some reason. I'm using Stata9 on mycomputer if that clarifies anything.Well, at least that narrows it down. I no longer have a version ofStata 9 on my machine, so I can't look at this issue further.Perhaps someone with Stata 9 still available (or a better memory of -anova- under version 9) might be able to add something.One workaround would be the following (IIRC, -unab- predated Stata 9): unab t: t* anova y `t' though upgrading, if possible, would clearly be preferable.

On Apr 3, 2010, at 5:21 PM, Phil Schumm wrote:

Regardless, this isn't due to -anova-, but rather is a function ofhow Stata is parsing the command line.

anova varname [term [/] [term [/] ...]] [if] [in] [weight] [, options] where term is of the form varname[{*||}varname[...]]

In sum, the workaround I gave above is your only option under Stata 9. -- Phil * * 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/

**Follow-Ups**:**Re: st: using varlist wildcards in anova***From:*Will Hauser <whauseriii@gmail.com>

**Re: st: using varlist wildcards in anova***From:*Vineet Bhagwat <vineet.bhagwat@gmail.com>

**References**:**st: using varlist wildcards in anova***From:*Vineet Bhagwat <vineet.bhagwat@gmail.com>

**Re: st: using varlist wildcards in anova***From:*Phil Schumm <pschumm@uchicago.edu>

**Re: st: using varlist wildcards in anova***From:*Vineet Bhagwat <vineet.bhagwat@gmail.com>

**Re: st: using varlist wildcards in anova***From:*Phil Schumm <pschumm@uchicago.edu>

**Re: st: using varlist wildcards in anova***From:*Vineet Bhagwat <vineet.bhagwat@gmail.com>

**Re: st: using varlist wildcards in anova***From:*Phil Schumm <pschumm@uchicago.edu>

- Prev by Date:
**st: How much of variation in dep var is explained by various sets of variables?** - Next by Date:
**Re: st: using varlist wildcards in anova** - Previous by thread:
**Re: st: using varlist wildcards in anova** - Next by thread:
**Re: st: using varlist wildcards in anova** - Index(es):