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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.