How to find Coefficient R
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Sam Chak
2022-6-2
Corrected. Please check.
R = (sum((x-meanx).*(y-meany)))./(sqrt((sum((x-meanx).^2)).*(sum((y-meany).^2))))
r2 = R^2
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!