New SAS User

Completely new to SAS or trying something new with SAS? Post here for help getting started.
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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
  • 2428 views
  • 0 likes
  • 2 in conversation