Você encontra aqui: a definição de run ou sequência; o teste de runs para
verificar se uma sequência de dados é aleatória; o teste de runs para verificar
a aleatoriedade da amostra; e o procedimento para o teste de runs em uma amostra.
INTRODUÇÃO
Você encontra aqui: a definição de run ou sequência; o teste de runs para
verificar se uma sequência de dados é aleatória; o teste de runs para verificar
a aleatoriedade da amostra; e o procedimento para o teste de runs em uma amostra.
INTRODUÇÃO
RESUMO
Você encontra aqui: o que é distribuição de Poisson; função de probabilidade
da distribuição de Poisson; usos da distribuição de Poisson;
média e variância da distribuição; aproximação da distribuição de Poisson
pela distribuição normal; aproximação da distribuição binomial
pela distribuição de Poisson; aditividade da distribuição de Poisson.
INTRODUÇÃO
RESUMO
Aqui se explica o que diz o lema de Neyman-Pearson.
Para entender, você precisa conhecer os seguintes conceitos:
hipótese nula; hipótese alternativa; nível de significância;
poder do teste; teste de razão de verossimilhanças.
LEMA DE NEYMAN-PEARSON
📌 Chi-square distribution
If Z is
a random variable with a standardized normal distribution (mean zero and
variance 1), then Z2 has a chi-square distribution
with 1 degree of freedom.
Z ∩ N (0,1)
Þ Z2
∩ c2 (1df)
If Z1, Z2,
……, Zk, are a set of independent and identically
distributed standard normal variables, then the sum of their squares has a
chi-square distribution with k degrees of freedom.
Let Xi be k independent and normally distributed random variables with mean µ and variance σ2
1. Then (Xi - µ), i from
1 to k, has mean zero and Σ (Xi - µ)2 has a chi-square distribution with k degrees
of freedom.
🤯 EXAMPLE
In a
city where police officers rely on speed radars that require regular
calibration, a specialized center ensures that these devices operate correctly.
Experts at the center have established that, in an urban area, radar speed
readings (Xi) follow a normal distribution with a mean of 25
mph and a standard deviation of 3 mph:
· Mean: μ = 25 mph
· Standard
deviation: σ = 3 mph
The
manager of the center is considering purchasing new radars and has received
proposals from two manufacturers. Both manufacturers claim that their radars
produce speed readings that are normally distributed with a mean of 25 mph and
a standard deviation of 1 mph.
🛑 Testing the First
Manufacturer
To test
the first manufacturer's claim, the manager instructs a technician to take five
speed measurements using a test car programmed to travel exactly at 25 mph. The
recorded speeds are:
25,
24, 27, 25, 24
At a
significance level of α = 10%, the null hypothesis is H0: σ = 1 (the
radar's standard deviation is 1 mph, as claimed.).
To test
this claim, we calculate the variance:
The sum
of squared deviations from the mean, ∑ (Xi − μ)2 = 6. For a significance test at α = 10%
with 5 degrees of freedom, the chi-square critical values are obtained. The
calculated chi-square value of 6 falls within the acceptance region.
The critical t-value at α = 10% and 4 degrees of freedom is 1.533.
Since 6.67 is far beyond the critical z-value, we reject H0. This confirms that the second radar is not correctly calibrated, as its mean is significantly different from 25 mph.
✅ Final Decision
·
The first
manufacturer's radar passes the variance test and seems to be properly
calibrated.
·
The second
manufacturer's radar fails both the variance and mean tests, indicating a
significant calibration error.
Recommendation: The center should accept the first manufacturer's radar and reject the second one due to its inaccuracy in measuring speed correctly.
The graphical representation of a normal distribution is a bell-shaped curve that is symmetrical about the mean. Thus, half of the values of the random variable X are equal to or greater than the mean and half are equal to or less than the mean. The curve covers 100% of the population. All possible values that the random variable can assume lie under the curve. A normal distribution is defined by two parameters: the mean, denoted by µ and the standard deviation, denoted by σ.
Graphical representation of the normal distribution🔴 EXERCISESGraphical representation of the decision ruleTip: You can utilize software to determine probabilities.
2. In regular operation conditions, radar readings is a random variable normally distributed with mean μ = 25 mph and standard deviation σ = 3 mph. To test the calibration of the radar, a test car traveling at 25 mph is used. Assuming the radar is correctly calibrated, i.e., with μ = 25 mph and σ = 3 mph, what is the probability that the radar detects the test car's speed to be: a) 28 mph or higher? b) 27½ mph or higher? c) At what speed should the radar record for the probability of a value exceeding this speed to be 5%?
a) Probability of detecting 28 mph or more.
c) To have a 5% probability of the radar measuring a higher speed.
💡 TIP: More control means fewer mistakes. Compare probabilities obtained in examples 2b, 3, 4.
3. A calibration test will be carried out on 4 radars that operate together. A test car with a speed set at 25 mph will be used. Under optimal conditions, the speed of each radar is a random variable following a normal distribution with mean µ=25 mph and standard deviation σ=3mph. If the radars are calibrated, what is the probability that the collected measurements will give an average speed of 27½ mph or higher?
Graphical representation average speed 27½ or more
4. The idea of using 4 radars is good; however, having 9 is advantageous. Increased control (in this case, through a larger quantity of radars) decreases the risk of error. There are 9 calibrated radars in operation simultaneously. After calibration, the speed of each radar unit is a normally distributed random variable with mean µ = 25 mph and standard deviation σ = 3 mph. Using a test car traveling at a constant speed of 25 mph, what is the probability that the collected measurements will yield an average speed 27½ mph or higher?
Z = X+Y is
a random variable with mean µ1+µ2 and
variance σ12 + σ22
W = X-Y is a random variable with mean µ1-µ2 and variance σ12 + σ22·
Var (a Z) = a2 Var (Z)
σ (a Z) = a σ (Z).
5. If we consider the subway arrival time as a random variable with mean µ1 = 8h10m and standard deviation σ1 = 40s, and your arrival at the station as a random variable with mean µ2 = 8h08m and standard deviation σ2 =30s, how likely is it that you will miss the train? Let S represent the subway arrival time and Y represent your arrival time at the station. Therefore, W = S - Y, your waiting time, is a random variable with a normal distribution, having an average of 8:10 – 8:08 = 2 m = 120 s, variance of 402 + 302 =1600 + 900 = 2500 s, and a standard deviation of 50. Missing the train would occur if W ≤ 0. To calculate the probability of W ≤ 0:
Graphical representation of decision rule💡 Set critical values to reject specific results. The decision rule is crucial for quality control.
6. In the canning industry, the pH (the acidity) of the product in each can is a random variable that is normally distributed with mean 7 and standard deviation of 0.5. If the pH of the product falls below 6.0 or exceeds 8.0, the can is rejected. What is the probability of this happening?