Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: How to set up data for estimation


From   "Nihal Pitigala" <pi.gala@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: How to set up data for estimation
Date   Wed, 25 Oct 2006 16:42:21 -0500

Dear collegues,

My transition from Limdep to Stata is gradual ...Can anyone please tell me how to set up the data to estimate OLS in stata and the set of commands.. I have a 47 country, 21 sector 75 partner dataset The objective is to estimate the bilateral effects, across country pairs, (CROSS SECTION) although I have compiled sector data for each country pairs giving more observations. I have country i and j and sector k as in equation LnTRADE ijk = a1LnTARIFF ijk + 2LnTRANSPORT ijk + uijk ... LHS Trade RHS Tariff TRANSPORT etc.,

Data is in the following format:

Country Partner GTAP SectorLn Trade LnTariff Ln Transports
Albania Australia 21 agro -3.178341688 2.546306314 1.941615225
Albania Australia 22 milk -4.937585181 3.714802733 2.385086315
Albania Australia 23 sugar -5.22442586 2.581401645 1.691939134
Albania Belgium 21 agro 0.877542756 3.035567623 2.302585093
Albania Belgium 22 milk 0.877542756 3.035567623 2.302585093
Albania Belgium 23 sugar -3.988519444 3.114802296 2.629728234
etc., etc., etc.,
Bangladesh Australia 21 agro 1.122659074 2.192013667 2.020222182
Bangladesh Australia 22 milk -0.149005668 2.12487406 2.681706226
Bangladesh Australia 23 sugar -1.124582743 2.457688038 2.583242551
Bangladesh Belgium 21 agro -1.342888071 1.710622957 2.33698652
Bangladesh Belgium 22 milk -1.296940731 1.329703906 2.179286877
Bangladesh Belgium 23 sugar -0.369644338 -2.381888419 2.197224577
etc., etc., etc, etc., etc., etc,

_________________________________________________________________
Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




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