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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

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