Questions tagged [mcnemar-test]

A test for dependent categorical data, such as yes/no data before & after a treatment. The McNemar-Bowker test generalizes McNemar's test for $k>2$ categories. The tests assess whether the population proportions in each pair of corresponding symmetric cells are equal.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Can I test the difference between two chi square statistics for significance

I'm working on a (currently) hypothetical problem that relates to monitoring and evaluating people's participation in recycling. The test statistic is the participation rate (the proportion of ...
0
votes
1answer
18 views

Why can the null and alternate hypotheses of McNemar's test be written in terms of dependance/independance of tests?

Consider a study to examine whether food frequency questionnaires and three-day food diaries are equally likely to label a women as consuming less than the RDA of calcium. Because calcium intake can ...
1
vote
0answers
11 views

Chi2 versus other tests for dependent samples (same observer different time)

I have come across a problem at deciding which hypothesis test I should use. I have personal previous research (great part of which is lost); of it, I have all the n and the proportions for each ...
3
votes
1answer
44 views

Is McNemar's Test Appropriate Here?

I am applying two diagnostic tests with dichotomous outcomes (condition present yes/no) to a sample of patient data. Both take into account a range of vital parameters and produce a test result, which ...
0
votes
0answers
23 views

What Statistical Analysis test do I run for Pre/post test?

Hello I am conducting a study where I examine patients who have not received a flu vaccination. In all I have 45 participants all who have not received the vaccine. I implemented and educational ...
1
vote
1answer
26 views

How to Test Sampling Methods

Suppose I have a population, $P$, of 100 individuals and I am devising 3 algorithmic methods to sample 20 people from said population: $A$, $B$, and $C$. We know that $C$ is a random, unbiased ...
2
votes
1answer
82 views

Chi Square test or McNemar test?

I've got a set of 1000 patients and I am measuring two different blood values (CRP and IL6) and choosing a categorical cutoff values for both (CRP>10 and IL6 >2). I now would like to know if there is ...
0
votes
0answers
25 views

McNemar's chi-square test for comparing two classifier algorithms

I want to compare the classification performance of Random forest with variable selection algorithm (method A) and Random forest only (method B). The original dataset has 100 variables. After using ...
0
votes
0answers
21 views

The McNemar exact conditional test: should the p-values be uniform under the null?

I have two classification models, $C_1$ and $C_2$, and I want to do a hypothesis test to see if $C_1$ is significantly better than $C_2$. I am interested in a one-sided hypothesis test. Thus I have ...
0
votes
0answers
40 views

Another solution than McNemar test for bilateral asymmetry on binary data?

Let's say I studied the shoulders of 10 individuals, and I scored the presence/absence of a criteria (ex: arthrosis, presence=0;absence=1) on the left side and the right side. I need to test the ...
1
vote
1answer
34 views

Statistical test for difference-hypothesis with dichotomous dependent and independent variables

I need your help. I'm designing a study for the following problem. There is a feature A (implemented by many software from my specific context) and I'm 100% sure that if I ask the users they will ...
1
vote
2answers
73 views

What statistical test would I use to test that both data sources are matching [closed]

Suppose I am only working with two datasets, Data Source 1 with columns Customer ID and ...
0
votes
0answers
68 views

NcNemar's test for 1:2 matched data

Does anyone use McNemar's test for fractional values after 1-to-2 propensity score matching? How correct would it be? For instance, let me have 0-1 outcomes and the following matched observations (...
0
votes
0answers
14 views

When comparing classificators, is McNemar's test applied to the output or to the hits?

Suppose I have the following output, alongside the ground-truth ($GT$), for two classifiers $C_1$ and $C_2$: ...
0
votes
1answer
31 views

Single Group Pre-Post McNemar Table Set Up

I am looking to evaluate if the change in proportion for a group changed pre-to-post intervention. Essentially, is the ~7% increase from pre (~2%) to post (~9%) significant. I am running the McNemar ...
0
votes
1answer
28 views

Chi-square based tests tending to zero for large sample sizes [duplicate]

I think I have some misconception about chi-square based tests such as Pearson's test or McNemar's test. The way the tests are defined, the test statistics produced by the formulas are not stable ...
0
votes
0answers
210 views

McNemar or Cochran's Q for evaluating multiclass classifiers?

full disclosure: I did a semi-cross post of this question due to low traffic. Once I get an answer on any of the two questions, I will link the answer back to the respective other. tl;dr For ...
4
votes
1answer
66 views

Can I perform a McNemar's test with only proportion and denominator information?

I have the following count and denominator information. The 630 subjects are the same people over two different periods of time. Can I conduct a McNemar's test to compare the dependent proportion ...
0
votes
1answer
59 views

Conditional Exact Logistic Regression

I have paired data for two tests. I would like to say that Test A is more sensitive than Best B, but not sure if I'm using the correct methods or if my data support it. I know McNemar's Exact test can ...
1
vote
0answers
28 views

Hypothesis testing with two dependent multilevel categorical variables [closed]

I was presented with a requirement of comparing two sources of diagnoses on the same subjects, resulting in two 4-level categorical variables. I offered to calculate Cohen's Kappa, but the interested ...
1
vote
1answer
84 views

Multiple Observations per Subject per Time-point analysis?

I am having a difficult time finding an appropriate test for my analysis. Please help - In my study I have 130 participants who were tested with a binary outcome (pass [1] /fail [0]) before and ...
1
vote
1answer
127 views

Comparison of proportions using McNemar's Chi-Square using Pre- and Post- data for two disease conditions

This question follows-up on the post: What is the difference between McNemar's test and the chi-squared test, and how do you know when to use each? I am examining a pre- and post- intervention data ...
0
votes
0answers
69 views

comparing sensitivities

We want to compare two sampling methods. All patients will go through a DNA test for diagnosis(positive or negative). Then samples are taken to identify the determine the type of bacteria and ...
0
votes
1answer
86 views

Comparing proportions from overlapping samples

I'm looking to compare the read rate of an email newsletter with the read rate of another newsletter. However, many (not all) of the people who receive one newsletter also receive the other. What ...
1
vote
0answers
527 views

How do I get an odds ratio with McNemar's test?

I have pre and post test data evaluating the effectiveness of a lesson about how to help friends who are being bullied. I am trying to see if more students know how to help a friend being bullied ...
2
votes
3answers
160 views

Hypothesis test for intervention with class imbalance before intervention. Alternative to McNemar

I want to assess an intervention to cure a disease. An example is described by the following matrix: ...
0
votes
2answers
133 views

How to Control Familywise Error Rate in a series of Planned McNemar Comparisons

I have paired binary responses from same subjects under 9 different conditions. I conducted Cochran's Q which indicated that there significantly different pairs exist. I want to follow up but NOT ...
6
votes
2answers
823 views

Can Cramér's V be used an effect size measure for McNemar's test?

I'm using McNemar's exact test (with R's "mcnemar.exact" function). I know that giving the odds ratio or proportion would be an adequate measure of effect size (Effect size of McNemar's Test), but ...
0
votes
1answer
191 views

Relationship between statistical models: mcnemar test vs logistic regression

I always find useful and reliable answers in this forum and I hope this pattern will not change this time. I was spending some time to check whether an intervention program had any effect on an ...
1
vote
2answers
68 views

Most appropriate test to assess difference between categorical variables? Chi2 or Stuart-Maxwell?

I am trying to determine the most appropriate test for parts of my dataset. I have been using a $\chi^2$ test, but I am now realising it might not be the most appropriate. I am using Stata. I have a ...
1
vote
1answer
403 views

Sample size and number of events limitations for McNemar's test

What are sample size and number of events low limits for a proper application of McNemar's test with continuity correction? When must I use McNemar's exact test?
1
vote
1answer
38 views

Use of Chi Square for only semi-independent sample?

I ran a study for my Master's thesis that counted the number of people who attended different courses that were advertised in different ways, and how many passed/failed each. I used a Chi Square ...
5
votes
2answers
2k views

Compare a diagnostic test to gold standard

I have a sample of patients who underwent 2 diagnostic tests, one of which is the gold standard. I've been asked to test if the diagnosis from the experimental test is different than the one from the ...
7
votes
1answer
1k views

McNemar or Fisher exact test for propensity score matched data?

I want to analyze some propensity score matched data. In the literature McNemar test is usually used, since the data is "paired". However matching is not pairing in the common sense. Would it be ...
0
votes
1answer
993 views

Mcnemar's test p-value output in R confusion matrix

I am using the R caret package to build a randomforest classifier model for plant data. The dataset has 7 variables - all numeric which are being used to predict if a plant will "grow" or "not grow"....
1
vote
2answers
95 views

t-test/chi squarred test or mcnemar test?

To what extent does the effect of presence of music differ for the concentration ability in playing a memory recall game in males and females? So basically I had 50 students (25 females and 25 males) ...
3
votes
2answers
177 views

McNemar's test probably does not work, but what could?

I have a dataset of people who had back-to-back procedures and I have the whether or not polyps (precancerous lesions) removed during each procedure. ...
2
votes
1answer
1k views

One-sided McNemar's test

In R, the function mcnemar.test has the following example: ...
2
votes
1answer
427 views

McNemars Test Sample size calculation

I've searched for this particular question but i can't seem to find the right answer. Lets say i expect prob p01 = 0.2 and prob p10 = 0.3. I want a power of 0.8 and alpha of 0.05. This website: ...
1
vote
0answers
55 views

Comparing “paired” proportions with different totals

I have long-term survey data for trees infected with a virus. The data was measured in 2000 and again in 2010. I'd like to compare the number of uninfected vs. infected trees in 2000 and 2010. However,...
2
votes
1answer
4k views

Fisher's exact test in 2x3 contingency table

I have a dataset with birds that were exposed to pesticides. The summary of this data looks like: ...
1
vote
1answer
372 views

Paired binary data with a zero cell

How do you analyse and obtain a p-value from a 2*2 table examining a binary outcome that is paired, when one cell has zero events? To clarify, I was looking at the success rate of obtaining an ...
1
vote
0answers
32 views

Statistical test for testing different between groups in terms of efficiency in regression

During my thesis work I collected some measurements about chest compressions that reached a good depth (binomial data) during cardiopulmonary rescuscitaion (CPR), I have two groupes of volunteers and ...
0
votes
1answer
79 views

How to test difference of proportion in the same group of patients tested at two time points?

I have to calculate a sample size for a study in which patients are treated for a set period of time with a drug. Subsequently, responders are followed up (but not treated) for an additional period of ...
1
vote
0answers
629 views

Sample size determination for before/after study

I would like to estimate the required sample size for a study where I have subjects first undergo an observation (control) period of X months and then an intervention period of Y months. The outcome ...
1
vote
0answers
128 views

Does this meet the assumptions for McNemar's Test?

On the NIST page about McNemar's Test, the third listed assumption is that "The difference P(Xi = 0, Yi = 1) - P(Xi = 1, Yi = 0) is negative for all i or zero for all i or positive for all i." Let's ...
3
votes
0answers
37 views

Does sampling fraction matter for McNemar's Test?

For McNemar's Test, does the sample need to be less than 1/20 of the population if the sample is without replacement? If so, can I correct for a sample that is larger than 1/20 of the population by ...
0
votes
1answer
79 views

What would be appropriate test to compare two lists of dichotomous variables?

Colleagues, can't wrap my mind on simple question, please help! I have two products and list of their attributes. My respondents make an answer which product on each attribute they prefer. Finally ...
0
votes
1answer
227 views

McNemar or z-test?

I'm doing a matched sample evaluation to see if there is a statistical difference in graduation rates at a college for total sample and sub-groups within the sample after a policy change intended to ...
1
vote
1answer
2k views

McNemar Test: Reporting Chi-Square?

I have performed a McNemar test for paired binomial variables in SPSS to see if the success rate(score 1) differs between the two conditions (the two variables: the before and after treatment ...