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]
Re: st: reg2hdfe error
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
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
[email protected]
On 9 April 2013 18:57, Manasi Deshpande <[email protected]> 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/