全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1570 1
2011-12-07
悬赏 60 个论坛币 未解决

We often describe our emotional reaction to social rejection as “pain.”  A clever study suggests that the “pain” caused by social rejection really is pain, in the sense that it causes activity in brain areas known to be activated by physical pain. Here are data for 13 subjects on degree of social distress and extent of brain activity:

subject.png

Make a scatterplot of brain activity against social distress. There is a positive linear association, with correlation r = 0.878. Is this correlation significantly greater than 0? Use a permutation test using 1000 permuted samples.  Construct a histogram of all the permuted correlation statistics.

请会的帮忙做一下。

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2011-12-8 13:06:45
用DAAG包里的twot.permutation,试试看?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群