A apresentação está carregando. Por favor, espere

A apresentação está carregando. Por favor, espere

Análise de variância.

Apresentações semelhantes


Apresentação em tema: "Análise de variância."— Transcrição da apresentação:

1 Análise de variância

2 ANOVA A análise de variância de um fator (ANOVA) é uma técnica de teste de hipóteses usada para comparar as médias de três ou mais populações. H0: (Todas as médias populacionais são iguais.) Ha: Ao menos uma das médias é diferente das outras. A variância é calculada de dois jeitos diferentes; os dois valores resultantes formam uma razão. One-way refers to the fact that only one variable is being considered. Suppose different teaching techniques are used in 3 elementary school reading classes. 1) whole language 2) phonics and 3) a combination of whole language and phonics. Reading levels at the end of a school year are measured. Mean square between would measure the differences among the 3 samples related to the 3 different methods used. If one of the methods is significantly better (or significantly worse) the mean square between would be larger. Mean square within is a measure of the normal and natural variation from one student to another within the same group. 1. O MSB, quadrado médio entre, que consiste na variância entre as amostras, mede as diferenças relacionadas ao tratamento dado a cada amostra. 2. O MSW, quadrado médio dentro, que consiste na variância dentro das amostras, mede as diferenças relacionadas às entradas dentro da mesma amostra. A variância dentro das amostras deve-se a erro amostral.

3 Quadrado médio entre Cada grupo recebe um ‘tratamento’ diferente. A variação da grande média (média de todos os valores em todos os grupos) é medida. O tratamento (ou fator) será a variável que distingue os membros de uma amostra da outra. Primeiro calcule SSB, depois divida por k – 1, os graus de liberdade. (k = o número de tratamentos ou fatores.)

4 Calcule SSW e divida por N – k, os graus de liberdade.
Quadrado médio dentro Calcule SSW e divida por N – k, os graus de liberdade. Se MSB tem um valor próximo ao de MSW, a variação não se deve aos efeitos diversos que os tratamentos diversos exercem sobre a variável. A razão entre as duas medidas (razão F) é próxima a 1. Se MSB é significativamente maior que MSW, é provável que a variação se deva às diferenças nos tratamentos ou fatores, e a razão F diferirá significativamente de 1. Hopefully, students will have technology tools that perform most of the calculations. Emphasize the logic of the interpretation of the F-ratio.

5 Análise de variância A tabela abaixo mostra a quantia gasta anualmente com leitura (em US$) por uma amostra aleatória de consumidores norte-americanos, residentes em quatro regiões distintas. Sendo você pode concluir que as médias de gasto são diferentes? 0,10, Nordeste Meio-Oeste Sul Oeste 308 246 103 223 58 169 143 184 141 246 164 221 109 158 119 269 Students should be encouraged to use a statistical calculator to find the sample means and variances. Remind them to square the standard deviation to find the variance. The alternative hypothesis states at least one of the means is different from the others. This test does not identify which one it is. There are additional tests available for this purpose. 220 167 99 199 144 76 214 171 316 108 204 1. Estabeleça as hipóteses nula e alternativa. H0: (Todas as médias populacionais são iguais.) Ha: Ao menos uma das médias difere das demais.

6 2. Estabeleça o nível de significância.
0,10 3. Determine a distribuição amostral. Uma distribuição F com g.l.N = 3, g.l.D = 23 0,8 4. Determine o valor crítico. 0,7 0,6 5. Determine a região de rejeição. 0,5 0,4 In this example there are 4 groups so k=4. There are 27 individual value and 27 – 4 = 23. 0,3 0,2 0,10 0,1 0,0 1 2 3 4 5 2,34

7 6. Determine a estatística teste.
Nordeste Meio-Oeste Sul Oeste 308 246 103 223 58 169 143 184 141 246 164 221 109 158 119 269 220 167 99 199 144 76 214 171 316 108 204 Calcule a média e a variância de cada amostra. 210,14 1.020,80 Students should use statistical calculators to find the mean and standard deviation for each sample. Remind them to square each standard deviation to determine the variance. Those who use the TI-83 can go directly to an F-test. Explain the x-double- bar symbol for the mean of all values. This is sometimes called the grand mean. 185,14 177,00 4.050,05 135,71 1.741,39 9.838,66 Calcule , a média de todos os valores. 4.779

8 Quadrado médio entre 20.086 6.695,33 Média n 1 185,14 7 66,26 463,8
, , ,8 , , ,0 , , ,0 , , ,8 The grand mean was 177. The difference between the mean from each sample and the grand mean is calculated and then squared. Each result is multiplied by the number of values in the particular sample. Finally, the sum is calculated. 20.086 6.695,33

9 n s2 , ,9 , ,2 , ,4 , ,8 Each variance is multiplied by one less than the number in the sample. The sum is calculated for the SS_w. To find the mean squares within divide by N-k. 6.955,33 95.855 4.167,61 1,669 4.167,61

10 8. Interprete sua decisão.
0,8 0,7 0,6 0,5 0,4 0,3 0,2 0,1 0,10 0,0 1 2 3 4 5 2,53 7. Tome sua decisão. Como F = 1,669 não cai na região de rejeição, não rejeite a hipótese nula. 8. Interprete sua decisão. Não há evidência suficiente para aceitar a alegação de que as médias não são iguais. Os gastos com leitura são os mesmos nas quatro regiões.

11 Resultado no Minitab Análise de variância de um fator
Source DF SS MS F P Factor Error Total Pelo método do valor P, você não rejeitaria a hipótese nula, já que 0,215 > 0,10. Não há evidência suficiente para acreditar que o gasto com leitura é diferente nas regiões distintas. Students will prefer to perform this test using a technology tool. The slight difference between the Minitab result and the one shown earlier is due to rounding off. The results are the same.


Carregar ppt "Análise de variância."

Apresentações semelhantes


Anúncios Google