BookmarkSubscribeRSS Feed
pquant
Fluorite | Level 6

Hi all,

 

I need to run a STATA .do file within SAS 9.4.

 

I know that SAS is able to interface with other environment and I wonder about it can to do the same with STATA.

 

Is there any way to do that?

 

Thanks all in advance.

Any help will be appreciated!!

1 REPLY 1
DarthPathos
Lapis Lazuli | Level 10

I'm not familiar with Stata, but the easiest may be to call Stata from within SAS - paper here.  If you can save the DO file as something else (a DTA or a SAV file, according to what I've read) then you can use PROC IMPORT to get the file into the SAS Environment.  

 

Hopefully you figure this out, and if you can post back your solution here, it'll help future STATA / SAS users 🙂

Chris

Has my article or post helped? Please mark as Solution or Like the article!

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2193 views
  • 0 likes
  • 2 in conversation