Assignmnet: Simple Random Sampling With Replacement Some Solutions.

Slides:



Advertisements
Similar presentations
Review bootstrap and permutation
Advertisements

Probabilistic models Haixu Tang School of Informatics.
Random Variables A random variable is a variable (usually we use x), that has a single numerical value, determined by chance, for each outcome of a procedure.
Dice Games & Probabilities. Thermo & Stat Mech - Spring 2006 Class 16 Dice Games l One die has 6 faces. So, the probabilities associated with a dice game.
Probability Event a result or outcome of a procedure Simple Event an event that can’t be broken down Sample Space the set of all possible simple events.
Assignmnet: Simple Random Sampling With Replacement Some Solutions.
Probability (Kebarangkalian) EBB 341. Probability and Statistics Parameters population sample before observation after observation data random variables.
Chapter 5: Probability Concepts
WFM 5201: Data Management and Statistical Analysis
Today Today: Chapter 9 Assignment: 9.2, 9.4, 9.42 (Geo(p)=“geometric distribution”), 9-R9(a,b) Recommended Questions: 9.1, 9.8, 9.20, 9.23, 9.25.
Statistical Methods Descriptive Statistics Inferential Statistics Collecting and describing data. Making decisions based on sample data.
Slide 1 Statistics Workshop Tutorial 4 Probability Probability Distributions.
Chapter 4 Probability Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
© 2010 Pearson Education Inc.Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e – Slide 1 of 15 Chapter 12 Probability and Calculus.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
Chapter 5 Discrete Probability Distributions
Estimating Probabilities by Collecting Data
1 Chapter 6. Section 6-1 and 6-2. Triola, Elementary Statistics, Eighth Edition. Copyright Addison Wesley Longman M ARIO F. T RIOLA E IGHTH E DITION.
Population All members of a set which have a given characteristic. Population Data Data associated with a certain population. Population Parameter A measure.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Theory of Probability Statistics for Business and Economics.
3-2 Random Variables In an experiment, a measurement is usually denoted by a variable such as X. In a random experiment, a variable whose measured.
Unit 3 Review. Sec 5.1: Designing Samples Define the terms population and sample. Define each type of sample: Probability Sample, Simple Random Sample.
Chapter 6 Lecture 3 Sections: 6.4 – 6.5.
Sampling With Replacement How the program works a54p10.sas.
Material Variability… … or “how do we know what we have?”
Introduction to Probability  Probability is a numerical measure of the likelihood that an event will occur.  Probability values are always assigned on.
Homework: p #16, 17, 18, 28, 29  16. a).023 b).027 c) Part b d) Yes.
Probability Distributions u Discrete Probability Distribution –Discrete vs. continuous random variables »discrete - only a countable number of values »continuous.
1 Filling in the blanks with PROC FREQ Bill Klein Ryerson University.
Determining Probabilities Using Tree Diagrams and Tables.
Introduction to Inferential Statistics Statistical analyses are initially divided into: Descriptive Statistics or Inferential Statistics. Descriptive Statistics.
Biostatistics Unit 5 – Samples. Sampling distributions Sampling distributions are important in the understanding of statistical inference. Probability.
Math b (Discrete) Random Variables, Binomial Distribution.
Copyright © Cengage Learning. All rights reserved. Elementary Probability Theory 5.
PROBABILITY IN OUR DAILY LIVES
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Probability 5.
YET ANOTHER TIPS, TRICKS, TRAPS, TECHNIQUES PRESENTATION: A Random Selection of What I Learned From 15+ Years of SAS Programming John Pirnat Kaiser Permanente.
Simulating Experiments Introduction to Random Variable.
Binomial Probabilities IBHL, Y2 - Santowski. (A) Coin Tossing Example Take 2 coins and toss each Make a list to predict the possible outcomes Determine.
Lesson 8 - Topics Creating SAS datasets from procedures Using ODS and data steps to make reports Using PROC RANK Programs in course notes LSB 4:11;5:3.
Statistics for Engineer. Statistics  Deals with  Collection  Presentation  Analysis and use of data to make decision  Solve problems and design.
Chapter 4 Probability, Randomness, and Uncertainty.
Measures of Central Tendency and Dispersion from Grouped Data.
Unit 4 Section 3.1.
Chapter IV Statistic and simple probability. A. Meaning of probability 1.Random event 2.Simple event 3.Relative frequent and probability of an event Relative.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
MEGN 537 – Probabilistic Biomechanics Ch.5 – Determining Distributions and Parameters from Observed Data Anthony J Petrella, PhD.
 Page 568: Insurance Rates  Probability theory  Chance or likelihood of an event happening  Probability  Each even is assigned a number between.
