DTA

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(more examples)
 
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 ==
  
−
New format:
+
[https://www.stata-press.com/data/r18/d.html stata-press, 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/
+
[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

File Format
Name DTA
Ontology
Extension(s) .dta

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.

stata.py

[edit] Identification

Modern DTA files are some kind of binary XML files and start with the <stata_dta> tag.

[edit] Sample files

stata-press, new format

ucla, old format

Principles of econometrics, old format

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox