Toggle navigation
Home
▼ Details
Products and pricing
Chart gallery
User stories
Text analytics
CDC NAMCS Library
Blog
Tutorials
Contact
Sign in
Post Editor
← All help posts
View post
Save
### <img src="/uploads/upload/image/5200/direct/1658780899318-1658780899318.png" alt="Side-by-side comparison showing "Independent samples" (two separate groups of black and white circles) using Z test formula with p1-p2, versus "Paired samples" (circles connected by arrows) using McNemar's test with chi-squared formula. Text explains when to use each method for comparing different or same respondents." class="fr-fic fr-dib"> ### Example 1: Independent samples <img src="/uploads/upload/image/5200/direct/1658780910718-1658780910718.png" alt="Two groups of circles (black=Yes, white=No) with left showing "40 respondents, 10 'Yes' answers, 25% positive" and right labeled "Sample B" showing "40 respondents, 17 'Yes' answers, 42.5% positive". Below displays Z-test calculation: z = (0.425 - 0.25) / sqrt((27/80)(53/80)[1/40 + 1/40]) = 1.65, with p = 0.098 > 0.05, concluding "Difference is 'Not significant'"." class="fr-fic fr-dib"> ### Example 2: Paired samples <img src="/uploads/upload/image/5200/direct/1658780940720-1658780940720.png" alt="Left side shows "40 respondents, 10 'Yes' answers, 25% positive" with paired connections to right side "40 respondents, 17 'Yes' answers, 42.5% positive". Blue brackets highlight "1 switch 'Yes' to 'No'" (white to black circles) and "8 switch 'No' to 'Yes'" (white to black circles). McNemar's calculation: z = ((|8-1|-1)^2)/(8+1) = 4.0, p = 0.046 < 0.05, concluding "Difference is 'Significant'". Text explains "Out of 9 switches, 8 are from 'No' to 'Yes'. Switches are significantly more likely to be from 'No' to 'Yes' than the other way."" class="fr-fic fr-dib"> ### Example 3: Paired samples <img src="/uploads/upload/image/5200/direct/1658780957805-1658780957805.png" alt="Paired comparison labeled "Question A:" (40 respondents, 10 'Yes', 25% positive) and "Question B:" (40 respondents, 17 'Yes', 42.5% positive) with arrows connecting responses. Blue brackets show "3 switch 'Yes' to 'No'" and "10 switch 'No' to 'Yes'". McNemar's calculation: z = ((|10-3|-1)^2)/(10+3) = 2.77, p = 0.098 > 0.05, concluding "Difference is 'Not significant'". Text explains "Out of 13 switches, 10 are from 'No' to 'Yes' versus 3 from 'Yes' to 'No'. Here switches are not significantly more likely to be from 'No' to 'Yes' than the other way."" class="fr-fic fr-dib"> ### Download [Protobi Stats tests - Independent and paired samples 2022-07-05.pptx](/uploads/upload/image/5200/direct/1663004934387-Protobi%20Stats%20tests%20-%20Independent%20and%20paired%20samples%202022-07-05.pptx)
Publishing
Date
Status
Published
Draft
Slug
edit
Content
Thumbnail
Categories
Manage
New to Protobi?
Charts
Making Changes
Intermediate topics for editors
Frequently Asked Questions
SERMO Topics
Tutorial Pages
Internal Docs
Data Processing
Videos
Obsolete
GSG Admin
SERMO Admin
GSG Topics
How to...
Basics for viewers
Basics for editors
For project admins
Advanced topics
Assessments
Articles (in-progress)
New and updated articles
Process data in Protobi
superseded
Text open-end questions
Troubleshooting
Tracking studies
Organizing the view
API References
Tools
AI Database
Checking AI...
Convert to MD
Danger zone
Delete