Soci Data Analysis in Sociological Research. Homework 4 Computer Handout. Chapter 19 Confidence Intervals for Proportions
|
|
- Beatrix Hart
- 6 years ago
- Views:
Transcription
1 University of North Carolina Chael Hill Soci Data Analysis in Sociological Research Sring 2013 Professor François Nielsen Homework 4 Comuter Handout Readings This handout covers comuter issues related to Chaters 18, 19, 20, 21 and 22 in De Veaux et al Stats: Data and Models. 3e. Addison-Wesley. (STATSDM3) Chater 18 Samling Distribution Models See Comuter Handout for Homework 3 and Activity 12 and 13 for discussion on how to simulate samling distributions using R. Chater 19 Confidence Intervals for Proortions Calculating a CI for a Proortion by hand I illustrate calculating a confidence interval for a roortion with the examle of 510 randomly samled adults in October 2008 resonding to the question Generally seaking, do you believe the death enalty is alied fairly or unfairly in this country today?, in which 275 (54%) answered Fairly (STATSDM ). Using R as a calculator, one would roceed as follows. > n <- 510 > hat <- 275/510 > SE <- sqrt(hat*(1 - hat)/n) > SE [1] > alha <-.05 > zstar <- qnorm(1 - alha/2) # z for =.975 > zstar [1] > ME <- zstar*se > c(hat - ME, hat + ME) [1] Thus we are 95% confident that between 49.6% and 58.2% of adults think that the death enalty is alied fairly. Calculating a CI for a Proortion with ro.test The R function ro.test calculates the CI for a roortion. It is used as ro.test(x, n, conf.level = 0.95, correct = TRUE) where x is the number of successes, n is the samle size, conf.level is the desired confidence level (95% by default) and correct indicates whether a continuity correction is used. For the death enalty examle, ro.test is used as follows, secifying correct = FALSE. 1
2 S O C I D A T A A N A L Y S I S I N S O C I O L O G I C A L R E S E A R C H 2 > ro.test(275, 510, correct=false) 1-samle roortions test without continuity correction data: 275 out of 510, null robability 0.5 X-squared = , df = 1, -value = alternative hyothesis: true is not equal to We see that this confidence interval is very close to the one calculated by hand. Note that I am using the otion correct = FALSE here only to make the results most comarable to those in the text. In general, however, the continuity correction does no harm and we would leave the default otion correct = TRUE as is. CI for a Proortion for a Factor in a Dataframe In ractice we often want to calculate a CI for a roortion from the original, ungroued data stored as a factor in a data frame. To illustrate I calculate a CI for the roortion of deressed (as oosed to normal) resondents in Afifi and Clark s deress data set. The (confusingly named) variable cases is a factor taking the value deressed if the resondent has cesd >= 16 and normal otherwise. Before doing anything I need to change the order of the levels of factor cases so that deressed comes first. 1 I then use ro.test after first tabulating the values of cases with the table function. > # reading the Afifi and Clark data > library(foreign) > deress <- read.dta("deress.dta") # read Stata data set > deress$cases <- factor(deress$cases, levels = c("deressed", "normal")) > attach(deress) # to make variable names accessible > head(cases, 10) # look at first 10 observations [1] normal normal normal normal normal normal normal [8] normal deressed normal Levels: deressed normal > tab <- table(cases) > tab cases deressed normal > ro.test(tab, correct=false) 1-samle roortions test without continuity correction data: tab, null robability 0.5 X-squared = , df = 1, -value < 2.2e-16 alternative hyothesis: true is not equal to This is because the two-dimensional table inut into ro.test() must contain the numbers of successes and failures, in that order. In this context success means being deressed. If I didn t change the order of the levels ro.test() would give me a CI for the roortion of normal, rather than deressed, resondents.
3 S O C I D A T A A N A L Y S I S I N S O C I O L O G I C A L R E S E A R C H We can be 95% confident that the roortion of deressed resondents in the oulation samled is between 13.1% and 21.7%. Note that I have selled out the stes in detail. Once we understand what is going on we can just enter ro.test(table(cases)) to obtain our CI in one fell swoo (just making sure that the level corresonding to success is listed first). Note also that the hyothesis-testing art of the outut can be ignored here, as it tests the default hyothesis =.5, which is not meaningful in this context. Chater 20 Testing Hyotheses About Proortions Hyothesis Test for One Proortion by hand To illustrate a hyothesis test for one roortion I use the examle of the home field advantage hyothesis in the 2009 Major League Baseball season (STATSDM3, ), in which the home team won 1333 (54.8%) of the 2430 games. Could this deviation from 50% be due to chance or is there really a home field advantage in rofessional baseball? We set u the hyothesis to be tested as H 0 : =.50; H A : >.50 and roceed as follows. > 0 <-.5 > n < > hat <- 1333/2430 > hat [1] > SD <- sqrt(0*(1-0)/n) # note this is SD, not SE; why? > z <- (hat - 0)/SD # test statistic > z [1] > 1 - norm(z) [1] e-07 The very small -value indicates that the 54.86% roortion of wins by the home team is unlikely to obtain by chance if the robability of winning is.5. Thus we reject the hyothesis that the home team has no advantage. Hyothesis Test for One Proortion with ro.test R function ro.test can test hyotheses as well as calculate confidence intervals. To test the hyothesis that the roortion of wins by the home team is greater than.5 we roceed as follows. > ro.test(x=1333, n=2430, =.5, alternative="greater", correct=false) 1-samle roortions test without continuity correction data: 1333 out of 2430, null robability 0.5 X-squared = , df = 1, -value = 8.444e-07 alternative hyothesis: true is greater than I secified alternative= greater because the alternative hyothesis H A : > 0 =.5 is one-sided in the ositive direction. The two-sided hyothesis or the one-sided hyothesis
4 S O C I D A T A A N A L Y S I S I N S O C I O L O G I C A L R E S E A R C H 4 in the negative direction would be indicated by alternative= two.sided (default) and alternative= less, resectively. Because the alternative hyothesis is one-sided ( greater ), the confidence interval (.532, 1.000) rovided by ro.test is also one-sided. However, we will not consider one-sided confidence intervals further in this course. Chater 21 More About Tests and Intervals One-sided and Two-sided -Values The ro.test function in R rovides the correct -value according to whether the test is one-sided (alternative = greater or alternative = less ), or two-sided (alternative = two.sided ). For a given 0 the -value of the twosided test is twice that of the corresonding one-sided test. For examle, for the home team advantage examle, the two.sided test that the robability of home team win is actually.5 is as follows. > ro.test(x=1333, n=2430, =.5, alternative="two.sided", correct=false) 1-samle roortions test without continuity correction data: 1333 out of 2430, null robability 0.5 X-squared = , df = 1, -value = 1.689e-06 alternative hyothesis: true is not equal to We see that the -value 1.689e-06 of the two-sided test is twice the -value 8.444e-07 found above for the one-sided test. The Agresti-Coull Plus Four Interval When the samle has fewer than 10 successes or failures, the Agresti-Coull Plus Four interval can be calculated by adding 2 successes and 2 failures (thus 4 cases to the total count) and calculating the confidence interval with ro.test. The examle of the 45 surgical oerations with 3 failures (STATSDM3,.511) does not satisfy the Success/Failure Condition. Thus we calculate the Agresti-Coull interval as follows. > ro.test(x = 3+2, n = 45+4, correct=false) 1-samle roortions test without continuity correction data: out of , null robability 0.5 X-squared = , df = 1, -value = 2.527e-08 alternative hyothesis: true is not equal to The confidence interval ( , ) reorted by ro.test differs from the interval (.017,.187) reorted in the text (.511). I do not know why at the moment.
5 S O C I D A T A A N A L Y S I S I N S O C I O L O G I C A L R E S E A R C H 5 Chater 22 Comaring Two Proortions Comaring Two Proortions by hand To illustrate comarison of two roortions I use the examle of seat-belt use by male drivers deending on whether a woman is sitting next to them. In these data, of 4208 male drivers with female assengers 2777 (66.0%) used their seat-belt. Among 2763 male drivers with male assengers only, 1383 (49.3%) wore seat belts (STATSDM3,.525). Using R as a calculator, one could roceed as follows (STATSDM3, ). > nf < > nm < > hatf <- 2777/4208 > hatm <- 1363/2763 > SE <- sqrt(hatf*(1-hatf)/nf + hatm*(1-hatm)/nm) > SE [1] > zstar <- qnorm(.975) > zstar [1] > ME <- zstar*se > dif <- hatf - hatm > dif [1] > c(dif - ME, dif + ME) # CI for difference [1] This corresonds closely to the result in the text. Comaring Two Proortions with ro.test To comare the two roortions with ro.test we need to create vectors with the numbers of successes and samle sizes, resectively. These vectors then serve as inut to ro.test. > y <- c(2777, 1363) # the 2 numbers of successes > n <- c(4208, 2763) # the 2 samle sizes > ro.test(y, n, correct=false) 2-samle test for equality of roortions without continuity correction data: y out of n X-squared = , df = 1, -value < 2.2e-16 alternative hyothesis: two.sided ro 1 ro The result is identical to that roduced by the by hand method. Comaring Two Proortions in a Dataframe Are women more likely to be deressed than men? This conjecture can be investigated by comaring the roortions of men and women who are diagnosed as deressed (as oosed to normal) on the basis of their cesd score in the Afifi and Clark deress data. We do this by constructing a table of factor cases (with categories
6 S O C I D A T A A N A L Y S I S I N S O C I O L O G I C A L R E S E A R C H 6 deressed and normal) with factor sex (with categories male and female), and inutting the table into ro.test, as follows. > table(sex, cases) cases sex deressed normal male female > ro.test(table(sex, cases), correct=false) 2-samle test for equality of roortions without continuity correction data: table(sex, cases) X-squared = , df = 1, -value = alternative hyothesis: two.sided ro 1 ro > detach(deress) # cleanu We see that the roortion deressed differs significantly between men and women (-value = ). The estimated difference in roortions is 12.8%. We can be 95% confident that the difference between the sexes is between 4.1% and 20.9%. Note that it is imortant for interretation to enter the exlanatory variable first in the table function (i.e., table(sex, cases) rather than table(cases, sex)), so ro.test returns the conditional roortions of cases given sex, rather than the other way around. The -value of the test, however, would be the same if we had entered cases first. Note that the CI for the difference in roortion has negative bounds; this is because levels for sex are in the order male, female, so ro 1 is assigned to male and ro 2 to female. We could change this by reordering the levels of sex as female, male, as follows. 2 > sex <- factor(sex, levels = c("female", "male")) > ro.test(table(sex, cases), correct=false) 2-samle test for equality of roortions without continuity correction data: table(sex, cases) X-squared = , df = 1, -value = alternative hyothesis: two.sided ro 1 ro The CI now has ositive bounds. You can check for yourself that the first row of table(sex, cases) now corresonds to female and the second row to male. 2 Note too that we had earlier changed the order of factor cases to deressed, normal. This change is still in effect.
Tests for Two Proportions in a Stratified Design (Cochran/Mantel-Haenszel Test)
Chater 225 Tests for Two Proortions in a Stratified Design (Cochran/Mantel-Haenszel Test) Introduction In a stratified design, the subects are selected from two or more strata which are formed from imortant
More informationEcon 3790: Business and Economics Statistics. Instructor: Yogesh Uppal
Econ 379: Business and Economics Statistics Instructor: Yogesh Ual Email: yual@ysu.edu Chater 9, Part A: Hyothesis Tests Develoing Null and Alternative Hyotheses Tye I and Tye II Errors Poulation Mean:
More informationHotelling s Two- Sample T 2
Chater 600 Hotelling s Two- Samle T Introduction This module calculates ower for the Hotelling s two-grou, T-squared (T) test statistic. Hotelling s T is an extension of the univariate two-samle t-test
More informationSlides Prepared by JOHN S. LOUCKS St. Edward s s University Thomson/South-Western. Slide
s Preared by JOHN S. LOUCKS St. Edward s s University 1 Chater 11 Comarisons Involving Proortions and a Test of Indeendence Inferences About the Difference Between Two Poulation Proortions Hyothesis Test
More informationEcon 3790: Business and Economics Statistics. Instructor: Yogesh Uppal
Econ 379: Business and Economics Statistics Instructor: Yogesh Ual Email: yual@ysu.edu Chater 9, Part A: Hyothesis Tests Develoing Null and Alternative Hyotheses Tye I and Tye II Errors Poulation Mean:
More informationIntroduction to Probability and Statistics
Introduction to Probability and Statistics Chater 8 Ammar M. Sarhan, asarhan@mathstat.dal.ca Deartment of Mathematics and Statistics, Dalhousie University Fall Semester 28 Chater 8 Tests of Hyotheses Based
More informationCHAPTER 5 STATISTICAL INFERENCE. 1.0 Hypothesis Testing. 2.0 Decision Errors. 3.0 How a Hypothesis is Tested. 4.0 Test for Goodness of Fit
Chater 5 Statistical Inference 69 CHAPTER 5 STATISTICAL INFERENCE.0 Hyothesis Testing.0 Decision Errors 3.0 How a Hyothesis is Tested 4.0 Test for Goodness of Fit 5.0 Inferences about Two Means It ain't
More informationMeasuring center and spread for density curves. Calculating probabilities using the standard Normal Table (CIS Chapter 8, p 105 mainly p114)
Objectives 1.3 Density curves and Normal distributions Density curves Measuring center and sread for density curves Normal distributions The 68-95-99.7 (Emirical) rule Standardizing observations Calculating
More informationHypothesis Test-Confidence Interval connection
Hyothesis Test-Confidence Interval connection Hyothesis tests for mean Tell whether observed data are consistent with μ = μ. More secifically An hyothesis test with significance level α will reject the
More informationTwo sample Hypothesis tests in R.
Example. (Dependent samples) Two sample Hypothesis tests in R. A Calculus professor gives their students a 10 question algebra pretest on the first day of class, and a similar test towards the end of the
More informationOne-way ANOVA Inference for one-way ANOVA
One-way ANOVA Inference for one-way ANOVA IPS Chater 12.1 2009 W.H. Freeman and Comany Objectives (IPS Chater 12.1) Inference for one-way ANOVA Comaring means The two-samle t statistic An overview of ANOVA
More information7.2 Inference for comparing means of two populations where the samples are independent
Objectives 7.2 Inference for comaring means of two oulations where the samles are indeendent Two-samle t significance test (we give three examles) Two-samle t confidence interval htt://onlinestatbook.com/2/tests_of_means/difference_means.ht
More informationMonte Carlo Studies. Monte Carlo Studies. Sampling Distribution
Monte Carlo Studies Do not let yourself be intimidated by the material in this lecture This lecture involves more theory but is meant to imrove your understanding of: Samling distributions and tests of
More informationMeasuring center and spread for density curves. Calculating probabilities using the standard Normal Table (CIS Chapter 8, p 105 mainly p114)
Objectives Density curves Measuring center and sread for density curves Normal distributions The 68-95-99.7 (Emirical) rule Standardizing observations Calculating robabilities using the standard Normal
More informationThe one-sample t test for a population mean
Objectives Constructing and assessing hyotheses The t-statistic and the P-value Statistical significance The one-samle t test for a oulation mean One-sided versus two-sided tests Further reading: OS3,
More information¼ ¼ 6:0. sum of all sample means in ð8þ 25
1. Samling Distribution of means. A oulation consists of the five numbers 2, 3, 6, 8, and 11. Consider all ossible samles of size 2 that can be drawn with relacement from this oulation. Find the mean of
More informationA proportion is the fraction of individuals having a particular attribute. Can range from 0 to 1!
Proportions A proportion is the fraction of individuals having a particular attribute. It is also the probability that an individual randomly sampled from the population will have that attribute Can range
More informationObjectives. Estimating with confidence Confidence intervals.
Objectives Estimating with confidence Confidence intervals. Sections 6.1 and 7.1 in IPS. Page 174-180 OS3. Choosing the samle size t distributions. Further reading htt://onlinestatbook.com/2/estimation/t_distribution.html
More informationSTA 250: Statistics. Notes 7. Bayesian Approach to Statistics. Book chapters: 7.2
STA 25: Statistics Notes 7. Bayesian Aroach to Statistics Book chaters: 7.2 1 From calibrating a rocedure to quantifying uncertainty We saw that the central idea of classical testing is to rovide a rigorous
More informationChapter 22. Comparing Two Proportions 1 /29
Chapter 22 Comparing Two Proportions 1 /29 Homework p519 2, 4, 12, 13, 15, 17, 18, 19, 24 2 /29 Objective Students test null and alternate hypothesis about two population proportions. 3 /29 Comparing Two
More informationObjectives. 6.1, 7.1 Estimating with confidence (CIS: Chapter 10) CI)
Objectives 6.1, 7.1 Estimating with confidence (CIS: Chater 10) Statistical confidence (CIS gives a good exlanation of a 95% CI) Confidence intervals. Further reading htt://onlinestatbook.com/2/estimation/confidence.html
More informationMATH 2710: NOTES FOR ANALYSIS
MATH 270: NOTES FOR ANALYSIS The main ideas we will learn from analysis center around the idea of a limit. Limits occurs in several settings. We will start with finite limits of sequences, then cover infinite
More informationChapter 22. Comparing Two Proportions 1 /30
Chapter 22 Comparing Two Proportions 1 /30 Homework p519 2, 4, 12, 13, 15, 17, 18, 19, 24 2 /30 3 /30 Objective Students test null and alternate hypothesis about two population proportions. 4 /30 Comparing
More informationSupplementary Materials for Robust Estimation of the False Discovery Rate
Sulementary Materials for Robust Estimation of the False Discovery Rate Stan Pounds and Cheng Cheng This sulemental contains roofs regarding theoretical roerties of the roosed method (Section S1), rovides
More informationThe Poisson Regression Model
The Poisson Regression Model The Poisson regression model aims at modeling a counting variable Y, counting the number of times that a certain event occurs during a given time eriod. We observe a samle
More informationSampling. Inferential statistics draws probabilistic conclusions about populations on the basis of sample statistics
Samling Inferential statistics draws robabilistic conclusions about oulations on the basis of samle statistics Probability models assume that every observation in the oulation is equally likely to be observed
More informationDownloaded from jhs.mazums.ac.ir at 9: on Monday September 17th 2018 [ DOI: /acadpub.jhs ]
Iranian journal of health sciences 013; 1(): 56-60 htt://jhs.mazums.ac.ir Original Article Comaring Two Formulas of Samle Size Determination for Prevalence Studies Hamed Tabesh 1 *Azadeh Saki Fatemeh Pourmotahari
More informationChapter 7 Sampling and Sampling Distributions. Introduction. Selecting a Sample. Introduction. Sampling from a Finite Population
Chater 7 and s Selecting a Samle Point Estimation Introduction to s of Proerties of Point Estimators Other Methods Introduction An element is the entity on which data are collected. A oulation is a collection
More informationContingency Tables. Safety equipment in use Fatal Non-fatal Total. None 1, , ,128 Seat belt , ,878
Contingency Tables I. Definition & Examples. A) Contingency tables are tables where we are looking at two (or more - but we won t cover three or more way tables, it s way too complicated) factors, each
More informationMorten Frydenberg Section for Biostatistics Version :Friday, 05 September 2014
Morten Frydenberg Section for Biostatistics Version :Friday, 05 Setember 204 All models are aroximations! The best model does not exist! Comlicated models needs a lot of data. lower your ambitions or get
More information8 STOCHASTIC PROCESSES
8 STOCHASTIC PROCESSES The word stochastic is derived from the Greek στoχαστικoς, meaning to aim at a target. Stochastic rocesses involve state which changes in a random way. A Markov rocess is a articular
More informationBiostat Methods STAT 5500/6500 Handout #12: Methods and Issues in (Binary Response) Logistic Regression
Biostat Methods STAT 5500/6500 Handout #12: Methods and Issues in (Binary Resonse) Logistic Regression Recall general χ 2 test setu: Y 0 1 Trt 0 a b Trt 1 c d I. Basic logistic regression Previously (Handout
More informationChapter 22. Comparing Two Proportions. Bin Zou STAT 141 University of Alberta Winter / 15
Chapter 22 Comparing Two Proportions Bin Zou (bzou@ualberta.ca) STAT 141 University of Alberta Winter 2015 1 / 15 Introduction In Ch.19 and Ch.20, we studied confidence interval and test for proportions,
More informationLecture 1.2 Units, Dimensions, Estimations 1. Units To measure a quantity in physics means to compare it with a standard. Since there are many
Lecture. Units, Dimensions, Estimations. Units To measure a quantity in hysics means to comare it with a standard. Since there are many different quantities in nature, it should be many standards for those
More informationPackage sempower. March 27, 2018
Tye Package Title Power Analyses for SEM Version 1.0.0 Author Morten Moshagen Package sempower March 27, 2018 Maintainer Morten Moshagen Provides a-riori, ost-hoc, and comromise
More informationMODELING THE RELIABILITY OF C4ISR SYSTEMS HARDWARE/SOFTWARE COMPONENTS USING AN IMPROVED MARKOV MODEL
Technical Sciences and Alied Mathematics MODELING THE RELIABILITY OF CISR SYSTEMS HARDWARE/SOFTWARE COMPONENTS USING AN IMPROVED MARKOV MODEL Cezar VASILESCU Regional Deartment of Defense Resources Management
More informationReal Analysis 1 Fall Homework 3. a n.
eal Analysis Fall 06 Homework 3. Let and consider the measure sace N, P, µ, where µ is counting measure. That is, if N, then µ equals the number of elements in if is finite; µ = otherwise. One usually
More informationCHAPTER-II Control Charts for Fraction Nonconforming using m-of-m Runs Rules
CHAPTER-II Control Charts for Fraction Nonconforming using m-of-m Runs Rules. Introduction: The is widely used in industry to monitor the number of fraction nonconforming units. A nonconforming unit is
More informationBERNOULLI TRIALS and RELATED PROBABILITY DISTRIBUTIONS
BERNOULLI TRIALS and RELATED PROBABILITY DISTRIBUTIONS A BERNOULLI TRIALS Consider tossing a coin several times It is generally agreed that the following aly here ) Each time the coin is tossed there are
More informationState Estimation with ARMarkov Models
Deartment of Mechanical and Aerosace Engineering Technical Reort No. 3046, October 1998. Princeton University, Princeton, NJ. State Estimation with ARMarkov Models Ryoung K. Lim 1 Columbia University,
More informationOn split sample and randomized confidence intervals for binomial proportions
On slit samle and randomized confidence intervals for binomial roortions Måns Thulin Deartment of Mathematics, Usala University arxiv:1402.6536v1 [stat.me] 26 Feb 2014 Abstract Slit samle methods have
More informationCIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8
CIVL - 7904/8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8 Chi-square Test How to determine the interval from a continuous distribution I = Range 1 + 3.322(logN) I-> Range of the class interval
More informationFeedback-error control
Chater 4 Feedback-error control 4.1 Introduction This chater exlains the feedback-error (FBE) control scheme originally described by Kawato [, 87, 8]. FBE is a widely used neural network based controller
More informationCharacterizing the Behavior of a Probabilistic CMOS Switch Through Analytical Models and Its Verification Through Simulations
Characterizing the Behavior of a Probabilistic CMOS Switch Through Analytical Models and Its Verification Through Simulations PINAR KORKMAZ, BILGE E. S. AKGUL and KRISHNA V. PALEM Georgia Institute of
More informationAI*IA 2003 Fusion of Multiple Pattern Classifiers PART III
AI*IA 23 Fusion of Multile Pattern Classifiers PART III AI*IA 23 Tutorial on Fusion of Multile Pattern Classifiers by F. Roli 49 Methods for fusing multile classifiers Methods for fusing multile classifiers
More informationDiscrete Probability Distributions
Discrete Probability Distributions Chapter 06 McGraw-Hill/Irwin Copyright 2013 by The McGraw-Hill Companies, Inc. All rights reserved. LEARNING OBJECTIVES LO 6-1 Identify the characteristics of a probability
More informationClass 24. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700
Class 4 Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science Copyright 013 by D.B. Rowe 1 Agenda: Recap Chapter 9. and 9.3 Lecture Chapter 10.1-10.3 Review Exam 6 Problem Solving
More informationYixi Shi. Jose Blanchet. IEOR Department Columbia University New York, NY 10027, USA. IEOR Department Columbia University New York, NY 10027, USA
Proceedings of the 2011 Winter Simulation Conference S. Jain, R. R. Creasey, J. Himmelsach, K. P. White, and M. Fu, eds. EFFICIENT RARE EVENT SIMULATION FOR HEAVY-TAILED SYSTEMS VIA CROSS ENTROPY Jose
More informationTopic: Lower Bounds on Randomized Algorithms Date: September 22, 2004 Scribe: Srinath Sridhar
15-859(M): Randomized Algorithms Lecturer: Anuam Guta Toic: Lower Bounds on Randomized Algorithms Date: Setember 22, 2004 Scribe: Srinath Sridhar 4.1 Introduction In this lecture, we will first consider
More informationUniversity of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 4143/5195 Electrical Machinery Fall 2009
University of North Carolina-Charlotte Deartment of Electrical and Comuter Engineering ECG 4143/5195 Electrical Machinery Fall 9 Problem Set 5 Part Due: Friday October 3 Problem 3: Modeling the exerimental
More informationModels of Regression type: Logistic Regression Model for Binary Response Variable
Models of Regression tye: Logistic Regression Model for Binary Resonse Variable Gebrenegus Ghilagaber March 7, 2008 Introduction to Logistic Regression Let Y be a binary (0, ) variable de ned as 8 < if
More informationA Game Theoretic Investigation of Selection Methods in Two Population Coevolution
A Game Theoretic Investigation of Selection Methods in Two Poulation Coevolution Sevan G. Ficici Division of Engineering and Alied Sciences Harvard University Cambridge, Massachusetts 238 USA sevan@eecs.harvard.edu
More informationCMSC 425: Lecture 4 Geometry and Geometric Programming
CMSC 425: Lecture 4 Geometry and Geometric Programming Geometry for Game Programming and Grahics: For the next few lectures, we will discuss some of the basic elements of geometry. There are many areas
More informationq3_3 MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
q3_3 MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Provide an appropriate response. 1) In 2007, the number of wins had a mean of 81.79 with a standard
More informationChapter 6. Phillip Hall - Room 537, Huxley
Chater 6 6 Partial Derivatives.................................................... 72 6. Higher order artial derivatives...................................... 73 6.2 Matrix of artial derivatives.........................................74
More informationNotes on Instrumental Variables Methods
Notes on Instrumental Variables Methods Michele Pellizzari IGIER-Bocconi, IZA and frdb 1 The Instrumental Variable Estimator Instrumental variable estimation is the classical solution to the roblem of
More informationTowards understanding the Lorenz curve using the Uniform distribution. Chris J. Stephens. Newcastle City Council, Newcastle upon Tyne, UK
Towards understanding the Lorenz curve using the Uniform distribution Chris J. Stehens Newcastle City Council, Newcastle uon Tyne, UK (For the Gini-Lorenz Conference, University of Siena, Italy, May 2005)
More informationChapter 26: Comparing Counts (Chi Square)
Chapter 6: Comparing Counts (Chi Square) We ve seen that you can turn a qualitative variable into a quantitative one (by counting the number of successes and failures), but that s a compromise it forces
More informationMonopolist s mark-up and the elasticity of substitution
Croatian Oerational Research Review 377 CRORR 8(7), 377 39 Monoolist s mark-u and the elasticity of substitution Ilko Vrankić, Mira Kran, and Tomislav Herceg Deartment of Economic Theory, Faculty of Economics
More informationParticipation Factors. However, it does not give the influence of each state on the mode.
Particiation Factors he mode shae, as indicated by the right eigenvector, gives the relative hase of each state in a articular mode. However, it does not give the influence of each state on the mode. We
More informationAsymptotic Properties of the Markov Chain Model method of finding Markov chains Generators of..
IOSR Journal of Mathematics (IOSR-JM) e-issn: 78-578, -ISSN: 319-765X. Volume 1, Issue 4 Ver. III (Jul. - Aug.016), PP 53-60 www.iosrournals.org Asymtotic Proerties of the Markov Chain Model method of
More informationASYMPTOTIC RESULTS OF A HIGH DIMENSIONAL MANOVA TEST AND POWER COMPARISON WHEN THE DIMENSION IS LARGE COMPARED TO THE SAMPLE SIZE
J Jaan Statist Soc Vol 34 No 2004 9 26 ASYMPTOTIC RESULTS OF A HIGH DIMENSIONAL MANOVA TEST AND POWER COMPARISON WHEN THE DIMENSION IS LARGE COMPARED TO THE SAMPLE SIZE Yasunori Fujikoshi*, Tetsuto Himeno
More informationCSE 599d - Quantum Computing When Quantum Computers Fall Apart
CSE 599d - Quantum Comuting When Quantum Comuters Fall Aart Dave Bacon Deartment of Comuter Science & Engineering, University of Washington In this lecture we are going to begin discussing what haens to
More informationSAS for Bayesian Mediation Analysis
Paer 1569-2014 SAS for Bayesian Mediation Analysis Miočević Milica, Arizona State University; David P. MacKinnon, Arizona State University ABSTRACT Recent statistical mediation analysis research focuses
More informationCombining Logistic Regression with Kriging for Mapping the Risk of Occurrence of Unexploded Ordnance (UXO)
Combining Logistic Regression with Kriging for Maing the Risk of Occurrence of Unexloded Ordnance (UXO) H. Saito (), P. Goovaerts (), S. A. McKenna (2) Environmental and Water Resources Engineering, Deartment
More informationSociology Research Statistics I Final Exam Answer Key December 15, 1993
Sociology 592 - Research Statistics I Final Exam Answer Key December 15, 1993 Where appropriate, show your work - partial credit may be given. (On the other hand, don't waste a lot of time on excess verbiage.)
More information1 Extremum Estimators
FINC 9311-21 Financial Econometrics Handout Jialin Yu 1 Extremum Estimators Let θ 0 be a vector of k 1 unknown arameters. Extremum estimators: estimators obtained by maximizing or minimizing some objective
More informationBrownian Motion and Random Prime Factorization
Brownian Motion and Random Prime Factorization Kendrick Tang June 4, 202 Contents Introduction 2 2 Brownian Motion 2 2. Develoing Brownian Motion.................... 2 2.. Measure Saces and Borel Sigma-Algebras.........
More informationChapter 6. Estimates and Sample Sizes
Chapter 6 Estimates and Sample Sizes Lesson 6-1/6-, Part 1 Estimating a Population Proportion This chapter begins the beginning of inferential statistics. There are two major applications of inferential
More informationSTATPRO Exercises with Solutions. Problem Set A: Basic Probability
Problem Set A: Basic Probability 1. A tea taster is required to taste and rank three varieties of tea namely Tea A, B and C; according to the tasters preference. (ranking the teas from the best choice
More informationJohn Weatherwax. Analysis of Parallel Depth First Search Algorithms
Sulementary Discussions and Solutions to Selected Problems in: Introduction to Parallel Comuting by Viin Kumar, Ananth Grama, Anshul Guta, & George Karyis John Weatherwax Chater 8 Analysis of Parallel
More informationInferential statistics
Inferential statistics Inference involves making a Generalization about a larger group of individuals on the basis of a subset or sample. Ahmed-Refat-ZU Null and alternative hypotheses In hypotheses testing,
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY Introduction to Optimization (Spring 2004) Midterm Solutions
MASSAHUSTTS INSTITUT OF THNOLOGY 15.053 Introduction to Otimization (Sring 2004) Midterm Solutions Please note that these solutions are much more detailed that what was required on the midterm. Aggregate
More informationSection 2.5 Linear Inequalities
Section 2.5 Linear Inequalities WORDS OF COMPARISON Recently, you worked with applications (word problems) in which you were required to write and solve an equation. Sometimes you needed to translate sentences
More informationEstimation of the large covariance matrix with two-step monotone missing data
Estimation of the large covariance matrix with two-ste monotone missing data Masashi Hyodo, Nobumichi Shutoh 2, Takashi Seo, and Tatjana Pavlenko 3 Deartment of Mathematical Information Science, Tokyo
More informationA Problem Involving Games. Paccioli s Solution. Problems for Paccioli: Small Samples. n / (n + m) m / (n + m)
Class #10: Introduction to Probability Theory Artificial Intelligence (CS 452/552): M. Allen, 27 Sept. 17 A Problem Involving Games } Two players put money in on a game of chance } First one to certain
More informationSTAT 201 Chapter 5. Probability
STAT 201 Chapter 5 Probability 1 2 Introduction to Probability Probability The way we quantify uncertainty. Subjective Probability A probability derived from an individual's personal judgment about whether
More informationChapter 9, Part B Hypothesis Tests
SlidesPreared by JOHN S.LOUCKS St.Edward suiversity Slide 1 Chater 9, Part B Hyothesis Tests Poulatio Proortio Hyothesis Testig ad Decisio Makig Calculatig the Probability of Tye II Errors Determiig the
More informationBiostat Methods STAT 5820/6910 Handout #5a: Misc. Issues in Logistic Regression
Biostat Methods STAT 5820/6910 Handout #5a: Misc. Issues in Logistic Regression Recall general χ 2 test setu: Y 0 1 Trt 0 a b Trt 1 c d I. Basic logistic regression Previously (Handout 4a): χ 2 test of
More informationDiscrete distribution. Fitting probability models to frequency data. Hypotheses for! 2 test. ! 2 Goodness-of-fit test
Discrete distribution Fitting probability models to frequency data A probability distribution describing a discrete numerical random variable For example,! Number of heads from 10 flips of a coin! Number
More informationSTAT-UB.0103 NOTES for Wednesday 2012.APR.25. Here s a rehash on the p-value notion:
STAT-UB.3 NOTES for Wedesday 22.APR.25 Here s a rehash o the -value otio: The -value is the smallest α at which H would have bee rejected, with these data. The -value is a measure of SHOCK i the data.
More information2x2x2 Heckscher-Ohlin-Samuelson (H-O-S) model with factor substitution
2x2x2 Heckscher-Ohlin-amuelson (H-O- model with factor substitution The HAT ALGEBRA of the Heckscher-Ohlin model with factor substitution o far we were dealing with the easiest ossible version of the H-O-
More informationChapter 13 Variable Selection and Model Building
Chater 3 Variable Selection and Model Building The comlete regsion analysis deends on the exlanatory variables ent in the model. It is understood in the regsion analysis that only correct and imortant
More informationLast week: Sample, population and sampling distributions finished with estimation & confidence intervals
Past weeks: Measures of central tendency (mean, mode, median) Measures of dispersion (standard deviation, variance, range, etc). Working with the normal curve Last week: Sample, population and sampling
More informationFE FORMULATIONS FOR PLASTICITY
G These slides are designed based on the book: Finite Elements in Plasticity Theory and Practice, D.R.J. Owen and E. Hinton, 1970, Pineridge Press Ltd., Swansea, UK. 1 Course Content: A INTRODUCTION AND
More informationQuantitative Analysis and Empirical Methods
Hypothesis testing Sciences Po, Paris, CEE / LIEPP Introduction Hypotheses Procedure of hypothesis testing Two-tailed and one-tailed tests Statistical tests with categorical variables A hypothesis A testable
More informationA comparison of two barometers: Nicholas Fortin versus Robert Bosch
Isn t that a daisy? Doc Holliday A comarison of two barometers: Nicholas Fortin versus Robert Bosch Andrew Mosedale I have heard the whisers. I know the rumors. I attend to the gossi. Does it even work?
More informationAggregate Prediction With. the Aggregation Bias
100 Aggregate Prediction With Disaggregate Models: Behavior of the Aggregation Bias Uzi Landau, Transortation Research nstitute, Technion-srael nstitute of Technology, Haifa Disaggregate travel demand
More informationSTAT 201 Assignment 6
STAT 201 Assignment 6 Partial Solutions 12.1 Research question: Do parents in the school district support the new education program? Parameter: p = proportion of all parents in the school district who
More informationEvaluating Process Capability Indices for some Quality Characteristics of a Manufacturing Process
Journal of Statistical and Econometric Methods, vol., no.3, 013, 105-114 ISSN: 051-5057 (rint version), 051-5065(online) Scienress Ltd, 013 Evaluating Process aability Indices for some Quality haracteristics
More informationTwo sided, two sample t-tests. a) IQ = 100 b) Average height for men = c) Average number of white blood cells per cubic millimeter is 7,000.
Two sided, two sample t-tests. I. Brief review: 1) We are interested in how a sample compares to some pre-conceived notion. For example: a) IQ = 100 b) Average height for men = 5 10. c) Average number
More informationUse of Transformations and the Repeated Statement in PROC GLM in SAS Ed Stanek
Use of Transformations and the Reeated Statement in PROC GLM in SAS Ed Stanek Introduction We describe how the Reeated Statement in PROC GLM in SAS transforms the data to rovide tests of hyotheses of interest.
More informationECE 534 Information Theory - Midterm 2
ECE 534 Information Theory - Midterm Nov.4, 009. 3:30-4:45 in LH03. You will be given the full class time: 75 minutes. Use it wisely! Many of the roblems have short answers; try to find shortcuts. You
More informationOne-Way ANOVA. Some examples of when ANOVA would be appropriate include:
One-Way ANOVA 1. Purpose Analysis of variance (ANOVA) is used when one wishes to determine whether two or more groups (e.g., classes A, B, and C) differ on some outcome of interest (e.g., an achievement
More informationCHAPTER 7. Hypothesis Testing
CHAPTER 7 Hypothesis Testing A hypothesis is a statement about one or more populations, and usually deal with population parameters, such as means or standard deviations. A research hypothesis is a conjecture
More informationSTK4900/ Lecture 7. Program
STK4900/9900 - Lecture 7 Program 1. Logistic regression with one redictor 2. Maximum likelihood estimation 3. Logistic regression with several redictors 4. Deviance and likelihood ratio tests 5. A comment
More informationContingency Tables. Contingency tables are used when we want to looking at two (or more) factors. Each factor might have two more or levels.
Contingency Tables Definition & Examples. Contingency tables are used when we want to looking at two (or more) factors. Each factor might have two more or levels. (Using more than two factors gets complicated,
More informationDistributed Rule-Based Inference in the Presence of Redundant Information
istribution Statement : roved for ublic release; distribution is unlimited. istributed Rule-ased Inference in the Presence of Redundant Information June 8, 004 William J. Farrell III Lockheed Martin dvanced
More informationThe Noise Power Ratio - Theory and ADC Testing
The Noise Power Ratio - Theory and ADC Testing FH Irons, KJ Riley, and DM Hummels Abstract This aer develos theory behind the noise ower ratio (NPR) testing of ADCs. A mid-riser formulation is used for
More informationOutline. EECS150 - Digital Design Lecture 26 Error Correction Codes, Linear Feedback Shift Registers (LFSRs) Simple Error Detection Coding
Outline EECS150 - Digital Design Lecture 26 Error Correction Codes, Linear Feedback Shift Registers (LFSRs) Error detection using arity Hamming code for error detection/correction Linear Feedback Shift
More information