Changes

Jump to navigation Jump to search
no edit summary
Line 3: Line 3:  
Inferential statistical methods cannot be used to correct for the presence of '''selection biases''' introduced during sample collection. These should either be minimised during data collection, or if they cannot be avoided, they should be discussed in the analysis report. However, statistical methods are available in order to account for '''random error''' in a sample. Due to their random nature, these errors can be quantified if the underlying data is known. Of course, as this is never the case when sampling from populations, sample estimates are used to approximate the underlying population parameters. The most common application of inferential statistics is in the calculation of '''[[Random error#confidence intervals|confidence intervals]]'''.<br>
 
Inferential statistical methods cannot be used to correct for the presence of '''selection biases''' introduced during sample collection. These should either be minimised during data collection, or if they cannot be avoided, they should be discussed in the analysis report. However, statistical methods are available in order to account for '''random error''' in a sample. Due to their random nature, these errors can be quantified if the underlying data is known. Of course, as this is never the case when sampling from populations, sample estimates are used to approximate the underlying population parameters. The most common application of inferential statistics is in the calculation of '''[[Random error#confidence intervals|confidence intervals]]'''.<br>
    +
==Confidence intervals==
 +
As mentioned [[Random error#confidence intervals|earlier]], a 95% confidence interval for a parameter (such as a proportion or a mean) gives an indication of a range of values which we can be confident will include the true population parameter. That is, if samples were repeatedly taken from this population and 95% confidence intervals were calculated for each, 95% of these intervals would contain the true population parameter. We do not know whether ''our'' (single) estimate of the confidence interval is one of those 95%, or whether it is one of the 5% confidence intervals which do not include the true population parameter, but we are more confident that it does contain the mean than we are that it doesn't.
    +
==Calculation of confidence intervals==
 +
The calculation of confidence intervals for means or proportions follows the same basic procedure, whereas a slightly different approach is used for other measures such as rates and ratios. Most commonly, confidence intervals will not be calculated manually, but it is useful to know the general approach used.
 +
 +
===Approach for means and proportions===
 +
The general approach for the calculation of confidence intervals in these cases follows the following steps:
 +
* Calculate the sample standard deviation, as an approximation of the population standard deviation:
 +
* Estimate the '''standard error of the mean''' or proportion by dividing the sample standard deviation by the square root of the number of animals sampled.
 +
* Calculate the sample mean or proportion (as an approximation of the population mean or proportion).
 +
* Decide upon the confidence level required (usually 95%), and multiply the estimate of the standard error with the appropriate percentile point of the normal distribution (unless you are estimating the confidence interval for the mean of a small sample, in which case the t-distribution should be used instead). In the case of a 95% confidence interval, this is 1.96.
 +
* Subtract the resultant number from the sample mean or proportion to give the lower confidence limit.
 +
* Add the number to the sample mean or proportion to give the upper confidence limit.
 +
 +
 +
* For continuous variables, calculate the standard deviation of the sample and divide this by the number of animals sampled minus 1.
 +
* For binary variables, estimate the variance of the proportion (calculated as the proportion of positive animals multiplied by the proportion of negative animals) and take the square root of this.
 +
===Approach for rates and ratios====
    
[[Category:Veterinary Epidemiology - Statistical Methods|D]]
 
[[Category:Veterinary Epidemiology - Statistical Methods|D]]
700

edits

Navigation menu