Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

SAS FAQ: How do I convert a Stata file with value labels to become SAS files with formats?

0
Posted

SAS FAQ: How do I convert a Stata file with value labels to become SAS files with formats?

0

You can use Stat/Transfer to convert Stata files with value labels to become SAS files with formats. It requires a small amount of extra work to do this, as described below. For this example, suppose that we have a file called auto.dta and it is stored in c:\carsdata . Step 1. Convert the Stata file to SAS using Stat/Transfer Start up Stat/Transfer. As you see below, on the first screen we picked Stata Version 6 as the input file type, and c:\carsdata\auto.dta as the file to transfer. For the output file we have chosen SAS For Windows/OS2 and we accepted the default name for the output file, c:\carsdata\auto.sd2.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123