National Workshop on LaTeX and MATLAB for Beginners
|
|
- Preston Elliott
- 6 years ago
- Views:
Transcription
1 BITS Pilani Pilani Campus National Workshop on LaTeX and MATLAB for Beginners December, 2014 BITS Pilani, Partially Supported by DST, Rajasthan
2 BITS Pilani Pilani Campus Lecture - 13 : STATISTICAL COMMANDS Dr. Shivi Agarwal
3 Measures of Central Tendency (Location) Measures of Dispersion Probability Distribution Linear Models Covariance Correlation Linear Regression Hypothesis Testing 3
4 Measures of Central Tendency (Location) To locate the data values on the number line. Measures of location. geomean(x) harmmean(x) mean(x) median(x) max(x) min(x) : Geometric mean : Harmonic mean : Arithmetic average : 50 th percentile (in MATLAB) : Maximum value : Minimum value 4
5 Measures of Central Tendency (Location) Example: x = [ones(1,6) 100] x = locate = [geomean(x), harmmean(x), mean(x), median(x)] locate =
6 Measures of Dispersion To find out how spread out the data values are on the number line. Measures of spread. iqr(x) mad(x) range(x) std(x) var(x) Interquartile Range Mean Absolute Deviation Range Standard deviation Variance 6
7 Measures of Dispersion Range: difference between the maximum and minimum values; simplest measure of spread; not robust to outliers. Interquartile Range (IQR): difference between the 75 th and 25 th percentile of the data. Since only the middle 50% of the data affects this measure, it is robust to outliers. 7
8 Measures of Dispersion Example: x = [ones(1,6) 100] x = stats = [iqr(x), mad(x), range(x), std(x)] stats =
9 prctile(x,p) : p th Percentile of a data set X, p [0,100] quantile(x,p) : p th Quantile of a data set X, p [0,1] skewness(x) : skewness of sample X kurtosis(x) : kurtosis of sample X corr(x) : pairwise linear correlation coefficient 9
10 Probability Distribution Random variable 10
11 Probability Distribution Probability distributions arise from experiments where the outcome is subject to chance. The nature of the experiment dictates which probability distributions may be appropriate for modeling the resulting random outcomes. 11
12 Probability Distribution The uncertain behavior of the random variable is predicted by: (i) Probability density function f(x) (ii) Cumulative distribution function F(x) 12
13 Probability Distribution The Statistics Toolbox supports 20 probability distributions. For each distribution there are several associated functions. They are: Probability density function (pdf) Cumulative distribution function (cdf) Random number generator 13
14 Probability Distribution Mean and variance as a function of the parameters Parameter estimates and Confidence intervals for distributions (binomial, Poisson, uniform, gamma, exponential, normal, beta, and Weibull),. 14
15 Probability Distribution Discrete Binomial Distribution Poisson Distribution Discrete Uniform Distribution Continuous Continuous Uniform Distribution Gamma Distribution Exponential Distribution Normal Distribution 15
16 Discrete Probability Distribution The density function of a discrete random variable X is defined by f (x) = P(X=x) for all real x. The cumulative distribution function F of a discrete random variable X, is defined by F(x) P(X x) k x f(k) for any real number x, here f denote the density of X. 16
17 Binomial Distribution A discrete random variable X has binomial distribution with parameters n and p, n is a positive integer and 0 < p < 1, if its density function is f ( x) n x n x p (1 p) ; x 0,1,2,..., n x 0 otherwise. E[ X ] np and Var[ X ] npq. 17
18 18
19 Binomial Distribution A = binopdf(x,n,p) B= binocdf(x,n,p) n: must be positive integers, p: values must lie on the interval [0,1]. 19
20 Binomial Distribution Example: A Quality Assurance inspector tests 200 circuit boards a day. If 2% of the boards have defects, what is the probability that the inspector will find no defective boards on any given day? >>binopdf(0,200,0.02) 20
21 Binomial Distribution [M,V]=binostat(n,p) returns the mean and variance for the binomial distribution with parameters specified by n and p. 21
22 Binomial Distribution Ex. If a baseball team plays 162 games in a season and has a chance of winning any game, then the mean and the variance is : >> [M,V]=binostat(162,0.5) M = 81 V =
23 Binomial Distribution R = binornd(n,p) Description : generates random number from the binomial distribution with parameters specified by n and p. 23
24 Binomial Distribution R = binornd(n,p,m) Description : generates a matrix of size m*m containing random numbers from the binomial distribution with parameters n and p 24
25 Binomial Distribution R = binornd(n,p,m,k) Description : generates an m-by-k matrix containing random numbers from the binomial distribution with parameters n and p. 25
26 Binomial Distribution phat = binofit(x,n) Description: returns a maximum likelihood estimate of the probability of success in a given binomial trial based on the number of successes, x, observed in n independent trials. 26
27 Binomial Distribution [phat,pci] = binofit(x,n) Description: returns the probability estimate, phat, and the 95% confidence intervals, pci. 27
28 Binomial Distribution [phat,pci] = binofit(x,n,alpha) Description: returns the 100(1-alpha)% confidence intervals. For example, alpha = 0.01 yields 99% confidence intervals. 28
29 Binomial Distribution Example: First generate a binomial sample of 100 elements, where the probability of success in a given trial is 0.6. Then, estimate this probability from the outcomes in the sample. >> r = binornd(100,0.6); >> [phat,pci] = binofit(r,100) phat = pci =
30 Poisson Distribution This distribution is named on the French mathematician Simeon Denis Poisson. Let λ > 0 be a constant and, for any real number x, x e ; for x 0,1,2,... f ( x) x! 0 otherwise 30
31 Y = poisspdf(x,l); L > 0 and x 0 and integer. P = poisscdf(x,l) R = poissrnd(l) R = poissrnd(l,m) R = poissrnd(l,m,n) lambdahat = poissfit(x) [lambdahat,lambdaci] = poissfit(x) [lambdahat,lambdaci] = poissfit(x,alpha) [M,V] = poisstat(l) Poisson Distribution 31
32 Poisson Distribution Examples: A computer hard disk manufacturer has observed that flaws occur randomly in the manufacturing process at the average rate of two flaws in a 4 GB hard disk and has found this rate to be acceptable. What is the probability that a disk will be manufactured with no defects? λ= 2 and x = 0. >> p = poisspdf(0,2) p =
33 Discrete Uniform Distribution Y = unidpdf(x,n) P = unidcdf(x,n) N > 0 and integer R = unidrnd(n) R = unidrnd(n,m) R = unidrnd(n,m,k) For discrete uniform pdf is = 1/N; The mean is = (N+1)/2 The variance is = (N 2-1)/12. [M,V] = unidstat(n) 33
34 Discrete Uniform Distribution Examples: For fixed n, the uniform discrete pdf is a constant. >> y = unidpdf(1:6,10) y =
35 Discrete Probability Distribution Geometric Distribution Hypergeometric Distribution Negative Binomial Distribution 35
36 Continuous Density (Probability density function ) Definition: Let X be a continuous random variable. A function f(x) is called continuous density (probability density function i.e. pdf ) iff f(x) integral converges. f ( x ) 0 dx 1 36
37 Cumulative Distribution Function Let X be the continuous r.v. with density f(x). The cumulative distribution function (cdf) for X, denoted by F(X), is defined by F(X) = P ( X x ), all x = x f ( t ) dt 37
38 Continuous uniform distribution A random variable X is said to be uniformly distributed over an interval (a, c) if its density is given by f ( x E Var ( ) X 1 c a, ( ) X ) a a c 2 ( c 12 a x ) 2 c 38
39 Continuous uniform distribution Y = unifpdf(x,a,b); B > A P = unifcdf(x,a,b) R = unifrnd(a,b) R = unifrnd(a,b,m) R = unifrnd(a,b,m,k) [M,V] = unifstat(a,b) 39
40 Continuous uniform distribution [ahat,bhat] = unifit(x) [ahat,bhat,aci,bci] = unifit(x) [ahat,bhat,aci,bci] = unifit(x,alpha) 40
41 Gamma Distribution A random variable X with density function 1 f ( x ) x e ( ) is said to have a Gamma Distribution with parameters and,for x > 0, > 0, > 0. E[X] = Mean = X = Var(X) = 2 = 2 1 x / 0, f o r x 0, 41
42 Gamma distribution Y = gampdf(x,a,b); A,B > 0 and X [0, ) P = gamcdf(x,a,b) R = gamrnd(a,b) R = gamrnd(a,b,m) R = gamrnd(a,b,m,n) [M,V] = gamstat(a,b) phat = gamfit(x) [phat,pci] = gamfit(x) [phat,pci] = gamfit(x,alpha) 42
43 Exponential distribution In Gamma Distribution, put = 1, we get f ( x ) 1 0 e, x, x elsewhere 0, 0 Mean = =, var (X) = 2, 43
44 Exponential distribution Y = exppdf(x,mu) P = expcdf(x,mu) R = exprnd(mu) R = exprnd(mu,m) R = exprnd(mu,m,n) [M,V] = expstat(mu) muhat = expfit(x) [muhat,muci] = expfit(x) [muhat,muci] = expfit(x,alpha) 44
45 Normal distribution A random variable X with density f(x) is said to have normal distribution with parameters and > 0, where f(x) is given by: f ( x) 1 e 2 x 2 2 2, x, (, ); 0. 45
46 Mean and Standard deviation for Normal distribution Let X be a normal random variable with parameters µ and. Then µ is the mean of X and is its standard deviation. 46
47 The density Curves 47
48 Cumulative Distribution Function 48
49 Normal distribution Y = normpdf(x,mu,sigma) P = normcdf(x,mu,sigma) [M,V] = normstat(mu,sigma) R = normrnd(mu,sigma) R = normrnd(mu,sigma,m) R = normrnd(mu,sigma,m,n) 49
50 Normal distribution [mhat,sigmahat,muci,sigmaci] = normfit(x) [mhat,sigmahat,muci,sigmaci] = normfit(x,alpha) Example: >> x = [-3:0.1:3]; >> f = normpdf(x,0,1) >> p = normcdf(x,0,1) 50
51 Continuous Probability Distribution Beta Distribution Lognormal Distribution Rayleigh Distribution Weibull Distribution 51
52 Continuous Statistics Probability Distribution Chi-square Distribution Non-central Chi-square Distribution F Distribution Non-central F Distribution T Distribution Non-central t Distribution 52
53 Linear Models p = anova1(x) Description: performs a balanced one-way ANOVA for comparing the means of two or more columns of data in the m-by-n matrix X, where each column represents an independent sample containing m mutually independent observations. The function returns the p-value for the null hypothesis that all samples in X are drawn from the same population (or from different populations with the same mean). 53
54 Linear Models >> X = meshgrid(1:5); >> X = X + normrnd(0,1,5); >> p = anova1(x) p = e-006 If the p-value is near zero, this suggests that at least one sample mean is significantly different than the other sample means. It is common to declare a result significant if the p- value is less than 0.05 or
55 Linear Models Mean Squares (MS) for each source, = SS/df p-value, which is derived from the cdf of F. As F increases, the p- value decreases. degrees of freedom (df) source of the variability associated with each source Sum of Squares (SS) due to each source the F statistic, which is the ratio of the MS s. 55
56 Linear Models The second figure displays box plots of each column of X. Large differences in the center lines of the box plots correspond to large values of F and correspondingly small p- values. 56
57 Linear Models p = anova2(x,reps) Description: performs a balanced two-way ANOVA for comparing the means of two or more columns and two or more rows of the observations in X. The data in different columns represent changes in factor A. The data in different rows represent changes in factor B. If there is more than one observation for each combination of factors, input reps indicates the number of replicates in each cell, which much be constant. 57
58 Linear Models p = anovan(x,group) Description: performs a balanced or unbalanced multi-way ANOVA for comparing the means of the observations in vector X with respect to N different factors. The factors and factor levels of the observations in X are assigned by the cell array group. 58
59 Covariance C = cov(x) Description: computes the covariance matrix C = cov(x,y) Description: cov(x,y), where x and y are column vectors of equal length, gives the same result as cov([x y]) 59
60 Correlation R = corrcoef(x) Description: returns a matrix of correlation coefficients calculated from an input matrix whose rows are observations and whose columns are variables. 60
61 Linear Regression [b,bint,r,rint,stats] = regress(y,x) Description: b: an estimate of ; bint: a 95% confidence interval for in the p-by-2 vector. r: residuals rint: a 95% confidence interval for each residual in the n-by-2 vector. stats: contains the R 2 statistic along with the F and p values for the regression. 61
62 Linear Regression [b,bint,r,rint,stats] = regress(y,x,alpha) Description: b: an estimate of ; bint: a 100(1-alpha)% confidence interval for in the p-by-2 vector. r: residuals rint: a 100(1-alpha)% confidence interval for each residual in the n-by-2 vector. stats: contains the R 2 statistic along with the F and p values for the regression. 62
63 Hypothesis testing Hypothesis testing for the mean of one sample with known variance Hypothesis testing for a single sample mean when the standard deviation is unknown. 63
64 Hypothesis testing Hypothesis testing for the mean of one sample with known variance Description: h = ztest(x,m,sigma) performs determine whether a sample x from a normal distribution with standard deviation sigma could a Z test at significance level 0.05 to have mean m. 64
65 Hypothesis testing Hypothesis testing for the mean of one sample with known variance h = ztest(x,m,sigma) h = 1, you can reject the null hypothesis at the significance level h = 0, you cannot reject the null hypothesis at the significance level
66 Hypothesis testing [h,sig,ci,zval] = ztest(x,m,sigma,alpha,tail) Description: sig: probability that the observed value of Z could be as large or larger by chance under the null hypothesis that the mean of x is equal to m. ci:(1-alpha) confidence interval for the true mean x-m z = σ n zval: the value of the Z statistic 66
67 Hypothesis testing [h,sig,ci,zval] = ztest(x,m,sigma,alpha,tail) Description: alpha: the significance level alpha tail: tail = 0 specifies the alternative x m (default) tail = 1 specifies the alternative x > m tail = -1 specifies the alternative x < m 67
68 Hypothesis testing >> x = normrnd(0,1,100,1); >> m = mean(x) m = >> [h,sig,ci] = ztest(x,0,1) h = 0; % we cannot reject the null hypothesis sig = ci =
69 Hypothesis testing Hypothesis testing for a single sample mean when the standard deviation is unknown h = ttest(x,m) performs a t-test at significance level 0.05 to determine whether a sample from a normal distribution (in x) could have mean m when the standard deviation is unknown. 69
70 Hypothesis testing Hypothesis testing for a single sample mean when the standard deviation is unknown h = ttest(x,m,alpha) performs a t-test at significance level alpha to determine whether a sample from a normal distribution (in x) could have mean m when the standard deviation is unknown 70
71 Hypothesis testing Hypothesis testing for a single sample mean when the standard deviation is unknown [h,sig,ci] = ttest(x,m,alpha,tail) Description: sig: p-value associated with the T-statistic ci: (1-alpha) confidence interval for the true mean t = x-m s n 71
72 Hypothesis testing Hypothesis testing for a single sample mean when the standard deviation is unknown [h,sig,ci] = ttest(x,m,alpha,tail) Description: alpha: the significance level alpha tail: tail = 0 specifies the alternative x m (default) tail = 1 specifies the alternative x > m tail = -1 specifies the alternative x < m 72
73 Hypothesis testing jbtest: kstest: kstest2: lillietest: ranksum: signrank: signtest: ttest2: Normal distribution for one sample Any specified distribution for one sample Equal distributions for two samples Normal distribution for one sample Median of two unpaired samples Median of two paired samples Median of two paired samples Mean of two normal samples 73
74 Cluster Analysis Multivariate Statistics PCA Multivariate Analysis of Variance Statistical Plots Box Plots Distribution Plots Scatter Plots Design of Experiments (DOE) 74
75
Economics 573 Problem Set 4 Fall 2002 Due: 20 September
Economics 573 Problem Set 4 Fall 2002 Due: 20 September 1. Ten students selected at random have the following "final averages" in physics and economics. Students 1 2 3 4 5 6 7 8 9 10 Physics 66 70 50 80
More informationUnivariate MATLAB plots
Univariate MATLAB plots boxplot Box plot cdfplot Empirical cumulative distribution function plot dfittool Interactive distribution fitting disttool Interactive density and distribution plots ecdfhist Empirical
More informationProbability Distributions Columns (a) through (d)
Discrete Probability Distributions Columns (a) through (d) Probability Mass Distribution Description Notes Notation or Density Function --------------------(PMF or PDF)-------------------- (a) (b) (c)
More informationEXAM. Exam #1. Math 3342 Summer II, July 21, 2000 ANSWERS
EXAM Exam # Math 3342 Summer II, 2 July 2, 2 ANSWERS i pts. Problem. Consider the following data: 7, 8, 9, 2,, 7, 2, 3. Find the first quartile, the median, and the third quartile. Make a box and whisker
More informationGlossary. The ISI glossary of statistical terms provides definitions in a number of different languages:
Glossary The ISI glossary of statistical terms provides definitions in a number of different languages: http://isi.cbs.nl/glossary/index.htm Adjusted r 2 Adjusted R squared measures the proportion of the
More informationTest Problems for Probability Theory ,
1 Test Problems for Probability Theory 01-06-16, 010-1-14 1. Write down the following probability density functions and compute their moment generating functions. (a) Binomial distribution with mean 30
More information15 Discrete Distributions
Lecture Note 6 Special Distributions (Discrete and Continuous) MIT 4.30 Spring 006 Herman Bennett 5 Discrete Distributions We have already seen the binomial distribution and the uniform distribution. 5.
More informationIAM 530 ELEMENTS OF PROBABILITY AND STATISTICS LECTURE 3-RANDOM VARIABLES
IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS LECTURE 3-RANDOM VARIABLES VARIABLE Studying the behavior of random variables, and more importantly functions of random variables is essential for both the
More informationMATLAB Workbook CME106. Introduction to Probability and Statistics for Engineers. First Edition. Vadim Khayms
MATLAB Workbook CME106 Introduction to Probability and Statistics for Engineers First Edition Vadim Khayms Table of Contents 1. Random Number Generation 2. Probability Distributions 3. Parameter Estimation
More informationReview for the previous lecture
Lecture 1 and 13 on BST 631: Statistical Theory I Kui Zhang, 09/8/006 Review for the previous lecture Definition: Several discrete distributions, including discrete uniform, hypergeometric, Bernoulli,
More informationChapter 5 continued. Chapter 5 sections
Chapter 5 sections Discrete univariate distributions: 5.2 Bernoulli and Binomial distributions Just skim 5.3 Hypergeometric distributions 5.4 Poisson distributions Just skim 5.5 Negative Binomial distributions
More informationLearning Objectives for Stat 225
Learning Objectives for Stat 225 08/20/12 Introduction to Probability: Get some general ideas about probability, and learn how to use sample space to compute the probability of a specific event. Set Theory:
More informationBasic Statistics. Resources. Statistical Tables Murdoch & Barnes. Scientific Calculator. Minitab 17.
Basic Statistics Resources 1160 Statistical Tables Murdoch & Barnes Scientific Calculator Minitab 17 http://www.mathsisfun.com/data/ 1 Statistics 1161 The science of collection, analysis, interpretation
More informationPreliminary Statistics. Lecture 3: Probability Models and Distributions
Preliminary Statistics Lecture 3: Probability Models and Distributions Rory Macqueen (rm43@soas.ac.uk), September 2015 Outline Revision of Lecture 2 Probability Density Functions Cumulative Distribution
More informationAdditional Problems Additional Problem 1 Like the http://www.stat.umn.edu/geyer/5102/examp/rlike.html#lmax example of maximum likelihood done by computer except instead of the gamma shape model, we will
More informationAP Statistics Cumulative AP Exam Study Guide
AP Statistics Cumulative AP Eam Study Guide Chapters & 3 - Graphs Statistics the science of collecting, analyzing, and drawing conclusions from data. Descriptive methods of organizing and summarizing statistics
More informationRandom Variables and Their Distributions
Chapter 3 Random Variables and Their Distributions A random variable (r.v.) is a function that assigns one and only one numerical value to each simple event in an experiment. We will denote r.vs by capital
More informationTABLE OF CONTENTS CHAPTER 1 COMBINATORIAL PROBABILITY 1
TABLE OF CONTENTS CHAPTER 1 COMBINATORIAL PROBABILITY 1 1.1 The Probability Model...1 1.2 Finite Discrete Models with Equally Likely Outcomes...5 1.2.1 Tree Diagrams...6 1.2.2 The Multiplication Principle...8
More informationDistribution Fitting (Censored Data)
Distribution Fitting (Censored Data) Summary... 1 Data Input... 2 Analysis Summary... 3 Analysis Options... 4 Goodness-of-Fit Tests... 6 Frequency Histogram... 8 Comparison of Alternative Distributions...
More informationLecture 2: Repetition of probability theory and statistics
Algorithms for Uncertainty Quantification SS8, IN2345 Tobias Neckel Scientific Computing in Computer Science TUM Lecture 2: Repetition of probability theory and statistics Concept of Building Block: Prerequisites:
More informationSTA301- Statistics and Probability Solved Subjective From Final term Papers. STA301- Statistics and Probability Final Term Examination - Spring 2012
STA30- Statistics and Probability Solved Subjective From Final term Papers Feb 6,03 MC004085 Moaaz.pk@gmail.com Mc004085@gmail.com PSMD0 STA30- Statistics and Probability Final Term Examination - Spring
More information3 Univariate Statistics
3 Univariate Statistics 3.1 Introduction The statistical properties of a single parameter are investigated by means of univariate analysis. Such a parameter could be, for example, the organic carbon content
More informationConfidence Intervals, Testing and ANOVA Summary
Confidence Intervals, Testing and ANOVA Summary 1 One Sample Tests 1.1 One Sample z test: Mean (σ known) Let X 1,, X n a r.s. from N(µ, σ) or n > 30. Let The test statistic is H 0 : µ = µ 0. z = x µ 0
More informationA Probability Primer. A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes.
A Probability Primer A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes. Are you holding all the cards?? Random Events A random event, E,
More informationSystem Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models
System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models Fatih Cavdur fatihcavdur@uludag.edu.tr March 20, 2012 Introduction Introduction The world of the model-builder
More informationExam details. Final Review Session. Things to Review
Exam details Final Review Session Short answer, similar to book problems Formulae and tables will be given You CAN use a calculator Date and Time: Dec. 7, 006, 1-1:30 pm Location: Osborne Centre, Unit
More informationMATH4427 Notebook 4 Fall Semester 2017/2018
MATH4427 Notebook 4 Fall Semester 2017/2018 prepared by Professor Jenny Baglivo c Copyright 2009-2018 by Jenny A. Baglivo. All Rights Reserved. 4 MATH4427 Notebook 4 3 4.1 K th Order Statistics and Their
More information* Tuesday 17 January :30-16:30 (2 hours) Recored on ESSE3 General introduction to the course.
Name of the course Statistical methods and data analysis Audience The course is intended for students of the first or second year of the Graduate School in Materials Engineering. The aim of the course
More informationSTA1000F Summary. Mitch Myburgh MYBMIT001 May 28, Work Unit 1: Introducing Probability
STA1000F Summary Mitch Myburgh MYBMIT001 May 28, 2015 1 Module 1: Probability 1.1 Work Unit 1: Introducing Probability 1.1.1 Definitions 1. Random Experiment: A procedure whose outcome (result) in a particular
More informationPlotting data is one method for selecting a probability distribution. The following
Advanced Analytical Models: Over 800 Models and 300 Applications from the Basel II Accord to Wall Street and Beyond By Johnathan Mun Copyright 008 by Johnathan Mun APPENDIX C Understanding and Choosing
More informationChapter 3 Common Families of Distributions
Lecture 9 on BST 631: Statistical Theory I Kui Zhang, 9/3/8 and 9/5/8 Review for the previous lecture Definition: Several commonly used discrete distributions, including discrete uniform, hypergeometric,
More informationQUANTITATIVE TECHNIQUES
UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION (For B Com. IV Semester & BBA III Semester) COMPLEMENTARY COURSE QUANTITATIVE TECHNIQUES QUESTION BANK 1. The techniques which provide the decision maker
More informationContinuous Random Variables. and Probability Distributions. Continuous Random Variables and Probability Distributions ( ) ( ) Chapter 4 4.
UCLA STAT 11 A Applied Probability & Statistics for Engineers Instructor: Ivo Dinov, Asst. Prof. In Statistics and Neurology Teaching Assistant: Christopher Barr University of California, Los Angeles,
More informationChapter 5. Chapter 5 sections
1 / 43 sections Discrete univariate distributions: 5.2 Bernoulli and Binomial distributions Just skim 5.3 Hypergeometric distributions 5.4 Poisson distributions Just skim 5.5 Negative Binomial distributions
More informationThe Chi-Square Distributions
MATH 03 The Chi-Square Distributions Dr. Neal, Spring 009 The chi-square distributions can be used in statistics to analyze the standard deviation of a normally distributed measurement and to test the
More informationInstitute of Actuaries of India
Institute of Actuaries of India Subject CT3 Probability & Mathematical Statistics May 2011 Examinations INDICATIVE SOLUTION Introduction The indicative solution has been written by the Examiners with the
More informationChing-Han Hsu, BMES, National Tsing Hua University c 2015 by Ching-Han Hsu, Ph.D., BMIR Lab. = a + b 2. b a. x a b a = 12
Lecture 5 Continuous Random Variables BMIR Lecture Series in Probability and Statistics Ching-Han Hsu, BMES, National Tsing Hua University c 215 by Ching-Han Hsu, Ph.D., BMIR Lab 5.1 1 Uniform Distribution
More informationThe Chi-Square Distributions
MATH 183 The Chi-Square Distributions Dr. Neal, WKU The chi-square distributions can be used in statistics to analyze the standard deviation σ of a normally distributed measurement and to test the goodness
More informationTable of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z).
Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z). For example P(X.04) =.8508. For z < 0 subtract the value from,
More informationProbability and Distributions
Probability and Distributions What is a statistical model? A statistical model is a set of assumptions by which the hypothetical population distribution of data is inferred. It is typically postulated
More informationDennis Bricker Dept of Mechanical & Industrial Engineering The University of Iowa
Dennis Bricker Dept of Mechanical & Industrial Engineering The University of Iowa dennis-bricker@uiowa.edu Probability Theory Results page 1 D.Bricker, U. of Iowa, 2002 Probability of simultaneous occurrence
More information(b). What is an expression for the exact value of P(X = 4)? 2. (a). Suppose that the moment generating function for X is M (t) = 2et +1 3
Math 511 Exam #2 Show All Work 1. A package of 200 seeds contains 40 that are defective and will not grow (the rest are fine). Suppose that you choose a sample of 10 seeds from the box without replacement.
More informationChapter 5. Statistical Models in Simulations 5.1. Prof. Dr. Mesut Güneş Ch. 5 Statistical Models in Simulations
Chapter 5 Statistical Models in Simulations 5.1 Contents Basic Probability Theory Concepts Discrete Distributions Continuous Distributions Poisson Process Empirical Distributions Useful Statistical Models
More informationUQ, Semester 1, 2017, Companion to STAT2201/CIVL2530 Exam Formulae and Tables
UQ, Semester 1, 2017, Companion to STAT2201/CIVL2530 Exam Formulae and Tables To be provided to students with STAT2201 or CIVIL-2530 (Probability and Statistics) Exam Main exam date: Tuesday, 20 June 1
More informationCourse: ESO-209 Home Work: 1 Instructor: Debasis Kundu
Home Work: 1 1. Describe the sample space when a coin is tossed (a) once, (b) three times, (c) n times, (d) an infinite number of times. 2. A coin is tossed until for the first time the same result appear
More informationContinuous Random Variables. and Probability Distributions. Continuous Random Variables and Probability Distributions ( ) ( )
UCLA STAT 35 Applied Computational and Interactive Probability Instructor: Ivo Dinov, Asst. Prof. In Statistics and Neurology Teaching Assistant: Chris Barr Continuous Random Variables and Probability
More informationContinuous random variables
Continuous random variables Can take on an uncountably infinite number of values Any value within an interval over which the variable is definied has some probability of occuring This is different from
More informationDistributions of Functions of Random Variables. 5.1 Functions of One Random Variable
Distributions of Functions of Random Variables 5.1 Functions of One Random Variable 5.2 Transformations of Two Random Variables 5.3 Several Random Variables 5.4 The Moment-Generating Function Technique
More informationReview of Probability. CS1538: Introduction to Simulations
Review of Probability CS1538: Introduction to Simulations Probability and Statistics in Simulation Why do we need probability and statistics in simulation? Needed to validate the simulation model Needed
More information1 Review of Probability and Distributions
Random variables. A numerically valued function X of an outcome ω from a sample space Ω X : Ω R : ω X(ω) is called a random variable (r.v.), and usually determined by an experiment. We conventionally denote
More informationBMIR Lecture Series on Probability and Statistics Fall, 2015 Uniform Distribution
Lecture #5 BMIR Lecture Series on Probability and Statistics Fall, 2015 Department of Biomedical Engineering and Environmental Sciences National Tsing Hua University s 5.1 Definition ( ) A continuous random
More informationUnit 2. Describing Data: Numerical
Unit 2 Describing Data: Numerical Describing Data Numerically Describing Data Numerically Central Tendency Arithmetic Mean Median Mode Variation Range Interquartile Range Variance Standard Deviation Coefficient
More informationLecture 3: Basic Statistical Tools. Bruce Walsh lecture notes Tucson Winter Institute 7-9 Jan 2013
Lecture 3: Basic Statistical Tools Bruce Walsh lecture notes Tucson Winter Institute 7-9 Jan 2013 1 Basic probability Events are possible outcomes from some random process e.g., a genotype is AA, a phenotype
More informationGEOMETRIC -discrete A discrete random variable R counts number of times needed before an event occurs
STATISTICS 4 Summary Notes. Geometric and Exponential Distributions GEOMETRIC -discrete A discrete random variable R counts number of times needed before an event occurs P(X = x) = ( p) x p x =,, 3,...
More informationClosed book and notes. 120 minutes. Cover page, five pages of exam. No calculators.
IE 230 Seat # Closed book and notes. 120 minutes. Cover page, five pages of exam. No calculators. Score Final Exam, Spring 2005 (May 2) Schmeiser Closed book and notes. 120 minutes. Consider an experiment
More informationBe sure that your work gives a clear indication of reasoning. Use notation and terminology correctly.
MATH 232 Fall 2009 Test 1 Name: Instructions. Be sure that your work gives a clear indication of reasoning. Use notation and terminology correctly. No mystry numbers: If you use sage, Mathematica, or your
More informationContinuous Random Variables
MATH 38 Continuous Random Variables Dr. Neal, WKU Throughout, let Ω be a sample space with a defined probability measure P. Definition. A continuous random variable is a real-valued function X defined
More informationSTAT Chapter 5 Continuous Distributions
STAT 270 - Chapter 5 Continuous Distributions June 27, 2012 Shirin Golchi () STAT270 June 27, 2012 1 / 59 Continuous rv s Definition: X is a continuous rv if it takes values in an interval, i.e., range
More informationInstitute of Actuaries of India
Institute of Actuaries of India Subject CT3 Probability and Mathematical Statistics For 2018 Examinations Subject CT3 Probability and Mathematical Statistics Core Technical Syllabus 1 June 2017 Aim The
More informationGlossary for the Triola Statistics Series
Glossary for the Triola Statistics Series Absolute deviation The measure of variation equal to the sum of the deviations of each value from the mean, divided by the number of values Acceptance sampling
More informationLecture 6. Probability events. Definition 1. The sample space, S, of a. probability experiment is the collection of all
Lecture 6 1 Lecture 6 Probability events Definition 1. The sample space, S, of a probability experiment is the collection of all possible outcomes of an experiment. One such outcome is called a simple
More information3 Modeling Process Quality
3 Modeling Process Quality 3.1 Introduction Section 3.1 contains basic numerical and graphical methods. familiar with these methods. It is assumed the student is Goal: Review several discrete and continuous
More informationContinuous Probability Distributions. Uniform Distribution
Continuous Probability Distributions Uniform Distribution Important Terms & Concepts Learned Probability Mass Function (PMF) Cumulative Distribution Function (CDF) Complementary Cumulative Distribution
More informationSmoking Habits. Moderate Smokers Heavy Smokers Total. Hypertension No Hypertension Total
Math 3070. Treibergs Final Exam Name: December 7, 00. In an experiment to see how hypertension is related to smoking habits, the following data was taken on individuals. Test the hypothesis that the proportions
More informationPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTION DEFINITION: If S is a sample space with a probability measure and x is a real valued function defined over the elements of S, then x is called a random variable. Types of Random
More informationThe entire data set consists of n = 32 widgets, 8 of which were made from each of q = 4 different materials.
One-Way ANOVA Summary The One-Way ANOVA procedure is designed to construct a statistical model describing the impact of a single categorical factor X on a dependent variable Y. Tests are run to determine
More informationStatistical Methods in Particle Physics
Statistical Methods in Particle Physics Lecture 3 October 29, 2012 Silvia Masciocchi, GSI Darmstadt s.masciocchi@gsi.de Winter Semester 2012 / 13 Outline Reminder: Probability density function Cumulative
More informationWeek 2. Review of Probability, Random Variables and Univariate Distributions
Week 2 Review of Probability, Random Variables and Univariate Distributions Probability Probability Probability Motivation What use is Probability Theory? Probability models Basis for statistical inference
More informationThe University of Hong Kong Department of Statistics and Actuarial Science STAT2802 Statistical Models Tutorial Solutions Solutions to Problems 71-80
The University of Hong Kong Department of Statistics and Actuarial Science STAT2802 Statistical Models Tutorial Solutions Solutions to Problems 71-80 71. Decide in each case whether the hypothesis is simple
More informationProbability Distributions for Continuous Variables. Probability Distributions for Continuous Variables
Probability Distributions for Continuous Variables Probability Distributions for Continuous Variables Let X = lake depth at a randomly chosen point on lake surface If we draw the histogram so that the
More informationSTAT 4385 Topic 01: Introduction & Review
STAT 4385 Topic 01: Introduction & Review Xiaogang Su, Ph.D. Department of Mathematical Science University of Texas at El Paso xsu@utep.edu Spring, 2016 Outline Welcome What is Regression Analysis? Basics
More informationIntroduction to Statistical Data Analysis Lecture 3: Probability Distributions
Introduction to Statistical Data Analysis Lecture 3: Probability Distributions James V. Lambers Department of Mathematics The University of Southern Mississippi James V. Lambers Statistical Data Analysis
More information2008 Winton. Statistical Testing of RNGs
1 Statistical Testing of RNGs Criteria for Randomness For a sequence of numbers to be considered a sequence of randomly acquired numbers, it must have two basic statistical properties: Uniformly distributed
More informationThis does not cover everything on the final. Look at the posted practice problems for other topics.
Class 7: Review Problems for Final Exam 8.5 Spring 7 This does not cover everything on the final. Look at the posted practice problems for other topics. To save time in class: set up, but do not carry
More informationSTT 843 Key to Homework 1 Spring 2018
STT 843 Key to Homework Spring 208 Due date: Feb 4, 208 42 (a Because σ = 2, σ 22 = and ρ 2 = 05, we have σ 2 = ρ 2 σ σ22 = 2/2 Then, the mean and covariance of the bivariate normal is µ = ( 0 2 and Σ
More informationAlgorithms for Uncertainty Quantification
Algorithms for Uncertainty Quantification Tobias Neckel, Ionuț-Gabriel Farcaș Lehrstuhl Informatik V Summer Semester 2017 Lecture 2: Repetition of probability theory and statistics Example: coin flip Example
More informationReview of Probabilities and Basic Statistics
Alex Smola Barnabas Poczos TA: Ina Fiterau 4 th year PhD student MLD Review of Probabilities and Basic Statistics 10-701 Recitations 1/25/2013 Recitation 1: Statistics Intro 1 Overview Introduction to
More informationSystem Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models
System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models Fatih Cavdur fatihcavdur@uludag.edu.tr March 29, 2014 Introduction Introduction The world of the model-builder
More information" M A #M B. Standard deviation of the population (Greek lowercase letter sigma) σ 2
Notation and Equations for Final Exam Symbol Definition X The variable we measure in a scientific study n The size of the sample N The size of the population M The mean of the sample µ The mean of the
More informationSAZ3C NUMERICAL AND STATISTICAL METHODS Unit : I -V
SAZ3C NUMERICAL AND STATISTICAL METHODS Unit : I -V UNIT-I Introduction Mathematical Preliminaries Errors: Computations, Formula Errors in a Series Approximation Roots of Equations Linear Equations Bisection
More informationStatistics for Economists. Lectures 3 & 4
Statistics for Economists Lectures 3 & 4 Asrat Temesgen Stockholm University 1 CHAPTER 2- Discrete Distributions 2.1. Random variables of the Discrete Type Definition 2.1.1: Given a random experiment with
More informationDr. Junchao Xia Center of Biophysics and Computational Biology. Fall /13/2016 1/33
BIO5312 Biostatistics Lecture 03: Discrete and Continuous Probability Distributions Dr. Junchao Xia Center of Biophysics and Computational Biology Fall 2016 9/13/2016 1/33 Introduction In this lecture,
More informationInterpret Standard Deviation. Outlier Rule. Describe the Distribution OR Compare the Distributions. Linear Transformations SOCS. Interpret a z score
Interpret Standard Deviation Outlier Rule Linear Transformations Describe the Distribution OR Compare the Distributions SOCS Using Normalcdf and Invnorm (Calculator Tips) Interpret a z score What is an
More information375 PU M Sc Statistics
375 PU M Sc Statistics 1 of 100 193 PU_2016_375_E For the following 2x2 contingency table for two attributes the value of chi-square is:- 20/36 10/38 100/21 10/18 2 of 100 120 PU_2016_375_E If the values
More informationMeasures of center. The mean The mean of a distribution is the arithmetic average of the observations:
Measures of center The mean The mean of a distribution is the arithmetic average of the observations: x = x 1 + + x n n n = 1 x i n i=1 The median The median is the midpoint of a distribution: the number
More informationThe Union and Intersection for Different Configurations of Two Events Mutually Exclusive vs Independency of Events
Section 1: Introductory Probability Basic Probability Facts Probabilities of Simple Events Overview of Set Language Venn Diagrams Probabilities of Compound Events Choices of Events The Addition Rule Combinations
More informationCollaborative Statistics: Symbols and their Meanings
OpenStax-CNX module: m16302 1 Collaborative Statistics: Symbols and their Meanings Susan Dean Barbara Illowsky, Ph.D. This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution
More informationRandom variables, Expectation, Mean and Variance. Slides are adapted from STAT414 course at PennState
Random variables, Expectation, Mean and Variance Slides are adapted from STAT414 course at PennState https://onlinecourses.science.psu.edu/stat414/ Random variable Definition. Given a random experiment
More informationb. ( ) ( ) ( ) ( ) ( ) 5. Independence: Two events (A & B) are independent if one of the conditions listed below is satisfied; ( ) ( ) ( )
1. Set a. b. 2. Definitions a. Random Experiment: An experiment that can result in different outcomes, even though it is performed under the same conditions and in the same manner. b. Sample Space: This
More informationEEC 686/785 Modeling & Performance Evaluation of Computer Systems. Lecture 19
EEC 686/785 Modeling & Performance Evaluation of Computer Systems Lecture 19 Department of Electrical and Computer Engineering Cleveland State University wenbing@ieee.org (based on Dr. Raj Jain s lecture
More informationDescriptive Statistics and Distribution Functions in Eviews
Descriptive Statistics and Distribution Functions in Eviews Descriptive Statistics These functions compute descriptive statistics for a specified sample, excluding missing values if necessary. The default
More informationSociology 6Z03 Review II
Sociology 6Z03 Review II John Fox McMaster University Fall 2016 John Fox (McMaster University) Sociology 6Z03 Review II Fall 2016 1 / 35 Outline: Review II Probability Part I Sampling Distributions Probability
More informationContinuous Distributions
Continuous Distributions 1.8-1.9: Continuous Random Variables 1.10.1: Uniform Distribution (Continuous) 1.10.4-5 Exponential and Gamma Distributions: Distance between crossovers Prof. Tesler Math 283 Fall
More informationSubject CS1 Actuarial Statistics 1 Core Principles
Institute of Actuaries of India Subject CS1 Actuarial Statistics 1 Core Principles For 2019 Examinations Aim The aim of the Actuarial Statistics 1 subject is to provide a grounding in mathematical and
More informationEEC 686/785 Modeling & Performance Evaluation of Computer Systems. Lecture 18
EEC 686/785 Modeling & Performance Evaluation of Computer Systems Lecture 18 Department of Electrical and Computer Engineering Cleveland State University wenbing@ieee.org (based on Dr. Raj Jain s lecture
More informationESP 178 Applied Research Methods. 2/23: Quantitative Analysis
ESP 178 Applied Research Methods 2/23: Quantitative Analysis Data Preparation Data coding create codebook that defines each variable, its response scale, how it was coded Data entry for mail surveys and
More informationContents 1. Contents
Contents 1 Contents 1 One-Sample Methods 3 1.1 Parametric Methods.................... 4 1.1.1 One-sample Z-test (see Chapter 0.3.1)...... 4 1.1.2 One-sample t-test................. 6 1.1.3 Large sample
More informationECON 5350 Class Notes Review of Probability and Distribution Theory
ECON 535 Class Notes Review of Probability and Distribution Theory 1 Random Variables Definition. Let c represent an element of the sample space C of a random eperiment, c C. A random variable is a one-to-one
More informationMA/ST 810 Mathematical-Statistical Modeling and Analysis of Complex Systems
MA/ST 810 Mathematical-Statistical Modeling and Analysis of Complex Systems Review of Basic Probability The fundamentals, random variables, probability distributions Probability mass/density functions
More information1.0 Continuous Distributions. 5.0 Shapes of Distributions. 6.0 The Normal Curve. 7.0 Discrete Distributions. 8.0 Tolerances. 11.
Chapter 4 Statistics 45 CHAPTER 4 BASIC QUALITY CONCEPTS 1.0 Continuous Distributions.0 Measures of Central Tendency 3.0 Measures of Spread or Dispersion 4.0 Histograms and Frequency Distributions 5.0
More information