--- /dev/null
+#ifndef JACKKNIFE_H
+#define JACKKNIFE_H
+
+/*
+ * jacknife.h
+ * Dotur
+ *
+ * Created by Sarah Westcott on 1/7/09.
+ * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
+ *
+ */
+
+#include <Carbon/Carbon.h>
+#include "calculator.h"
+
+/* This class implements the JackKnife estimator on single group.
+It is a child of the calculator class. */
+
+/***********************************************************************/
+
+class Jackknife : public Calculator {
+
+public:
+ Jackknife() : Calculator("Jackknife", 3) { getAMatrix(); };
+ EstOutput getValues(SAbundVector*);
+ EstOutput getValues(SharedRAbundVector*, SharedRAbundVector*) {return data;};
+
+private:
+ static const int maxOrder = 30;
+ vector<vector<double> > aMat;
+
+ void getAMatrix();
+ double CN(double);
+};
+
+/***********************************************************************/
+
+#endif
\ No newline at end of file