okay Salam alaikum and hi guys so in this slide in this video I'll explain on the hypothesis testing for single variants okay so if you still remember in chapter 3 in 4 constructed for the consulship for the construction of confidence interval if you are constructing the confidence interval for variants you are using chi-square distribution right they remember okay so for variance if you have single parents you're using high score distribution if you have two variances you will be using F distribution okay so for chi-square distribution the graph is not like a T distribution or normal
distribution the graph is something like this it is skewed to the right here and this side this is alpha and this side will be 1 minus alpha so the test statistic for chi-square distribution that will be we will use for single variance is n minus 1 s square over Sigma square so basically in this statistic you will need the value of n the value of s or s Square and the value of Sigma or Sigma Square and for Chi square distribution you have degree of freedom who by your degree of freedom is n minus 1
okay so for alternative hypothesis if you have two sided alternative hypothesis if this is not equal to then for the first rejection region rejection area chi-square test is less than Chi Square 1 minus alpha or 1 minus alpha over 2 and another rejection region is Chi square more than Chi square alpha over 2 okay this is not the same as the distribution and T distribution so Chi square distribution and F distribution is a bit different from those normal and T distribution okay so if it is less than if your alternative hypothesis is less then then
your rejection region will be Chi Square 1 minus alpha so if it is more than the origination region will be Chi square alpha right okay example three okay a drilling machine is used to drill metal plates used in batteries a random sample of 25 plates okay so your n is 35 result in sample variance of Hooper hold a diameter of s square equals to 1 point 8 2 so this one point 8 2 belongs to the sample right sample because it came from the same sentence if the variance of hole diameter exceeds 1 the drilling
machine must be serviced so if XC 1 the drilling machine must be so this is their evidence that the machine needs to be serviced so we need to know whether the variant is exceed 1 or not okay use alpha 0.01 and assume that hole diameter has a normal distribution alright for this question firstly you need to identify your null hypothesis and alternative hypotheses this is on the variance so Sigma square X C 1 X C the the symbol here is more than only so this more than is at the alternative hypothesis more than one so
the not at the null hypothesis it should be less than or equal to 1 okay number to alpha equals to 0.01 number three the distribution is Chi square distribution so it is more than so it should be somewhere here right so Chi square 0.01 the degree of freedom is n minus one which is twenty four is equal to Chi square distribution zero point zero one twenty four forty two point nine seven eight okay forty-two point nine seven nine eight so number four is your test statistics chi-square test so chi-square test the formula is n minus
1 s square over Sigma square so it is equals to 24 times s square is 1 point 8 2 over Sigma square is 1 okay so it is equals to three okay so your chi-square is forty three point six eight so the next step is reject null hypothesis if chi-square test greater than Chi square zero point zero one 24 number six decision the decision now your chi-square test is forty three point six your Chi square alpha is forty two point nine seven so this is forty two point nine seven okay so forty three is somewhere
inside the rejection region right so if the chi-square test is inside the rejection region you need to reject the null hypothesis so the decision is reject null hypothesis at alpha equals to zero point zero one so if we reject the null hypothesis then we see that the hole diameter exceed one right so if exit 1 then the drilling machine must be serviced so is there evidence that the machine needs to be serviced yes ok so you have to answer this question in sentence for symptoms there is just enough evidence okay so there's no evidence that
the machine needs to be serviced so that's all for hypothesis testing for seeing for single variance right as usual I have tasks for K in the spa the manufacturer of motorcycle versus guarantee that his battery will last on average 24 months with a standard deviation of 12 months so this is the mean the MU okay this is the Sigma standard deviation of population so if 10 of these battery is so n is equal to 10 have lifetime of this all these values is the manufacturer still convinced that his battery have standard deviation of 12 months
so for this question you have Sigma but you don't have s right so as you can calculate from this value you still remember how to do you say remember how to calculate sample standard deviation by using calculator so make sure you know it because sometimes the question will just give you the value the data you need to cut click on your own all right so you can click this you find the value of sample standard deviation and then you do according to the steps so for this the hypothesis testing is equals to okay so Sigma
square equals to 12 months Sigma square knot equals standard deviation so 1 4 4 1 4 4 this is 1 for 4 ok next you do on your own alright and we discussed as usual in my cell group and this task 5 also you do it on your own right so for this video I want you to do tasks for and past 5 so that's all for hypothesis testing for single variance and we'll meet again in the next video right