The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Confidence interval calculation (for multcompare)
Replies: 5   Last Post: Jun 25, 2013 8:19 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1
Registered: 4/18/13
Confidence interval calculation (for multcompare)
Posted: Apr 18, 2013 4:27 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

In statistics, usually confidence intervals are calculated by the standard deviation over the sample size. However, in the multiple comparison, regardless of what the standard deviation is for each of the individual groups, the confidence intervals are always the same. I give an example code down below:

A = [1 5 3;1.1 500 4; 1.08, 10000, 3;0.95, 274, 6; 0.99, 2457, 5; 1.05, 54, 5; 1.02, 326, 4]
[p6,anovatab6,stat6] = anova1(A);

The confidence intervals displayed in this multcompare figure should be as a function of the standard deviation in each of the groups, but it appears that they follow the standard deviation of the whole.

In other words the confidence intervals are not a reflection of these values for each of the groups


but seem to be calculated from the entire population...

My question is, how and why are the confidence intervals in the multcompare function in matlab calculated?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.