Presentation is loading. Please wait.

Presentation is loading. Please wait.

Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.

Similar presentations


Presentation on theme: "Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from."— Presentation transcript:

1 Statistical Decision Making

2 Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from some phenomena, a decision will have to be made about the phenomena

3 Decisions are generally broken into two types: Estimation decisions and Hypothesis Testing decisions.

4 Probability Theory plays a very important role in these decisions and the assessment of error made by these decisions

5 Definition: A random variable X is a numerical quantity that is determined by the outcome of a random experiment

6 Example : An individual is selected at random from a population and X = the weight of the individual

7 The probability distribution of a random variable (continuous) is describe by: its probability density curve f(x).

8 i.e. a curve which has the following properties : 1. f(x) is always positive. 2. The total are under the curve f(x) is one. 3. The area under the curve f(x) between a and b is the probability that X lies between the two values.

9

10 Examples of some important Univariate distributions

11 1.The Normal distribution A common probability density curve is the “Normal” density curve - symmetric and bell shaped Comment: If  = 0 and  = 1 the distribution is called the standard normal distribution Normal distribution with  = 50 and  =15 Normal distribution with  = 70 and  =20

12

13 2.The Chi-squared distribution with degrees of freedom

14

15 Comment: If z 1, z 2,..., z are independent random variables each having a standard normal distribution then U = has a chi-squared distribution with degrees of freedom.

16 3. The F distribution with  degrees of freedom in the numerator and  degrees of freedom in the denominator if x  0 where K =

17

18 Comment: If U 1 and U 2 are independent random variables each having Chi-squared distribution with 1 and 2 degrees of freedom respectively then F = has a F distribution with  degrees of freedom in the numerator and  degrees of freedom in the denominator

19 4.The t distribution with degrees of freedom where K =

20

21 Comment: If z and U are independent random variables, and z has a standard Normal distribution while U has a Chi- squared distribution with degrees of freedom then t = has a t distribution with degrees of freedom.

22 The Sampling distribution of a statistic

23 A random sample from a probability distribution, with density function f(x) is a collection of n independent random variables, x 1, x 2,...,x n with a probability distribution described by f(x).

24 If for example we collect a random sample of individuals from a population and –measure some variable X for each of those individuals, –the n measurements x 1, x 2,...,x n will form a set of n independent random variables with a probability distribution equivalent to the distribution of X across the population.

25 A statistic T is any quantity computed from the random observations x 1, x 2,...,x n.

26 Any statistic will necessarily be also a random variable and therefore will have a probability distribution described by some probability density function f T (t). This distribution is called the sampling distribution of the statistic T.

27 This distribution is very important if one is using this statistic in a statistical analysis. It is used to assess the accuracy of a statistic if it is used as an estimator. It is used to determine thresholds for acceptance and rejection if it is used for Hypothesis testing.

28 Some examples of Sampling distributions of statistics

29 Distribution of the sample mean for a sample from a Normal popululation Let x 1, x 2,...,x n is a sample from a normal population with mean  and standard deviation  Let

30 Than has a normal sampling distribution with mean and standard deviation

31

32 Distribution of the z statistic Let x 1, x 2,...,x n is a sample from a normal population with mean  and standard deviation  Let Then z has a standard normal distibution

33 Comment: Many statistics T have a normal distribution with mean  T and standard deviation  T. Then will have a standard normal distribution.

34 Distribution of the  2 statistic for sample variance Let x 1, x 2,...,x n is a sample from a normal population with mean  and standard deviation  Let = sample variance and = sample standard deviation

35 Let Then  2 has chi-squared distribution with = n-1 degrees of freedom.

36 The chi-squared distribution

37 Distribution of the t statistic Let x 1, x 2,...,x n is a sample from a normal population with mean  and standard deviation  Let then t has student’s t distribution with = n-1 degrees of freedom

38 Comment: If an estimator T has a normal distribution with mean  T and standard deviation  T. If s T is an estimatior of  T based on degrees of freedom Then will have student’s t distribution with degrees of freedom.

