Difference between revisions of "SMHS UbiquitousVariation"
(→Theory) |
(→Theory) |
||
Line 51: | Line 51: | ||
|} | |} | ||
− | $s=\ | + | $s=\sqrt{\frac{\sum {(x_i-\bar{x})^2}}{n-1}} = 32/7 \approx 2.14$ |
* '''Sum of squares''' (shortcuts) | * '''Sum of squares''' (shortcuts) |
Revision as of 10:34, 30 July 2014
Contents
Scientific Methods for Health Sciences - Ubiquitous Nature of Process Variability
Overview
In real world, variation exists in almost all the data set. The truth is no matter how controlled the environment is in the protocol or the design, virtually any repeated measurement, observation, experiment, trial, or study is bounded to generate data that varies because of intrinsic (internal to the system) or extrinsic (ambient environment) effects. And the extent to which they are unalike, or vary can be noted as variation. Variation is an important concept in statistics and measuring variability is of special importance in statistic inference. And measure of variation, which is namely measures that provided information on the variation, illustrates the extent to which data are dispersed or spread out. We will introduce several basic measures of variation commonly used in statistics: range, variation, standard deviation, sum of squares, Chebyshev’s theorem and empirical rules.
Motivation
Variation is of significant importance in statistics and it is ubiquitous in data. Consider the example in UCLA’s study of Alzheimer’s disease which analyzed the data of 31 Mild Cognitive Impairment (MCI) and 34 probable Alzheimer’s disease (AD) patients. The investigators made every attempt to control as many variables as possible. Yet, demographic information they collected from the outcomes of the subjects contained unavoidable variation. The same study found variation in the MMSE cognitive scores even in the same subject. The table below shows the demographic characteristics for the subjects and patients included in this study, where the following notation is used M (male), F (female), W (white), AA (African American), A (Asian).
Variable | Alzhelmer's disease | MCI | Test Statistics | Test Score | P-value |
Age(years) | 76.2 (8.3) range 52-89 | 73.7 (7.3) range 57-84 | Student’s T | t 0 =1.284 | p=0.21 |
Gender(M:F) | 15:19 | 15:16 | Proportion | z 0= -0.345 | p=0.733 |
Education(years) | 14.0 (2.1) range 12-19 | 16.23 (2.7) range 12-20 | Wilcoxon rank sum | w 0 =773.0 | p<0.001 |
Race(W:AA:A) | 29:1:4 | 26:2:3 | x 2 (df=2) | x 2 (df=2) =1.18 | 0.55 |
MMSE | 20.9 (6.3) range 4-29 | 28.2 (1.6) range 23-30 | Wilcoxon rank sum | w 0 =977.5 | p<0.001 |
Once we accept that all natural phenomena are inherently variant and there aren’t completely deterministic processes, we need to look for measures of variation that allow us to know the extent to which the data are dispersed. Suppose, for instance, we flip a coin 50 times and get 15 heads and 35 tails. But according to the fundamental probability theory where we assume it’s a fair coin, we should have got 25 heads and 25 tails. So, what happened here? Now, suppose there are 100 students and each one flipped the coin 50 times. So, how would you imagine the results to be?
Theory
Measures of variation:
- Range: range is the simplest measure of variation and it is the difference between the largest value and the smallest. Range = Maximum – Minimum.
Suppose the pulse rate of Jack varied from 70 to 76 while that of Tom varied from 58 to 79. Here we have Jack has a range of 76 – 70 = 6 and Tom has a range of 79 – 58 = 21. Hence we conclude that Tom has a big variation in pulse rate compared to Jack with the range measure.
A similar measure of variation covers (more or less) the middle 50 percent. It is the interquartile range:Q 3 - Q 1 where Q 1 and Q 3 are the first and third quarters.
- Variance: unlike range, which only involves the largest and smallest data, variance involves all the data values.
- Population variance: σ^2=(∑(x-μ)^2 )/N where μ is the population mean of the data and N is the size of the population.
- Unbiased estimate of the population variance:s^2=(∑(x-x ̅ )^2 )/(n-1), where x ̅ is the sample mean and n is the sample size.
- Standard deviation: It is the square root of variance. Given that the deviations in variance were squared, meaning the units were squared, so to take the square root of the variance gets the unit back the same as the original data values.
- Population variance: σ=√((∑(x-μ)^2 )/N) where μ is the population mean of the data and N is the size of the population.
- Unbiased estimate of the population stand deviation (sample standard deviation):s=√((∑(x-x ̅ )^2 )/(n-1)) where x ̅ is the sample mean and n is the sample size.
Consider an example: a biologist found 8, 11, 7, 13, 10, 11, 7 and 9 contaminated mice in 8 groups. Calculate s. x ̅=(8+11+7+13+10+11+7+9)/8=9.5
x | 8 | 11 | 7 | 13 | 10 | 11 | 7 | 9 | Sum |
$\sum {x_i-\bar{x}}$ | -1.5 | 1.5 | -2.5 | 3.5 | 0.5 | 1.5 | -2.5 | -0.5 | 0 |
$\sum {(x_i-\bar{x})^2}$ | 2.25 | 2.25 | 6.25 | 12.25 | 0.25 | 2.25 | 6.25 | 0.25 | 32 |
$s=\sqrt{\frac{\sum {(x_i-\bar{x})^2}}{n-1}} = 32/7 \approx 2.14$
- Sum of squares (shortcuts)
The sum of the squares of the deviations fro the means is given a shortcut notation and several alternative formulas. SS(x)=s=∑(x-x ̅ )^2
A little algebraic simplification returns: SS(x)=∑x^2 -(∑x)^2/n
- Chebyshev’s Theorem: The proportion of the values that fall within k standard deviations of the mean will be at least 1-1/k^2 where k is the number greater than 1. The interpretation of x ̅-ks to x ̅+ks would be within k standard deviations. Chebyshev’s theorem is true for any sample set with any distribution.
- Empirical Rule: This rule only works for bell-shaped (normal) distributions. With this kind of distribution, we have: approximately 68% of the data values fall within one standard deviation of the mean; approximately 95% of the data values fall within two standard deviations of the mean; approximately 99.7% of the data values fall within three standard deviations of the mean.
Applications
- This article titled The Population Genetics of Structural Variation, talked about genomic variation in human genome. It summarized recent dramatic advances and illustrated on the diverse mutational origins of chromosomal rearrangements and argued about their complexity necessitates a re-evaluation of existing population genetic methods. It started with an introduction on genomic variants including their biological significance, their basic characteristics leading to the importance of study on structural variation. It then pointed out the improvements in knowledge of structural variation in human genome compared to the current state of studies in structural variation in human genome and ended with two important future challenges in the study of structural variation.
Software
Problems
- Let X be a random variable with mean 80 and standard deviation 12. Find the mean and the standard deviation of the following variable: X-20. Choose one answer.
- (a) Mean = 60, standard deviation = 144
- (b) Mean = 60, standard deviation = 12
- (c) Mean = 80, standard deviation = 12
- (d) Mean = 60, standard deviation = -8
- A physician collected data on 1000 patients to examine their heights. A statistician hired to look at the files noticed the typical height was about 60 inches, but found that one height was 720 inches. This is clearly an outlier. The physician is out of town and can't be contacted, but the statistician would like to have some preliminary descriptions of the data to present when the doctor returns. Which of the following best describes how the statistician should handle this outlier? Choose one answer.
- (a) The statistician should publish a paper on the emergence of a new race of giants.
- (b) The statistician should keep the data point in; each point is too valuable to drop one.
- (c) The statistician should drop the observation from the analysis because this is clearly a mistake; the person would be 60 feet tall.
- (d) The statistician should analyze the data twice, once with and once without this data point, and then compare how the point affects conclusions.
- (e) The statistician should drop the observation from the dataset because we can't analyze the data with it.
- Researchers do a study on the number of cars that a person owns. They think that the distribution of their data might be normal, even though the median is much smaller than the mean. They make a p-plot. What does it look like? Choose one answer.
- (a) It's not a straight line.
- (b) It's a bell curve.
- (c) It's a group of points clustered around the middle of the plot.
- (d) It's a straight line.
- Which of the following parameters is most sensitive to outliers? Choose one answer.
- (a) Standard deviation
- (b) Interquartile range
- (c) Mode
- (d) Median
- Which value given below is the best representative for the following data?
- Choose one answer.
- (a) The weighted average of the two modes or (4*5 + 9*5)/10 = 6.5
- (b) No single number could represent this data set
- (c) The average of the two modes or (4 + 9) / 2 = 6.5
- (d) The mean or (2 + 3 + 4 + … + 10 + 11)/18 = 5.9
- (e) The median or (6 + 7)/2 = 6.5
- The following data is collected from website for 121 schools and included these attributes about each institution: name, public or private institution, state, , cost of health insurance, resident tuition, resident fees, resident total expenses, nonresident tuition, nonresident fees, and nonresident total expenses in 2005. So was surprised that medical schools charge no tuition for residents. However, other students pay about $\$20,000$ in fees.
Min | Q1 | Median | Q3 | Max | |
Private | $$-6,550 || $$30,729 | $$33,850 || $$36,685 | $$41,360 |- | Public || $$0 | $$10,219 || $$16,168 | $$18,800 || $$27,886 |
- On the same scale, use the 5-Number summary to construct two boxplots for the tuition for residents at 73 public and 48 private medical colleges. Use the data and plots to determine which statement about centers is true.
- (a) For private medical schools, the mean tuition of residents is greater than the median tuition for residents.
- (b) With these data, we cannot determine the relationship between mean and median tuition for residents.
- (c) For private medical schools, the mean tuition of residents is equal to the median tuition for residents.
- (d) For private medical schools, the mean tuition of residents is less the median tuition for residents.
- Suppose that we create a new data set by doubling the highest value in a large data set of positive values. What statement is FALSE about the new data set? Choose one answer.
- (a) The mean increases
- (b) The standard deviation increases
- (c) The range increases
- (d) The median and interquartile range both increase
- Consider a large data set of positive values and multiply each value by 100. Which of the following statement is true? Choose one answer.
- (a) The mean, median, and standard deviation increase
- (b) The mean and median increase but the standard deviation is unchanged.
- (c) The standard deviation increases but the mean and median are unchanged.
- (d) The range and interquartile range are unchanged
References
- SOCR Home page: http://www.socr.umich.edu
Translate this page: