Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to calculate intrapair differences?
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I've got a 12 pairs of twins. Twin 1 has a specific score on a task, and twin 2 has a specific score on the same task. I want to calculate the intrapair differences voor these 12 pairs. How do i do this? (see picture)
0 个评论
回答(2 个)
Image Analyst
2015-6-19
Can't you just subtract the two arrays?
diffs = twin1-twin2;
or am I missing something? Surely it can't be that trivial. Did you leave something out?
0 个评论
Star Strider
2015-6-19
You have an unpaired design, so you have to use the appropriate statistical test. (I did not enter your data, so I have done no calculations on them and do not know if they are normally distributed.)
If they are normally distributed, you can use an unpaired t-test. If they are not, use a Wilcoxon rank-sum test.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!