×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

statistics on experimental results---need help

statistics on experimental results---need help

statistics on experimental results---need help

(OP)
Hi,
Data A from group 1 and B from group 2. Now mean(A) is larger than mean(B). We want to compare the two groups:
In Matlab, ttest2 is used:

To test if A is greater than B:
p=ttest2(A,B,0.05,'right') give p=0.045<0.05, so mean of A is statistically greater than mean of B.

To test if mean of A is equal to mean of B:
p=ttest2(A,B,0.05,'both') give P=0.07>0.05, so A and B are not statistically different from each other.

Which answer should I use?

Thanks,

Mapi

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources