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: Incompatibility of base level operators with vce(jackknife)
From
David Muller <[email protected]>
To
[email protected]
Subject
st: Incompatibility of base level operators with vce(jackknife)
Date
Tue, 6 Sep 2011 12:33:20 +1000
Hello everyone,
Factor variable base level operators such as -ib(freq).- seem to be
incompatible with the option -vce(jackknife)-:
.sysuse auto
.reg mpg ib(freq).foreign, vce(jackknife)
variable ib not found
r(111);
This is odd, since specifying jackknife variance estimation with the
prefix -jackknife:- does not trigger an error.
. jackknife: reg mpg ib(freq).foreign
(running regress on estimation sample)
-- output omitted --
Both Stata 11.2 and 12 exhibit this behaviour. Is this intended? It
doesn't seem to be documented in [U] Factor variables, or [R]
vce_option. Obviously it is easy to work around the problem by
generating indicator variables manually, but I can't think why full
factor variable notation should not be allowed when specifying
-vce(jackknife)-.
Cheers,
David
*
* 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/