Testes de Hipótese

Eduardo Mesquita Peixoto
2019

Revisão IC - variância universo conhecida

IC= X +- z.sd/(n½)

Revisão IC - Proporções

p + - Z(p(1-p)/n)½

Revisão IC - variância universo desconhecida

IC = x +- t sd(amostral)/(n)½

HIPÓTESE

hipótese nula hipótese alternativa

TIPOS DE ERRO

Erro do tipo 1 Erro do tipo 2 Erro Sistemático

Tipos de Teste

  • proporcionalidade
  • paramétricos
  • não paramétricos
  • correlação
  • Normalidade
  • Homogeneidade da variância
  • Outros

Testes de Normalidade

seguir distribuição normal é requisito para testes paramétricos.

Para testar normalidade usa-se Shapiro-Wilk para amostras menores e Lillifors para amostras maiores.

Ambas hipóteses nulas são confirmadoras de normalidade.

  • Histograma, Gráfico de Densidade

Amostras dependentes e independentes

  • uma ou duas amostras
  • Foco hoje uma amostra
  • organização do Banco de dados

Comandos do R

Rcmdr TableStack

Métodos

  • P-valor
  • z crítico
  • t crítico
  • correção populacional

Exemplo 1

In an attempt to determine why customer service is important to managers in the United Kingdom, researchers surveyed managing directors of manufacturing plants in Scotland.* One of the reasons proposed was that customer service is a means of retaining cus- tomers. On a scale from 1 to 5, with 1 being low and 5 being high, the survey respondents rated this reason more highly than any of the others, with a mean response of 4.30. Suppose U.S. researchers believe American manufacturing managers would not rate this reason as highly and conduct a hypothesis test to prove their theory. Alpha is set at .05. Data are gathered and the following results are obtained. Use these data and the eight steps of hypothesis testing to determine whether U.S. managers rate this reason significantly lower than the 4.30 mean ascertained in the United Kingdom. Assume from previous studies that the population standard deviation is 0.574.

34554554444 44445444344 4354454445

Pagina.305

Exemplo 2

According to the U.S. Bureau of Labor Statistics, the average weekly earnings of a production worker in 1997 were $424.20. Suppose a labor researcher wants to test to determine whether this figure is still accurate today. The researcher randomly selects 54 production workers from across the United States and obtains a representative earnings statement for one week from each. The resulting sample average is $432.69. Assuming a population standard deviation of $33.90, and a 5% level of significance, determine whether the mean weekly earnings of a production worker have changed.

Exemplo 3

A survey of the morning beverage market shows that the primary breakfast beverage for 17% of Americans is milk. A milk producer in Wisconsin, where milk is plentiful, believes the figure is higher for Wisconsin. To test this idea, she contacts a random sample of 550 Wisconsin residents and asks which primary beverage they consumed for breakfast that day. Suppose 115 replied that milk was the primary beverage. Using a level of significance of .05, test the idea that the milk figure is higher for Wisconsin.

Pág. 318

Exemplo 4

A study by Hewitt Associates showed that 79% of companies offer employees flexible scheduling. Suppose a researcher believes that in accounting firms this figure is lower. The researcher randomly selects 415 accounting firms and through interviews determines that 303 of these firms have flexible scheduling. With a 1% level of significance, does the test show enough evidence to conclude that a significantly lower proportion of accounting firms offer employees flexible scheduling?

Exemplo 5

The U.S. Farmers’ Production Company builds large harvesters. For a harvester to be properly balanced when operating, a 25-pound plate is installed on its side. The machine that produces these plates is set to yield plates that average 25 pounds. The distribution of plates produced from the machine is normal. However, the shop supervisor is worried that the machine is out of adjustment and is producing plates that do not average 25 pounds. To test this concern, he randomly selects 20 of the plates produced the day before and weighs them. Table 9.1 shows the weights obtained, along with the computed sample mean and sample standard deviation. The test is to determine whether the machine is out of control, and the shop supervi- sor has not specified whether he believes the machine is producing plates that are too heavy or too light. Thus a two-tailed test is appropriate.

Página 309

Exemplo 6

Suppose that in past years the average price per square foot for warehouses in the United States has been $32.28. A national real estate investor wants to determine whether that figure has changed now. The investor hires a researcher who randomly samples 49 warehouses that are for sale across the United States and finds that the mean price per square foot is $31.67, with a standard deviation of $1.29. Assume that prices of warehouse footage are normally distributed in population. If the researcher uses a 5% level of significance, what statistical conclusion can be reached? What are the hyphotesis?