BookmarkSubscribeRSS Feed
ALEXMANI
Calcite | Level 5

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?

3 REPLIES 3
Ksharp
Super User

Calling @Rick_SAS 

Rick_SAS
SAS Super FREQ

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,

 

  • What test are you running?
  • What SAS procedure would you use to compute the statistics on one set of data? Figure out the syntax.
  • The CI is for what statistic? 
  • The data are simulated from what distribution?

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: Call for Content

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!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 504 views
  • 4 likes
  • 4 in conversation