# variance analysis

This topic is 4190 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Suppose I have an n x n grid of real numbers. I want to do a variance analysis on every 2 x 2 area. I could do it with one of 2 methods 1. Each 2 x 2 area has unique group of cells (0,0) (0,1) | (0,2) (0,3) ... (1,0) (1,1) | (1,2) (1,3) ... (2,0) (2,1) | (2,2) (2,3) ... (3,0) (3,1) | (3,2) (3,3) ... ... .... 2. Overlapping 2 x 2 areas (0,0) (0,1) | (0,1) (0,2) ... (1,0) (1,1) | (1,1) (1,2) ... (1,0) (1,1) | (1,1) (1,2) ... (2,0) (2,1) | (2,1) (2,2) ... ... .... I would the average of each group of 4 and then get standard deviation and variance for these. In #2 the edges (first and last row, first and last column) and in particular the 4 corner cells would be in fewer calculations. Not a big deal if n is large. The advantage to #2 is that the sample size is larger. Is there anything other to consider that might skew the results one way or the other?

##### Share on other sites
jdaues,

We need more background on your problem. As stated, this appears to be off topic. Can you clarify?

1. 1
2. 2
3. 3
Rutin
18
4. 4
JoeJ
14
5. 5

• 14
• 10
• 23
• 9
• 44
• ### Forum Statistics

• Total Topics
632634
• Total Posts
3007564
• ### Who's Online (See full list)

There are no registered users currently online

×