Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dbf to Dta file

    Hi there,

    I'm wondering if it's possible to convert a DBF file to a DTA file for STATA. What commands should I use?

    Thanks!

  • #2
    You'll need to explain what is a DBF file and what program has generated it. Do you mean dBase? If so, StatTransfer is a commercial solution that can perform that conversion. Stata provides a short list of files which it can read, and I don't see dbf as one of them.

    You might be able to export your dbf contents from its native program to something that Stata can read, such as a CSV file, and then import that into Stata.

    Comment


    • #3
      You can open in MS Access and export to csv or xlsx.

      Comment


      • #4
        if "dbf" refers to dBase, you can use StatTransfer from Circle Systems; just use your favorite search engine

        Comment


        • #5
          Consider ODBC, starting with

          Code:
          help odbc 

          Comment

          Working...
          X