analysis in experimental designs this is basically the purpose of why we are actually doing sample size estimation uh first is because we wanted to decide how large sample sizes needed to be so that we could make um statistical judgments that are accurate and reliable and the next question is how likely the statistical tests will detect the effects of a given size in a particular situation these two are the reasons why we are studying sample size and statistical power analysis performing power analysis and sample size estimation are vital in every aspect of an experimental design a sample size that is too low will lack the precision to provide reliable answers to the questions that we are investigating and a sample size that is too large may result to time and resources being wasted with minimal gains in power analysis softwares are used where they gave out a number of graphical and analytical tools that will enable precise evaluation of the factors that can affect power and sample size in most statistical analysis these two is necessary as it contributes to attaining a cost effective and scientifically sound study design the next slide shows an outline of what this video lecture is all about so we will be talking about this um points as shown on the slide now let's start off by talking about the sampling theory so we mentioned before that the sample is a subset of a given population while the statistic is an estimate of the parameter so if your parameter is mu for mean the statistic there is the x bar corresponding for mean so in any sample there will be some variations or possible errors so a sample error is said to be the differences of the sample statistic to that of the parameter estimate so in hypothesis testing it goes through a process the first step here is to be able to identify what is our null hypothesis and also identify what our alternative hypothesis is or are is if it's only one side then alternative hypothesis and are if it's two-sided alternative hypotheses so hypothesis testing as i mentioned earlier is a process of steps from a null hypothesis statement to coming up with the appropriate conclusion and that is by testing out the null hypothesis if you are going to reject it so following the reject support hypothesis testing so here um we try to reject the null and support the alternative hypothesis which is the experimenter's theory now the hype the logic behind the hypothesis testing is to understand the two kinds of errors so there is a type 1 or alpha error and a type 2 or beta error both the alpha and the beta error has to be kept low the type 1 error rate must be kept at or below 0. 05 or 5 percent while the type 2 error rate must be kept low as well the statistical power is equal to 1 minus beta and this value has to be high ideally the power should be at least point eighty or eighty percent for us to be able to detect a reasonable departure from the null hypothesis so if the ideal power should be at least eighty percent the beta there is a corresponding 20 or 0. 2 now in um determining whether we are to reject or accept the null hypothesis we have to do uh significance testing so in this significance testing the null hypothesis is the opposite of what the researcher actually believes and rejecting this supports the researchers theory in a two-group experiment where the researcher tries to compare the means of an experiment and the control group the researcher will believe that the treatment has an effect and try to confirm it through a significance test that may reject the null hypothesis so in this situation the type 1 error represents the false positive and these false positives are undesirable the type 2 error presents a tragedy for the researcher because the theory is true but mistakenly rejecting it so or this is your false negative error so in the significance testing the null hypothesis is what the researcher believes so accepting it supports the researchers theory so in summary if we are to follow the reject support research okay the researcher would want to reject the null so that he could accept the alternative hypothesis which is the experimenter's theory but the society would want to control the type 1 error or alpha error while the researcher is concerned with the type 2 error or the beta error so the high sample size works for the researcher here if there is too much power it could bring about trivial effects which could be highly significant now if you are going to follow the accept support research in summary the researcher here wants to accept the null hypothesis but the society worries about controlling the type 2 error so the researcher must be very careful so that he can control the type 1 error the high sample size works against the researcher here because it may be too costly in terms of time or even resources too much power the researchers theory can be rejected by a significance test even though it fits the data almost perfectly now when we calculate for power there are factors that can influence it like the kind of statistical tests the sample size whether it's a large or a small sample size the larger power can also be wasteful now the size of experimental effects if the null is wrong by a substantial amount the power will be higher than if it is wrong by a small amount the level of error in experimental measurements on the other hand determines measurement error the measurement error here acts like noise that can affect the quality of a sound that a real experiment can actually give so anything that enhances the accuracy and consistency of measurement can increase the statistical power now statistical power is defined as the chance that you reject the null when the null is false and you correctly conclude that there is a treatment effect when there really is a treatment effect so the probability of making a type 2 error which is failing to reject the null when it is false is called beta the quantity 1 minus beta is called power the power is the probability of us rejecting the null hypothesis in a sample if the actual effect in the population equals the effect size if our beta is set at 0.
1 or 10 percent then the investigator decides that he or she is willing to accept a 10 chance of missing an association of a given effect size so this will represent a power of 0. 90 or 90 chance of finding an association of that size now the power depends on the structure of the experiment the method that we use to analyze our data the size of the effect size in particular the variability in the measurements that we have the alpha or the chosen significance level and the sample size many studies set their alpha at point zero five and beta at point twenty so a power of eighty percent so these are arbitrary values and others are sometimes is between 0. 01 and 0.
1 and for beta it's between 0. 05 and 0.