BookmarkSubscribeRSS Feed
ebowen
Quartz | Level 8

For you Stata users, I'm wondering what's the best SAS procedure to use to replicate the output from Stata xtprobit when using two-way panel data (repeated cross section/time series). I've tried PROC LOGISTIC with a probit link function and two class variables. Also PROC GLIMMIX with double random intercept effects. I've also tried PROC NLMIXED, but I haven't been able to figure out if it's possible to use more than one random effect. None of the results I've gotten from SAS are very compatible with the output from Stata. Also the SAS functions run for a long time compared with the procedure in Stata. Any help would be much appreciated!

1 REPLY 1
ballardw
Super User

To help those who may know enough about Stata to answer this question you should post Stata code used (and labeled as such) and maybe proc contents of your data set. The code to show the options used and the contents to describe the variables. It might help to post some of the SAS code you attempted as well. it is best to post code in a code box opened with the forum {i} menu icon to prevent the forum from reformatting text.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

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