DTA
From Just Solve the File Format Problem
(Difference between revisions)
Arnoudmulder (Talk | contribs) (Created page with "{{FormatInfo |formattype=electronic |subcat=Scientific Data formats |extensions={{ext|dta}}}} DTA file format is the file format for storing data by the statistical sof...") |
Arnoudmulder (Talk | contribs) (more examples) |
||
| Line 16: | Line 16: | ||
== Sample files == | == Sample files == | ||
| + | |||
| + | New format: | ||
| + | |||
www.stata-press.com/data/r18/d.html | www.stata-press.com/data/r18/d.html | ||
| + | |||
| + | Old format: | ||
| + | |||
| + | stats.oarc.ucla.edu/stata/examples/chp/regression-analysis-by-example-third-editionby-chatterjee-hadi-pricedata-files/ | ||
| + | |||
| + | www.principlesofeconometrics.com/stata.htm | ||
Revision as of 23:28, 11 October 2026
DTA file format is the file format for storing data by the statistical software from Stata.
Format
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
Identification
Modern DTA files are some kind of binary XML files and start with the <stata_dta> tag.
Sample files
New format:
www.stata-press.com/data/r18/d.html
Old format:
stats.oarc.ucla.edu/stata/examples/chp/regression-analysis-by-example-third-editionby-chatterjee-hadi-pricedata-files/
www.principlesofeconometrics.com/stata.htm