Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: RE: par ambiguous abbreviation error in qic


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: par ambiguous abbreviation error in qic
Date   Wed, 13 Oct 2010 11:54:00 +0100

-qic- is user-written. Please remember to explain where you got user-written programs you refer to. 

SJ-8-1  st0126_1  . . . . . .  QIC program and model selection in GEE analyses
        (help qic if installed) . . . . . . . . . . . . . . . . . . . . J. Cui
        Q1/08   SJ 8(1):146
        general negative binomial distribution now included with qic

SJ-7-2  st0126  . . . . . . .  QIC program and model selection in GEE analyses
        (help qic if installed) . . . . . . . . . . . . . . . . . . . . J. Cui
        Q2/07   SJ 7(2):209--220
        provides the quasilikelihood under the independence
        model criterion (QIC) method for GEE model selection

-qic- estimates a scalar -par-. If you have a variable -par- as well, or one that abbreviates to -par-, there will be a problem. See 

SJ-6-2  dm0021  . Stata tip 31: Scalar or variable? Problem of ambiguous names
        . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  G. I. Kolev
        Q2/06   SJ 6(2):279--280                                 (no commands)
        tips for avoiding abbreviation conflicts with variables
        when naming scalars

and the references it cites for more on this problem. (This paper is accessible online to you, regardless of whether you subscribe to the Stata Journal.)

Thus look to see if you have variables of that kind. 

. d par* 

will tell you. If you have, -rename- such variables as a quick work-around. If that is not the problem, tell us more. 

Nick 
n.j.cox@durham.ac.uk 

Daegyu Yang

I tried to use qic in order to know the best correlation structure in
my analysis, but the "par ambiguous abbreviation r(111)" error kept
occurring. I don't know why. In the statalist, I found that someone
had the same problem in 2007 as I do now, but it seems that that
person didn't get the solution. Please let me know how to solve this
problem or at least why this kind of error keeps occurring.


*
*   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/


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