I have a very simple data set consisting of three columns: Ground Truth Canopy Class, Method 1 Canopy Class and Method 2 Canopy Class. Each row in the columns represents the canopy class (i.e. 1 through 5). I have produced an error matrix in excel and calculated the overall accuracy and Khat (Figure 1). However, now I need to test whether or not method one is significantly different from method two using the attached equations (Figure 2 and 3). I could use help to calculate the following using R or Excel:
- K hat
- Variance of K hat
Is there a package in R I've overlooked that can aid me these calculations?
Source: Assessing the Accuracy of Remotely Sensed Data (Congalton, 2009)