how to use monte carlo method to decide which CI (between satterthwaite and T-confidence interval) is better based on n and Var given to us?
Could this be of interest to you: https://www.youtube.com/watch?v=vzl3xEsP0co
Calling @Rick_SAS
Satterthwaite contributed to CIs for two-sample t tests, but he also contributed to CIs for a variance. So the first step is to define your problem. For example,
If your problem is a two-sample t test, you will also need to define the difference between the means of the two samples.
For an introduction to Monte Carlo simulation in SAS, see "Using simulation to estimate the power of a statistical test," which shows how to simulate data for a two-sample t test. The article contains links to other articles that discuss how to perform simulation studies efficiently. They are worth reading if you are learning about how to run Monte Carlo simulations in SAS.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.