How can I analyze a set of data in the form of ratios?

조회 수: 2 (최근 30일)
Dimitri
Dimitri 2013년 3월 1일
I have data in the form of ratios (out of 1). For example the two columns are color and non-color. under the color column, the first entry would be .75, and under the non-color column the first entry would be .25 (1-.75). I want to analyze this data for variance and using MATLAB any help?
  댓글 수: 1
Dimitri
Dimitri 2013년 3월 1일
I tried doing the Spearman corellation but dont believe this worked

댓글을 달려면 로그인하십시오.

채택된 답변

Will Forfang
Will Forfang 2013년 3월 2일
You can find the variance of either of the columns with the var command, like Juan mentioned. If x is your two column matrix:
V1= var(x(:,1)) %this gives you the variance of the first column
V2 = var(x(:,2)) %this gives you the variance of the second column
I'm not too familiar with Spearman's Rank Correlation, but after scanning over its wikipedia, it doesn't seem to be too related to variance. Are you sure you're actually looking for variance?
-Will
  댓글 수: 1
Dimitri
Dimitri 2013년 3월 5일
This answered my question, so thank you, but to be honest im not really sure if thats what im looking for

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Juan Camilo Medina
Juan Camilo Medina 2013년 3월 2일

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by