public TestResult McNemarTest()
Public Function McNemarTest As TestResult
public: TestResult^ McNemarTest()
member McNemarTest : unit -> TestResult
McNemar's test is appropriate to a rather specialized circumstance, so if you aren't sure this is the right test, it probably isn't.
The circumstance to which McNemar's test applies is paired binary measurements. Each member of a set is measured twice, once before and once after some treatment, and each measurement has a binary outcome. McNemar's test can be used to determine whether the treatment had any systematic effect. The null hypothesis is that it does not, i.e. that any discrepancies between the first and second measurements were random.