Statistical significance of gridded anomaly matrix
2 次查看(过去 30 天)
显示 更早的评论
I have two 2D matrices which contain latitude/longitude temperature data, with dimensions 22x12. I.e matrix A(22x12) and matrix B(22x12).
I would like to determine if my matrix A is statistically significant from matrix B.
Matrix B was created by changing a parameter in matrix A, so I was looking at using a student's paired t-test, which does not assume that your two datasets are independent.
The issue I am having is in trying to apply the t-test to my data.
I have tried to use the 'ttest' function but the analysis seems to be done along columns
[hlat,plat]=ttest(A,B);
ans is a vector with 12 points.
What I actually want is to test for significance at each grid point, so that I can determine where (in terms of latitude and longitude coordinates), my model is giving statistically significant results. I.e. I'd like a 22x12 output of the significance test. I then want to use this to mark the statistically significant regions in an anomaly plot.
I'm not sure if/how to use 'ttest' to do this, or if I am using the wrong function all together.
Any help would be greatly appreciated! Thanks!
5 个评论
Sanatan Binisia
2021-4-2
Did anyone find the solution? please share, I am also having the same problem.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!