BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
desireatem
Pyrite | Level 9

I am interested in computing the simulated error for the parameter t in the regression.  SAS gives me the regression error ot t which is StdEr I wish to know if sas has an easy way to get it.

THanks

1 ACCEPTED SOLUTION

Accepted Solutions
SteveDenham
Jade | Level 19

Would restating the simulation error as sqrt(sum(beta_i - beta_bar)/(N-1)) be correct?

I would feel more comfortable with sqrt(sum((beta_i - beta_bar)^2)/(N-1)), so that it is now essentially the standard deviation of the beta_i estimates.

Steve Denham

Message was edited by: Steve Denham

View solution in original post

4 REPLIES 4
Reeza
Super User

Is your formula above correct?

desireatem wrote:

The simulated error is sqrt (1/N-1(SUM(bete_i-bar(beta)).

desireatem
Pyrite | Level 9

It might not be correctly type. However do you know how to compute the simulated standard error. This is the correct simulation error: SQRT [1/N-1 *SUM(Est(beta_i- bar(beta))] where N=1000 number of replicates.

SteveDenham
Jade | Level 19

Would restating the simulation error as sqrt(sum(beta_i - beta_bar)/(N-1)) be correct?

I would feel more comfortable with sqrt(sum((beta_i - beta_bar)^2)/(N-1)), so that it is now essentially the standard deviation of the beta_i estimates.

Steve Denham

Message was edited by: Steve Denham

Reeza
Super User

If I'm interpreting this correctly,

SUM(bete_i-bar(beta))=0 always, assuming bar(beta) is average of beta.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 2136 views
  • 0 likes
  • 3 in conversation