13 Pages

Lecture24

Course: ECON 220, Spring 2011
School: University of Toronto
Rating:
 
 
 
 
 

Word Count: 775

Document Preview

Lecture ECO220Y 24 Introduction to Hypothesis Testing Migiwa Tanaka Reading:11.1 1 Outline Outline Introduction to Hypothesis Testing Testing population mean when the population variance is known Rejection Region Method p-value Method One-tail vs. two-tail Test Calculating the probability of a type II error 2 Hypothesis Hypothesis Testing Step1: Identify hypotheses about a population parameter...

Register Now

Unformatted Document Excerpt

Coursehero >> Canada >> University of Toronto >> ECON 220

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Lecture ECO220Y 24 Introduction to Hypothesis Testing Migiwa Tanaka Reading:11.1 1 Outline Outline Introduction to Hypothesis Testing Testing population mean when the population variance is known Rejection Region Method p-value Method One-tail vs. two-tail Test Calculating the probability of a type II error 2 Hypothesis Hypothesis Testing Step1: Identify hypotheses about a population parameter Step2: Collect a sample Step3: Conduct hypothesis testing: Conclude whether the hypotheses set up in step 1 is true or not, using evidence found in the sample. A. B. Calculate a test statistic Compare A. with the decision criteria 3 Analogy with Criminal Trial (1) Hypothesis Testing Criminal Trial Unknown: Population Parameter Construct hypotheses about population population parameter. Collect a sample from the population Calculate test statistics. Based on the evidence in a sample, test hypothesis. 4 Unknown: Defendants Guilt Construct hypotheses about defendants guilt Collect evidence relevant to the crime. Based on the evidence, test hypothesis Hypotheses Hypotheses 1. All hypotheses are constructed in a pair. Null Hypothesis (H0): Initial presumption about the population, which is not based on the data. Status quo. Alternative Hypothesis (H1): The statement that can be proven by the data. New regime. It is also called research hypothesis hypothesis. 2. Example: H0: Defendant is innocent H1: Defendant is guilty H0: Mean daily demand for gasoline is 1000 gallon 1000 H1: Mean daily demand for gasoline is not 1000 gallon 5 Analogy Analogy with Criminal Trial (2) Juries consider following hypotheses: H0: Defendant is innocent H1: Defendant is guilty Two choices: 1. 2. Defendant is not guilty Not enough evidence to conclude H0 is true. Do not reject H0 Defendant is guilty Enough evidence beyond reasonable doubt. Reject H0 in favor of H1 Does 1. implies the defendant is proven innocent? 6 Construction of Hypotheses: Example 1: Criminal Trial Current Legal Standard: Alternative Legal Standard: Innocent until proven guilty beyond a reasonable doubt Guilty until proven innocent innocent beyond a reasonable doubt H0: Defendant is innocent H1: Defendant is guilty What will be the decision if there is no evidence? H0 : H1 : What will be the decision if there is no evidence? 7 What we can do in hypothesis testing: Reject null hypothesis in favor of alternative(research) hypothesis. There is enough evidence beyond a reasonable doubt. There is not enough evidence beyond reasonable a doubt to prove the guilty of the defendant. Do not reject null What we cannot do: Accept null hypothesis. (i.e. the defendant is innocent.) (i Prove null hypothesis. (i.e. Prove the innocence of defendant defendant.) 8 Type Type I Error and Type II Error Errors in Decision H0 is true (innocent) Reject H0 (Convict) Do not reject H0 (Acquit) (Acquit) H1 is true (guilty) Type Type I Error Correct Decision Correct Decision Type II Error Type I error is occurs when rejecting true null. Convict an innocent person. Acquit a guilty person. Type II error occurs when not rejecting false null. 9 Type Type I Error and Type II Error H0 is true (innocent) Reject H0 (Convict) Do not reject H0 (Acquit) H1 is true (guilty) Type I Error Correct Decision Correct Decision Type II Error Probability of making type I error= =P(Reject H0 | H0 is true) This is called level of significance in hypothesis testing. Probability of making type II error = =P(Do not reject H0 | H1 is true) How and are related? 10 Relationship Relationship between and The probability of type I error( ) and the probability of type II error () are inversely related. Decrease in Increase in burden of proof Increase the chance of acquittal for both innocent and guilty Increase in (chance of letting guilty person go free) Decrease in , Decrease in burden of proof. Decrease the chance of acquittal for both innocent and guilty defendant. Increase in . 11 Construction Construction of Statistical Hypotheses: Hypothesis: a claim about a population parameter Null hypothesis H0: =some value (population mean is 0) Alternative hypothesis (three ways.) A. B. C. H1: some value (population mean is not 0) H1: <some value (population mean is less than 0) H1: >some value (population mean is greater than 0) A. leads to two-tailed test: When researcher wants to know if the parameter is different from null. B. and C. lead to one-tailed test. : When researcher wants to know if the parameter is greater/less than null. 12 Construction of Hypothesis: Example 2: Inventory Management The retail stores manage their inventory depending on demand for the product. For example, your store stocks canned tomato soup such that it can accommodate 100 cans each week. You want to know if there is an increase in the demand and if you should increase the inventor y level. H0 : H1 : You want to know if there is any change in the demand and if you should maintain the current inventory level. H0 : H1 : 13
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

University of Toronto - ECON - 220
ECO220Y Lecture25 Hypothesis Testing (2)Migiwa Tanaka Reading: 11.2 (pp 349-352)1Outline OutlineTesting population mean when the population variance is knownTwo Approaches to Hypothesis Testing Rejection Region Method p-value MethodOne-tail vs. tw
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 1 &amp; 2 Readings: Sections 1.1, 1.3, 2.1, 2.3 Exercises: 1.2, 1.4, 1.6, 1.7, 2.6, 2.34, 2.36 (by hand) Problems: (1) Give original examples of data that are: cross-sectional, time series, and longitudinal. For each, describe the
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 1 &amp; 2 SOLUTIONS (1) Many possible solutions. Cross-sectional: percent of regular faculty that are women in a sample of 34 economics departments in universities around the world in 2004. Time series: percent of regular faculty t
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 3 &amp; 4 Readings: Sections 2.2 2.6 Exercises: 2.86 (by hand) Problems: (1) Using the descriptive terms for histograms given in lecture, how would you describe the graph below? Roughly how many observations are negative?n: 228 .0
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 3 &amp; 4 SOLUTIONS (1) Symmetric, bell shaped, unimodal. Resist the temptation to call this bimodal and positively skewed: it is not. When we are describing the shape we see in a histogram we are trying to make inferences about th
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 5 &amp; 6 Readings: Sections 4.1 4.3 Exercises: 4.2, 4.10, 4.22, 4.25 4.30, 4.40, 4.42, 4.46 (but these data not this data) Problems: (1) Considering the tabulation, find the mean, median, and mode of x. x| Freq. Percent Cum. -+-0|
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 5 &amp; 6 SOLUTIONS (1) Mean is 0.6572, median is 0.7, and mode is 1. (You should show your work.) (2) Many possible solutions. One example: 0 0 0 0 0 2 2 2 2 2 (3) The sample mean is about 150. It is reasonable to infer that this
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 7 &amp; 8 Readings: Sections 4.4, 4.7, 4.8 Exercises: 4.55, 4.56, 4.58: include complete interpretation in paragraph-form for answer to Part e. of 4.58 Applets (CD-ROM): Applet 1 (page 128), Applet 2 (page 128) Problems: (1) Suppos
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 9 &amp; 10 Readings: Sections 5.1 5.4, Handout Chapter 1: Economic Questions and Data from Introduction to Econometrics, Second Edition, by James H. Stock and Mark W. Watson, 2007, Sections 6.1 6.3 Exercises: 5.1 5.3, 5.6, 5.7, 5.9
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 11 &amp; 12 Readings: Sections 7.1 7.2 Exercises: 7.2, 7.4, 7.5, 7.8, 7.16 7.18, 7.32 7.34, 7.36, 7.40 7.42, 7.47 7.50, 7.52, 7.54, 7.56, 7.58, 7.59 Problems: (1) Suppose you calculate x = $36, y = $60, sX = $12, sY = $15, and sXY
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 11 &amp; 12 SOLUTIONS (1) In 2007 $1 CAN $0.9 U.S., which means that we must multiply X and Y by 0.9. [You may use the most recent exchange rate.] Use the Laws of Expectation and Variance to get reported statistics in U.S. dollars.
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 13 &amp; 14 Readings: Section 7.4 Exercises: 7.92, 7.94, 7.96, 7.97, 7.98 (Note: Solve these Exercises without a computer and without using any tables in the appendices) Problems: (1) What two factors affect the probability of any
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 13 &amp; 14 SOLUTIONS (1) The number of trials and the probability of success. Go over how this relates to the example and provide the intuition. (2) The first example would be Binomial but the second case would not. Drawing cards
University of Toronto - ECON - 220
ECO220Y: Homework, Lectures 15 Readings: Sections 8.1 Exercises: 8.4, 8.6, 8.9 8.14 Problems: (1) What is the mean and variance of Z if Z = X1 + X2 and X1 is binomially distributed with p = 0.1 and n = 20, X2 is binomially distributed with p = 0.9 and n =
University of Toronto - ECON - 220
ECO220Y: Homework, Lecture 15 SOLUTIONS (1)E [ X 1 ] 20 0.1 2, E [ X 1 X 2 ] 2 18 20,E[ X 2 ] 20 0.9 18, V [ X 2 ] 20 0.1 0.9 1.8,V [ X 1 ] 20 0.1 0.9 1.8, V [ X 1 X 2 ] 1.8 1.8 3.6(2) 16(3) mean = 0, var = 0.67; sd = 0.82
University of Toronto - ECON - 220
ECO220Y: Homework, Lecture 16 Readings: Section 8.2, Handout lecture16 (posted on the portal. Go to Content Handout lecture16), and Section 8.4 (excluding 2) Exercises: 8.15 8.33, 8.38, 8.46, 8.48, 8.52, 8.58, 8.64, 8.69, 8.70 (Note: Use table in The Stan
University of Toronto - ECON - 220
ECO220Y: Homework, Lecture 20 &amp; 21Readings: Section 9.1 (pages 301 303), Sections 10.1 Exercises: 10.1, 10.3, 10.4, 10.6, 10.8 Applets (CD-ROM): Applets 9 12 Problems: (1) In this problem, you are asked to use 3 Loonies (one dollar coins) to simulate a s
University of Toronto - ECON - 220
ECO220Y: Homework, Lecture 17 Readings: Sections 9.1 Exercises: 9.1 9.4 Applets (CD-ROM): Applet 9 (page 302) Problems: (1) Recall the telework example in Lecture 17. Here is the relevant information about the population: Number of Permits 0 1 2 Fraction
University of Toronto - ECON - 220
ECO220Y: Homework, Lecture 18 Readings: Sections 9.1, 9.3, 9.4 Exercises: 9.5, 9.6, 9.8, 9.10, 9.16, 9.22, 9.28, 9.48, 9.50, 9.54 Applets (CD-ROM): Applet 10 (page 302), Applet 11 (page 303), Applet 12 (page 303), Applet 14 (page 317)Problems: (1) It is
University of Toronto - ECON - 220
ECO220Y: Homework, Lecture 19 Readings: Sections 9.2 Exercises: 9.30, 9.32, 9.34, 9.36, 9.40, Applets (CD-ROM): Applet 13 (page 312) Problems: Consider the box shown below, which contains 30 balls. Consider sampling 50 balls with replacement from this box
University of Toronto - ECON - 220
ECO220Y: Homework, Lecture 19 SOLUTIONS (1) The rule of thumb requires that the entire interval defined by p 3(p(1-p)/n)0.5 has to be contained between 0 and 1. Since p=8/30=0.27, n=50, the interval is [0.08,0.46], which falls within [0,1]. Thus, sampling
Cedarville - BIO - 1000
GasProductionbyYeastcarbohydrates/substrate time Glucose Galactose Lactose Maltose10 5 2 1 0.520 10 2 1.5 530 19 3 2 840 28 5 2 1050 36 5 2.5 1860 42 6 2.5 2545 40 35 30 25 20 15 10 5 0 time 10 20 30 40 50 60Glucose Galactos e Lactose MaltoseTem
USC - ANTH - 263g
Wilson 1 Brenden Wilson Professor Seaman Anthropology 263 February 25, 2011 Film Journal #1 The short film The Rite of Passage documents the coming of age ritual that takes place in the !Kung community. In this community meat is highly desired and is not
USC - POSC - 375
Midterm: In the answer show how specific readings and people are related to the questions. Part I (80%) Chose two of the following: Democratic Citizenship, Gendered Citizenship, Limited or Constitutional Citizenship, Federal Farmer, Spiritual Citizenship?
JCCC - BUS - 100
BUS100 Sample Exam 1Student: _ 1. Which of the following organizations is an example of the goods-producing sector of the economy? A. Ford Motor Company B. Florida State University C. Children's Hospital D. H &amp; R Block Tax Consulting 2. Which of the stat
Michigan State University - MMG - 433
Microbial Genomics 433Robert Britton - Instructor Tom Schmidt - Instructor Pat Venta - Instructor Stephanie LaHaye - Lab instructor - Tues Devin Dobias - Lab instructor - Thur Click to edit Master subtitle styleWhat you should expect from MMG433? Hand
Michigan State University - MMG - 433
Microbial Genomes Features Analysis Role of high-throughput sequencing Yeast - the eukaryotic model microbe Databases NCBI Microbial Genomes JGI (IMG) Wiki sitesGenome of the week Haemophilus influenzae First microbial genome completely sequenced. To
Michigan State University - MMG - 433
Genome sequencing and annotationWeek 2 reading assignments - pages 65-79, 110-122. Boxes 2.1, 2.2 and 2.3. Dont worry about the details of HMM. Hughes Functional Genomics Review. Metzger next generation sequencing review Sequencing - dideoxy method for
Michigan State University - MMG - 433
Genome of the week Bacillus subtilisGram-positive soil bacterium Genetically tractable, well-studied Developmental pathways (sporulation, genetic competence) Industrial and agricultural importance 4.2 Mb genome (sequence completed 1997) Close relative of
Michigan State University - MMG - 433
Protein complexes - why?Proteins often function as large, multisubunit complexes.RNA polymeraseCan get clues about the function of a protein by knowing what other proteins it contacts.Protein:protein interactionsGenetic approachYeast 2-hybrid Co-imm
Michigan State University - MMG - 433
Structural proteomics Nanoarchaeum equitans - archaea Hyperthermophile Diverged early in evolution from other archaea New kingdom of archaea? Obligate symbiont with Ignicoccus One of the smallest completely sequenced genome &lt;500kB Genome reduction obs
Michigan State University - MMG - 433
Genetics and Genomics Forward genetics Reverse genetics Genetic tools for genome-wide analysis Genome scale reverse genetics Signature tagged mutagenesis Synthetic lethal screens Book - 300-304 (mid-page), 306-307, 310 Gain-offunction, 317 synthetic l
Michigan State University - MMG - 433
Course syllabus - MMG433 Microbial Genomics Spring Semester 2011 Tuesday/Thursday lecture 10:20-11:10 room 1420 Tuesday Lab 2245 BPS 11:45-2:15 Thursday Lab 2245 BPS 11:45-2:15 Course objective: An introduction to the concepts and experimental approaches
Michigan State University - MMG - 433
MMG 433: Review/Study GuideLecture 1: Two approaches to Genomics: Philosophical New way to approach biological problems Practical High throughput methods for analyzing biological systems DNA Sequencing: 1392 complete bacterial genomes currently in Entrez
Michigan State University - MMG - 433
Mic 433, Microbial Genomics Lab exercise #2 Due date: January 25 or 27Name: Mary Ellen HoinskiThe goal of this laboratory exercise is to explore some of the major gene and genome databases and to become familiar with retrieving information available at
Michigan State University - MMG - 433
Mic 433, Microbial Genomics Lab exercise #3 Due February 2nd or 4thName: Mary Ellen HoinskiThe goal of this session is to gain some practical experience in assembling and analyzing a consensus sequence, and to solidify your understanding of DNA sequenci
Michigan State University - MMG - 433
Lab #4 MMG433 Due Feb. 9 or 11Name:Investigating gene function using online database toolsThe goal of this lab is to use the various web based bioinformatics tools to probe the possible functions of proteins. In this lab we will use BLAST, CDD, pfam, C
Michigan State University - MMG - 433
Lab #5 DNA microarray image and data analysis Due Feb. 15 or 17Name: Mary Ellen HoinskiThe objective of this lab exercise is to become familiar with microarray images and basic data analysis. Today we are working with a microarray image that was produce
Penn State - PHYS - 597
Phys 597A CMPS 497E Phys 597A, CMPS 497E Graphs and Networks in Systems BiologyLecturer: Rka Albert Rka Albertralbert@phys.psu.edu 122 Davey Laboratory Davey LaboratoryNetworks, networks everywhere Network infrastructure, social networking Network - a
Penn State - PHYS - 597
Networks, networks everywhere Network infrastructure, social networking Network - a tool for understanding complex systems Many non-identical elements connected by diverse interactions E.g. interaction networks within cells: protein interactions, chemica
Penn State - PHYS - 597
Graph conceptsGraphs are made up by vertices (nodes) and edges (links). (li An edge connects two vertices, or a vertex with itself loop. AC, AC - multiple edges BB loop The shape of the graph does not matter, only the way the nodes are connected to each
Penn State - PHYS - 597
Graph conceptsGraphs are made up by vertices (nodes) and edges (links). An edge connects two vertices, or a vertex with itself loop. AC, AC - multiple edges BB loop The shape of the graph does not matter, only the way the nodes are connected to each othe
Penn State - PHYS - 597
Properties of real networks: degree di distributionNodes with small degrees are most frequent. The fraction of highly connected nodes decreases, but is not zero. Look closer: use a logarithmic plot.10 10 10 10 100 -1 -2 -3 -4100101102103.51 l
Penn State - PHYS - 597
Properties of real networks: degree distribution10 10 10 10 100 -1 -2 -3 -4100101102103.51 loglog1 0.6semilogPlotting power laws and exponentials Nodes with small degrees are most frequent. The fraction of highly connected nodes decreases,
Penn State - PHYS - 597
Community structure in networks Many real-world networks, especially social ones, exhibit community structure (also called modularity). Intuitively community structure can be defined as the th existence of subgraphs that are densely connected but sparsel
Penn State - PHYS - 597
Community structure in networks Many real-world networks, especially social ones, exhibit community structure (also called modularity). Intuitively community structure can be defined as the existence of subgraphs that are densely connected but sparsely i
Penn State - PHYS - 597
Ecological Networks Ecological Networks15 September 2009Types of ecological networks Types of ecological networks Community nodes: species links: interactions between species p Population nodes: populations of one species nodes: populations of one s
Penn State - PHYS - 597
9/11/2009Typesofecologicalnetworks Community nodes:species links:interactionsbetweenspeciesEcologicalNetworks15September2009 Population nodes:populationsofonespecies links:dispersalbetweenpopulations Individual nodes:individualorganisms links:gen
Penn State - PHYS - 597
The The structure of molecular &amp; cellular networks networksTo be able to construct and analyze a cellular network, we need to clearly define what we identify as a node and what we represent with an edge. The nodes and edges have to be at least similar to
Penn State - PHYS - 597
The structure of molecular &amp; cellular networksTo be able to construct and analyze a cellular network, we need to clearly define what we identify as a node and what we represent with an edge. The nodes and edges have to be at least similar to each other,
Penn State - PHYS - 597
9/24/2009GraphrepresentationsV numberofvertices(nodes),E numberofedgesAdjacencymatrixa b c d e f g h a 0 1 0 0 1 0 1 0 b 1 0 1 0 0 0 0 1 c 0 1 0 1 0 1 1 0 d 0 0 1 0 1 0 0 0 e 1 0 0 1 0 0 0 0 f 0 0 1 0 0 0 0 0 g 1 0 1 0 0 1 0 0 h 0 1 0 0 0 0 0 0Edgear
Penn State - PHYS - 597
GraphrepresentationsV numberofvertices(nodes),E numberofedgesEdgearray size:E Adjacencymatrix size:V*V Adjacencylists size:V+E purerepresentationsAdjacencymatrixa b c d e f g h a 0 1 0 0 1 0 1 0 b 1 0 1 0 0 0 0 1 c 0 1 0 1 0 1 1 0 d 0 0 1 0 1 0 0 0 e
Penn State - PHYS - 597
Network models random graphsProperties common to many large-scale networks, independently of their origin and function: 1. The degree and betweenness distribution are decreasing functions, usually power-laws. 2. The distances scale logarithmically with t
Penn State - PHYS - 597
Network models random graphsProperties common to many large-scale networks, independently of their origin and function: 1. The degree and betweenness distribution are decreasing functions, usually power-laws. 2. The distances scale logarithmically with t
Penn State - PHYS - 597
Network modelsProperties common to many large-scale networks, independently of their origin and function: 1. The degree and betweenness distribution are decreasing Th di scale - free functions, usually power-laws. 2. The distances scale logarithmically w
Penn State - PHYS - 597
Network modelsProperties common to many large-scale networks, independently of their origin and function: 1. The degree and betweenness distribution are decreasing scale - free functions, usually power-laws. 2. The distances scale logarithmically with th
Penn State - PHYS - 597
Topological perturbation of complex networksPerturbations in complex systems can deactivate some of the edges or nodes. Edge loss: the edge is deleted Node loss: the node and all its edges are deleted Effects on the global topology:Resilience to perturb
Penn State - PHYS - 597
Topological perturbation of complex networks networksPerturbations in complex systems can deactivate some of the edges or nodes. Edge loss: the edge is deleted Edge loss: the edge is deleted Node loss: the node and all its edges are deleted Effects on th
Penn State - PHYS - 597
The two faces of network dynamicsEvolving network models describe the dynamics/assembly/evolution network models describe the dynamics/assembly/evolution of networks by the addition/removal of nodes and edges. It is possible to have network dynamics even
Penn State - PHYS - 597
The two faces of network dynamicsEvolving network models describe the dynamics/assembly/evolution of networks by the addition/removal of nodes and edges. It is possible to have network dynamics even if there are no node/edge additions/removals, i.e. the
Penn State - PHYS - 597
Modeling signal transduction networks by continuous and deterministic modelsReceptor - ligand binding - assumed to be elementary reaction Methylation, phosphorylation reactions catalyzed by enzymes, Michaelis-Menten kinetics assumed Dephosphorylation, pr