39 t distribution standard normal distribution

40 Point estimation A statistic T is called an estimator of the parameter  if its value is used as an estimate of the parameter . The performance of an estimator T will be determined by how “close” the sampling distribution of T is to the parameter, , being estimated.

41 An estimator T is called an unbiased estimator of  if  T, the mean of the sampling distribution of T satisfies  T = . This implies that in the long run the average value of T is .

42 An estimator T is called the Minimum Variance Unbiased estimator of  if T is an unbiased estimator and it has the smallest standard error  T amongst all unbiased estimators of . If the sampling distribution of T is normal, the standard error of T is extremely important. It completely describes the variability of the estimator T.

43 Interval Estimation (confidence intervals) Point estimators give only single values as an estimate. There is no indication of the accuracy of the estimate. The accuracy can sometimes be measured and shown by displaying the standard error of the estimate.

44 There is however a better way. Using the idea of confidence interval estimates The unknown parameter is estimated with a range of values that have a given probability of capturing the parameter being estimated.

45 The interval T L to T U is called a (1 -  )  100 % confidence interval for the parameter , if the probability that  lies in the range T L to T U is equal to 1 -  Here, T L to T U, are –statistics –random numerical quantities calculated from the data.

46 Examples Confidence interval for the mean of a Normal population (based on the z statistic). is a (1 -  )  100 % confidence interval for , the mean of a normal population. Here z  /2 is the upper  /2  100 % percentage point of the standard normal distribution.

47 More generally if T is an unbiased estimator of the parameter  and has a normal sampling distribution with known standard error  T then is a (1 -  )  100 % confidence interval for .

48 Confidence interval for the mean of a Normal population (based on the t statistic). is a (1 -  )  100 % confidence interval for , the mean of a normal population. Here t  /2 is the upper  /2  100 % percentage point of the Student’s t distribution with = n-1 degrees of freedom.

49 More generally if T is an unbiased estimator of the parameter  and has a normal sampling distribution with estmated standard error s T, based on n degrees of freedom, then is a (1 -  )  100 % confidence interval for .

50 Common Confidence intervals

51 Multiple Confidence intervals In many situations one is interested in estimating not only a single parameter, , but a collection of parameters,  1,  2,  3,.... A collection of intervals, T L1 to T U1, T L2 to T U2, T L3 to T U3,... are called a set of (1 -  )  100 % multiple confidence intervals if the probability that all the intervals capture their respective parameters is 1 - 

52 Hypothesis Testing Another important area of statistical inference is that of Hypothesis Testing. In this situation one has a statement (Hypothesis) about the parameter(s) of the distributions being sampled and one is interested in deciding whether the statement is true or false.

53 In fact there are two hypotheses –The Null Hypothesis (H 0 ) and –the Alternative Hypothesis (H A ). A decision will be made either to –Accept H 0 (Reject H A ) or to –Reject H 0 (Accept H A ). The following table gives the different possibilities for the decision and the different possibilities for the correctness of the decision

54 The following table gives the different possibilities for the decision and the different possibilities for the correctness of the decision Accept H 0 Reject H 0 H 0 is true Correct Decision Type I error H 0 is false Type II error Correct Decision

55 Type I error - The Null Hypothesis H 0 is rejected when it is true. The probability that a decision procedure makes a type I error is denoted by , and is sometimes called the significance level of the test. Common significance levels that are used are  =.05 and  =.01

56 Type II error - The Null Hypothesis H 0 is accepted when it is false. The probability that a decision procedure makes a type II error is denoted by . The probability 1 -  is called the Power of the test and is the probability that the decision procedure correctly rejects a false Null Hypothesis.

57 A statistical test is defined by 1. Choosing a statistic for making the decision to Accept or Reject H 0. This statisitic is called the test statistic. 2. Dividing the set of possible values of the test statistic into two regions - an Acceptance and Critical Region.

