Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: outreg2 + anova = error


From   "roy wada" <roywada@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: RE: outreg2 + anova = error
Date   Wed, 21 Jun 2006 23:46:46 -0400

This is the first time I ever dealt with anova in Stata. Here is the rest of the story:

When I wrote -outreg2-, I apparently used an "older" version of -outreg- from Stata's STB website.
*! version 3.0.6 27nov00

The "newer" version of outreg from SSC has this error fixed.
*! version 3.1.7 13may02

Someone once told me that the two copies are equivalent. They are not. I should have checked the dates before doing the transplant. You can fix it in outreg2 by replacing "nolabel" with "nocons" in the .ado file. It should have looked like this:


		 local cons "nocons"
Makes sense?

I will ask Kit to post a fix.

Roy

From: "Porter, Burt" <rbporter@iastate.edu>
To: <statalist@hsphsun2.harvard.edu>
CC: "roy wada" <roywada@hotmail.com>
Subject: outreg2 + anova = error
Date: Wed, 21 Jun 2006 17:38:32 -0500

When using outreg2 following anova I receive the following error
message:

     option nolabel not allowed

Browsing outreg2.ado I find the following code:

	* nolabels for anova and fracpoly
	if ("`cmd'"=="anova" | `fracpol' | "`cmd'"=="nl") {
		/* e(fp_cmd)!=. means fracpoly */
		 local cons "nolabel"

However, I do not understand why this causes the error I am receiving.
Any help would be much appreciated.

 **************************************
 R. Burt Porter
 Iowa State University

 Email:          rbporter@iastate.edu

 **************************************


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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