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]

st: reg2hdfe error


From   Manasi Deshpande <deshp.ma@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: reg2hdfe error
Date   Tue, 9 Apr 2013 13:57:46 -0400

Dear Stata list,

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.

Many thanks,
Manasi
*
*   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