On Mon, Jun 8, 2009 at 2:25 PM, Amir Hossein<[email protected]> wrote:
> Dear friends,
> I want to estimate a translog cost function with two cost shares using
> panel data set including 4 years and 21 units as a Seemingly Unrelated
> Regression. Could you say me how to feed the data into STATA so that
> the translog cost function is estimated with panel data.
>
> Thank you in advance
You give no indication of the format the data is currently in either
in terms of the file-type (.xls/.csv/in a database) or data structure
(wide v's long).
You will however find the following commands (and their help pages)
potentially useful for reading your data into Stata
-insheet-
-infiling-
-infile2-
-infix-
...and getting it in the correct structure you'll likely want to read up on...
-reshape-
(simply type the above command preceeded by 'man' but without the
flanking -'s in Stata to read the help-page for the commands
help-page).
Neil
--
"The combination of some data and an aching desire for an answer does
not ensure that a reasonable answer can be extracted from a given body
of data." ~ John Tukey (1986), "Sunset salvo". The American
Statistician 40(1).
Email - [email protected]
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
* 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/