Test per il confronto di 2 proporzioni , Analisi di dati qualitativi ...
Test per il confronto di 2 proporzioni , Analisi di dati qualitativi ...
Test per il confronto di 2 proporzioni , Analisi di dati qualitativi ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Test</strong> <strong>per</strong> <strong>il</strong> <strong>confronto</strong> <strong>di</strong> 2 <strong>proporzioni</strong>campioni appaiatiAnche nel caso <strong>di</strong> risposte qualitative si possono raccogliere dei <strong>dati</strong> nei due gruppi(s<strong>per</strong>imentali o osservazionali) i cui in<strong>di</strong>vidui siano stati accoppiati secondo i criteri giàesposti. In base ai <strong>dati</strong> raccolti si possono identificare coppie congiunte o <strong>di</strong>sgiunteCaso Controllocongiunta + +congiunta − −<strong>di</strong>sgiunta + −<strong>di</strong>sgiunta − +In questo caso l'attenzione si concentra sulle coppie <strong>di</strong>sgiunte cioè che presentanorisultati <strong>di</strong>versi (del tipo + − oppure − +)Caso+ -Controllo + r- sr = numero coppie <strong>di</strong>sgiunte <strong>di</strong> tipo + −s = numero coppie <strong>di</strong>sgiunte <strong>di</strong> tipo − +n = totale r+s delle coppie <strong>di</strong>sgiunteSi pone l’ipotesi nulla che ciascuno tipo <strong>di</strong> coppia <strong>di</strong>sgiunta si verifichi con ugualeprobab<strong>il</strong>itàH 0 : π r = π s= 0.50si verificacon un test statistico zoppure con un test statistico χ 12z = |r-nπ| . = |r-n/2| .nπ(1-π)½nz c = |r-nπ| -½ . = |r-n/2|-½ .nπ(1-π)½nχ 12= Σ (O-A)2 2χ 1c = Σ (|O-A| -1/2) 2AAA : numero atteso <strong>di</strong> ciascuna coppia <strong>di</strong>scordante = n/2oppure con un test statistico del tipo χ 1 2 <strong>di</strong> McNemar2χ 1 = (r-s) 2 2χ 1c=Σ(r+s)(|r-s| -1)2(r+s)χ 12= z 2 = (r- n /2)2 =(r-1/2(r+s)) 2 =(2r-r-s) 2 =(r-s) 2½n [½(r+s)] 2 (r+s) (r+s)F 7