Statalist


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

Re: st: How to feed STATA with panel data to be used in estimating with Seemingly Unrelated Regression


From   Neil Shephard <[email protected]>
To   [email protected]
Subject   Re: st: How to feed STATA with panel data to be used in estimating with Seemingly Unrelated Regression
Date   Mon, 8 Jun 2009 16:39:30 +0100

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index