58 If upon collection of the data and evaluation of the test statistic, its value lies in the Acceptance Region, a decision is made to accept the Null Hypothesis H 0. If upon collection of the data and evaluation of the test statistic, its value lies in the Critical Region, a decision is made to reject the Null Hypothesis H 0.

59 The probability of a type I error, , is usually set at a predefined level by choosing the critical thresholds (boundaries between the Acceptance and Critical Regions) appropriately.

60 The probability of a type II error, , is decreased (and the power of the test, 1 - , is increased) by 1. Choosing the “best” test statistic. 2. Selecting the most efficient experimental design. 3. Increasing the amount of information (usually by increasing the sample sizes involved) that the decision is based.

61 Some common Tests

62 The p-value approach to Hypothesis Testing

63 1.A test statistic 2.A Critical and Acceptance region for the test statistic In hypothesis testing we need The Critical Region is set up under the sampling distribution of the test statistic. Area =  (0.05 or 0.01) above the critical region. The critical region may be one tailed or two tailed

64 The Critical region:  /2 Accept H 0 Reject H 0

65 1.Computing the value of the test statistic 2.Making the decision a.Reject if the value is in the Critical region and b.Accept if the value is in the Acceptance region. In test is carried out by

66 The value of the test statistic may be in the Acceptance region but close to being in the Critical region, or The it may be in the Critical region but close to being in the Acceptance region. To measure this we compute the p-value.

67 Definition – Once the test statistic has been computed form the data the p-value is defined to be: p-value = P[the test statistic is as or more extreme than the observed value of the test statistic] more extreme means giving stronger evidence to rejecting H 0

68 Example – Suppose we are using the z –test for the mean m of a normal population and  = 0.05. Z 0.025 = 1.960 p-value = P[the test statistic is as or more extreme than the observed value of the test statistic] = P [ z > 2.3] + P[z < -2.3] = 0.0107 + 0.0107 = 0.0214 Thus the critical region is to reject H 0 if Z 1.960. Suppose the z = 2.3, then we reject H 0

69 p - value 2.3 -2.3 Graph

70 p-value = P[the test statistic is as or more extreme than the observed value of the test statistic] = P [ z > 1.2] + P[z < -1.2] = 0.1151 + 0.1151 = 0.2302 If the value of z = 1.2, then we accept H 0 23.02% chance that the test statistic is as or more extreme than 1.2. Fairly high, hence 1.2 is not very extreme

71 p - value 1.2 -1.2 Graph

72 Properties of the p -value 1.If the p-value is small (<0.05 or 0.01) H 0 should be rejected. 2.The p-value measures the plausibility of H 0. 3.If the test is two tailed the p-value should be two tailed. 4. If the test is one tailed the p-value should be one tailed. 5.It is customary to report p-values when reporting the results. This gives the reader some idea of the strength of the evidence for rejecting H 0

73 Multiple testing Quite often one is interested in performing collection (family) of tests of hypotheses. 1. H 0,1 versus H A,1. 2. H 0,2 versus H A,2. 3. H 0,3 versus H A,3. etc.

74 Let  * denote the probability that at least one type I error is made in the collection of tests that are performed. The value of  *, the family type I error rate, can be considerably larger than , the type I error rate of each individual test. The value of the family error rate,  *, can be controlled by altering the thresholds of each individual test appropriately. A testing procedure of this nature is called a Multiple testing procedure.

75 Independent variables Dependent Variables CategoricalContinuousContinuous & Categorical Categorical Multiway frequency Analysis (Log Linear Model) Discriminant Analysis Continuous ANOVA (single dep var) MANOVA (Mult dep var) MULTIPLE REGRESSION (single dep variable) MULTIVARIATE MULTIPLE REGRESSION (multiple dependent variable) ANACOVA (single dep var) MANACOVA (Mult dep var) Continuous & Categorical ??


Download ppt "Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from."

Similar presentations


Ads by Google