PROBABILITY bability/basicprobability/preview.we ml.
Methods of Assigning Probabilities l Classical Probability; l Empirical Probability; and l Subjective Probability l P (A) = N(A) / N l P (X) = ƒ (X) /
STAT 1301 Introduction to Probability. Statistics: The Science of Decision Making in the Face of Uncertainty l Uncertainty makes life challenging and.
Discrete Math Section 17.5 Recognized types of sampling procedures and estimate population characteristics based on samples The purpose of sampling is.
Applied Business Forecasting and Regression Analysis
Correlation I have two variables, practically „equal“ (traditionally marked as X and Y) – I ask, if they are independent and if they are „correlated“,
Chapter 3 Probability.
Probability Imagine tossing two coins and observing whether 0, 1, or 2 heads are obtained. It would be natural to guess that each of these events occurs.
Probability Distributions
Chapter 8: Fundamental Sampling Distributions and Data Descriptions:
Ch. 10 Comparing Two Populations or Groups
Probability Distributions
3-2 Random Variables denoted by a variable such as X. In an experiment, a measurement is usually denoted by a variable such as X. In a random experiment,
Probability Key Questions
The Variance How to calculate it.
III. More Discrete Probability Distributions
The mean value of land and buildings per acre for farms is $1300, with a standard deviation of $250. A random sample of size 36 is drawn. 1) What is the.
Probability.
Probability Models 7. SP.7 Develop a probability model and use it to find probabilities of events. Compare probabilities from a model to observed frequencies;
Chapter 8: Fundamental Sampling Distributions and Data Descriptions:
pairing data values (before-after, method1 vs
Presentation transcript:

Assignmnet: Simple Random Sampling With Replacement Some Solutions

Question 2: SRSWR a. What is the formula to estimate the sample variance

Question 3: SRSWR a. If we count samples as different if either the subjects included are different or if the order of selection of subjects is different, how many different possible sample could we select? Note that N=6, n=3 Sample ______ _______ ______ Position 1 Position 2 Position 3 NNN

Question 3: SRSWR g. In how many different orders can 3 different subjects be selected (this is the number of permutations). ID=1, ID=2, ID=3 Sample ______ _______ ______ Position 1 Position 2 Position 3 n-2n-1n

Question 2. (SRSWR) 2c. (a54p10.sas). Do any samples occur where the same patient was selected on each of the selections? Which ones? What is the chance (probability) that this will happen? Is the number of times that the same subject was selected each time equal to what you would expect? Why or why not.

2c. (a54p10.sas). Do any samples occur where the same patient was selected on each of the selections? PROC PRINT DATA=d NOOBS SPLIT="*"; VAR sample sid1-sid3 ; TITLE2 "Table 2. List of &nsamp Simple Random Samples "; RUN;

2c. (a54p10.sas). Table 2. List of 40 Simple Random Samples 1st 2nd 3rd ID ID ID sample Sel. Sel. Sel Subject 3 selected each time etc

2c. (a54p10.sas). Do any samples occur where the same patient was selected on each of the selections?- –DATA d1; – SET d; – snum=100*sid1+10*sid2+sid3; –RUN; –PROC PRINT DATA=d1 NOOBS SPLIT="*"; – VAR sample snum sid1-sid3 ; – TITLE2 "Table 2a. List of &nsamp Simple Random Samples "; – RUN; –PROC FREQ DATA=d1; – TABLES snum; – TITLE2 "Table 2b. Subjects in &nsamp Samples with replacement"; – RUN;

2c. (a54p10.sas). Table 2b. Subjects in 40 Samples with replacement The FREQ Procedure Cumulative Cumulative snum Frequency Percent Frequency Percent ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ The three sselections are subject

Assignment: SRSWR 2c. (a54p10.sas). What is the chance (probability) that the same patient was selected on each of the selections? # of samples: # of samples with same selection: 111, 222, 333, 444, 555, 666

Assignment: SRSWR 2c. (a54p10.sas). Is the number of times that the same subject was selected each time equal to what you would expect? # of samples expected: No- we observed 3, and only expected 1.11 samples. This may be because we only took 40 samples.

3a. If we count samples as different if either the subjects included are different, or if the order of selection of subjects is different, how many different possible samples could we select? N=6, n=3 Sample ______ _______ ______ Position 1 Position 2 Position 3 N-2N-1N

3b. How many times would you expect that each sample would occur if 4320 samples were selected?

3b. In how many different orders can the same three subjects be selected? (This is the number of permutations.)