爱问知识人 爱问教育 医院库

怎样用matlab求相关系数矩?

首页

怎样用matlab求相关系数矩?

怎样用matlab求相关系数矩阵

提交回答

全部答案

    2014-04-22 14:48:52
  •   我们是用corr来计算的:
    [RHO,PVAL] = corr(X,Y,'name',value)
    其中name可以是type,rows,tail,而value分别如下:
    type:  'Pearson' (the default) computes Pearson's linear correlation coefficient
             'Kendall' computes Kendall's tau
             'Spearman' computes Spearman's rho
    rows 'all' (the default) uses all rows regardless of missing values (NaNs)
              'complete' uses only rows with no missing values
              'pairwise'computes RHO(i,j) using rows with no missing values in column i or j
    tail      'both' — Correlation is not zero (the default)
             'right' — Correlation is greater than zero
             'left' — Correlation is less than zero。
      

    M***

    2014-04-22 14:48:52

类似问题

换一换
  • 其他编程语言 相关知识

  • 电脑网络技术
  • 电脑网络

相关推荐

正在加载...
最新问答 推荐信息 热门专题 热点推荐
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200

热点检索

  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 174-193
返回
顶部
帮助 意见
反馈

确定举报此问题

举报原因(必选):