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]

Re: st: error when using felsdvregdm


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: error when using felsdvregdm
Date   Sun, 19 Feb 2012 16:44:54 +0000

The message refers to a temporary variable that Stata cannot find.

A wild guess is that your command call triggers a subtle bug or
limitation in this program, but I'd recommend that you contact the
authors directly if you don't get a more detailed reply. You might
need to send them your dataset for testing or minimally a log of what
the program does after -set trace on-.

Nick

On Sun, Feb 19, 2012 at 4:35 PM, Prashant <presearchwork@gmail.com> wrote:

> I am using felsdvregdm and get the error message "variable __00000Y
> not found". I am using Stata SE 11.2 on Windows 7 and the following
> code:
>
> felsdvregdm dropout2011 voucher_yn correctperclag goacdemichilag
> govetlag age female assetvalue2010 hb sx, ///
>                        ivar(studentid) jvar(classcode2010) reff(province2010) peff(stufe_dm) ///
>                        feff(classfe_dm) feffse(classse_dm) mover(mover) group(group) ///
>                        xb(xb) res(resid) mnum(mnum) pobs(pobs) onelevel
>
> Where:
> dropout2011 is the (in this case binary) outcome variable
> voucher_yn correctperclag goacdemichilag govetlag age female
> assetvalue2010 are covariates
> hb and sx are two dummy variables for the two regions that cover the sample
> studentid is a unique student id
> classcode2010 is a unique class id (students are nested in classes)
> province2010 is a dummy variable with two levels (1 = sx, 2 = hb), the
> values are mutually exclusive and exhaustive
> all of the other parts of the code will create variables (with names
> I've set in parathenses) and are required by the program
>
> I want to "correctly" estimate class fixed effects and related
> standard errors in a model with one level of fixed effects.
>
> I was wondering if someone might be willing to point out why I am
> getting the above error message.
>
> Note: felsdvregdm is a user-written command: see Mihaly, K.,
> McCaffrey, D.F., Lockwood, J.R., Sass, T.R. 2010, "Centering and
> referencing groups for estimates of fixed effects: Modifications to
> felsdvreg", The Stata Journal 2010, 10(1), pp. 82-103)

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