MATLAB Answers

Claire
0

Statistical significance of gridded anomaly matrix

Asked by Claire
on 14 Jan 2015
Latest activity Commented on by BD
on 27 Aug 2015
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!

  2 Comments

Did you find a way to do this using ttest?
Hi, I have a similar problem, any help would be great! Thanks!

Sign in to comment.

0 Answers