What is observation in correlation matrix?
5 次查看(过去 30 天)
显示 更早的评论
I would like to use "corrcoef" command. In matlab help it is written the input of "corrcoef" command is a matrix which its rows are observations and columns are variables. Please let me know what the observations are.
Thanks in advance.
0 个评论
采纳的回答
Wayne King
2013-10-2
"observations" here just means the values of the variables. Assume that you collect weight and height data on 5 people. Put the weight data in the first column and put the height data in the second column. You have a 5x2 matrix, each row is a pair of "observations" -- the (weight,height) pair for one person.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!