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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: reg2hdfe error


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: reg2hdfe error
Date   Tue, 9 Apr 2013 19:06:10 +0100

You need to check that the problem is not your end, for example that
you are working in a directory or folder in which you do not have
write permission. This is a common problem when working on a network.

I doubt that the file name is the issue here, provided that the file
does not already exist.

Nick
njcoxstata@gmail.com


On 9 April 2013 18:57, Manasi Deshpande <deshp.ma@gmail.com> wrote:

> I am using the user-written command -reg2hdfe- from SSC in Stata 12.1.
>
> When I type the command
>
> reg2hdfe n_combpay n_yrXelig_1993-n_yrXelig_2012
> n_year_1993-n_year_2012, id1(id) id2(n_yrXstate) cluster(id)
>
> Stata executes and has no complaints.
>
> However, when I attempt to save the transformed variables by adding
> the "outdata" option
>
> reg2hdfe n_combpay n_yrXelig_1993-n_yrXelig_2012
> n_year_1993-n_year_2012, id1(id) id2(n_yrXstate) cluster(id)
> outdata(data5)
>
> I get the error message
>
> file could not be opened
> r(603);
>
> I've tried various names for the dataset but can't get it to work. I
> would appreciate any assistance you can provide.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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