DTA
From Just Solve the File Format Problem
(Difference between revisions)
Arnoudmulder (Talk | contribs) (more examples) |
Arnoudmulder (Talk | contribs) |
||
| Line 9: | Line 9: | ||
An implementation to read DTA files can be found in the pandas python package. | An implementation to read DTA files can be found in the pandas python package. | ||
| − | github.com/pandas-dev/pandas/blob/main/pandas/io/stata.py | + | [https://github.com/pandas-dev/pandas/blob/main/pandas/io/stata.py stata.py] |
| − | + | ||
== Identification == | == Identification == | ||
| Line 17: | Line 16: | ||
== Sample files == | == Sample files == | ||
| − | + | [https://www.stata-press.com/data/r18/d.html stata-press, new format] | |
| − | + | ||
| − | www.stata-press.com/data/r18/d.html | + | |
| − | + | ||
| − | + | ||
| − | stats.oarc.ucla.edu/stata/examples/chp/regression-analysis-by-example-third-editionby-chatterjee-hadi-pricedata-files/ | + | [https://stats.oarc.ucla.edu/stata/examples/chp/regression-analysis-by-example-third-editionby-chatterjee-hadi-pricedata-files/ ucla, old format] |
| − | www.principlesofeconometrics.com/stata.htm | + | [https://www.principlesofeconometrics.com/stata.htm Principles of econometrics, old format] |
Latest revision as of 23:38, 11 October 2026
DTA file format is the file format for storing data by the statistical software from Stata.
[edit] Format
An implementation to read DTA files can be found in the pandas python package.
[edit] Identification
Modern DTA files are some kind of binary XML files and start with the <stata_dta> tag.