The binom Package. February 13, 2007

Size: px
Start display at page:

Download "The binom Package. February 13, 2007"

Transcription

1 The biom Package February 13, 2007 Title Biomial Cofidece Itervals For Several Parameterizatios Versio Author Sudar Dorai-Raj Costructs cofidece itervals o the probability of success i a biomial experimet via several parameterizatios Maitaier Sudar Dorai-Raj <sudar.dorai-raj@pdf.com> Depeds lattice, polyom Licese GPL R topics documeted: biom-iteral biom.bayes biom.cloglog biom.cofit biom.coverage biom.legth biom.logit biom.lrt biom.optim biom.plot biom.power biom.probit biom.profile biom.sim cloglog.sample.size tkbiom.power Idex 20 1

2 2 biom.bayes biom-iteral Iteral biom fuctios Iteral fuctios for biom package. var.asymp(p, = 1) var.cloglog(p, = 1) var.logit(p, = 1) var.probit(p, = 1) ldbiom(x, size, prob, log = TRUE) Iteral fuctios for biom package. biom.bayes Biomial cofidece itervals usig Bayesia iferece Uses a beta prior o the probability of success for a biomial distributio, determies a two-sided cofidece iterval from a beta posterior. biom.bayes(x,, cof.level = 0.95, type = c("highest", "cetral"), prior.shape1 = 0.5, prior.shape2 = 0.5, tol =.Machie$double.eps^0.5, maxit = 1000,...) x cof.level type Vector of umber of successes i the biomial experimet. Vector of umber of idepedet trials i the biomial experimet. The level of cofidece to be used i the cofidece iterval. The type of cofidece iterval (see ). prior.shape1 The value of the first shape parameter to be used i the prior beta.

3 biom.bayes 3 prior.shape2 The value of the secod shape parameter to be used i the prior beta. tol maxit... Igored. A tolerace to be used i determiig the highest probability desity iterval. Maximum umber of iteratios to be used i determiig the highest probability iterval. Usig the cojugate beta prior o the distributio of p (the probability of success) i a biomial experimet, costructs a cofidece iterval from the beta posterior. From Bayes theorem the posterior distributio of p give the data x is: p x ~ Beta(x + prior.shape1, - x + prior.shape2) The default prior is Jeffrey s prior which is a Beta(0.5, 0.5) distributio. Thus the posterior mea is (x + 0.5)/( + 1). The default type of iterval costructed is "highest" which computes the highest probability desity (hpd) iterval which assures the shortest iterval possible. The hpd itervals will achieve a probability that is withi tol of the specified cof.level. Settig type to "cetral" costructs itervals that have equal tail probabilities. If 0 or successes are observed, a oe-sided cofidece iterval is retured. A data.frame cotaiig the observed proportios ad the lower ad upper bouds of the cofidece iterval. Refereces Gelma, A., Carli, J. B., Ster, H. S., ad Rubi, D. B. (1997) Bayesia Data Aalysis, Lodo, U.K.: Chapma ad Hall. biom.cofit, biom.cloglog, biom.logit, biom.probit biom.bayes(x = 0:10, = 10, tol = 1e-9)

4 4 biom.cloglog biom.cloglog Biomial cofidece itervals usig the cloglog parameterizatio Uses the complemetary log (cloglog) parameterizatio o the observed proportio to costruct cofidece itervals. biom.cloglog(x,, cof.level = 0.95,...) x Vector of umber of successes i the biomial experimet. Vector of umber of idepedet trials i the biomial experimet. cof.level The level of cofidece to be used i the cofidece iterval.... igored For derivatios see doc/biom.pdf. A data.frame cotaiig the observed proportios ad the lower ad upper bouds of the cofidece iterval. biom.cofit, biom.bayes, biom.logit, biom.probit, biom.coverage biom.cloglog(x = 0:10, = 10)

5 biom.cofit 5 biom.cofit Biomial cofidece itervals Uses eight differet methods to obtai a cofidece iterval o the biomial probability. biom.cofit(x,, cof.level = 0.95, methods = "all",...) x cof.level methods Vector of umber of successes i the biomial experimet. Vector of umber of idepedet trials i the biomial experimet. The level of cofidece to be used i the cofidece iterval. Which method to use to costruct the iterval. Ay combiatio of c("exact", "ac", "asymptotic", "wilso", "prop.test", "bayes", "logit", "cloglog", "probit") is allowed. Default is "all".... Additioal argumets to be passed to biom.bayes. Nie methods are allowed for costructig the cofidece iterval(s): exact - Pearso-Klopper method. asymptotic - the text-book defiitio for cofidece limits o a sigle proportio usig the Cetral Limit Theorem. agresti-coull - Agresti-Coull method. wilso - Wilso method. prop.test - equivalet to prop.test(x = x, =, cof.level = cof.level)$cof.it. bayes - see biom.bayes. logit - see biom.logit. cloglog - see biom.cloglog. probit - see biom.probit. profile - see biom.profile. By default all eight are estimated for each value of x ad/or. For the "logit", "cloglog", "probit", ad "profile" methods, the cases where x == 0 or x == are treated separately. Specifically, the lower boud is replaced by (alpha/2)^ ad the upper boud is replaced by (1-alpha/2)^. A data.frame cotaiig the observed proportios ad the lower ad upper bouds of the cofidece iterval for all the methods i "methods".

6 6 biom.coverage Refereces A. Agresti ad B.A. Coull (1998), Approximate is better tha "exact" for iterval estimatio of biomial proportios, America Statisticia, 52: R.G. Newcombe, Logit cofidece itervals ad the iverse sih trasformatio (2001), America Statisticia, 55: L.D. Brow, T.T. Cai ad A. DasGupta (2001), Iterval estimatio for a biomial proportio (with discussio), Statistical Sciece, 16: Gelma, A., Carli, J. B., Ster, H. S., ad Rubi, D. B. (1997) Bayesia Data Aalysis, Lodo, U.K.: Chapma ad Hall. biom.bayes, biom.logit, biom.probit, biom.cloglog, biom.coverage, prop.test biom.cofit(x = c(2, 4), = 100, tol = 1e-8) biom.coverage Probability coverage for biomial cofidece itervals Determies the probability coverage for a biomial cofidece iterval. biom.coverage(p,, cof.level = 0.95, method = "all",...) p cof.level method The (true) probability of success i a biomial experimet. Vector of umber of idepedet trials i the biomial experimet. The level of cofidece to be used i the cofidece iterval. Either a character strig to be passed to biom.cofit or a fuctio that computes the upper ad lower cofidece boud for a biomial proportio. If a fuctio is supplied, the first three argumets must be the same as biom.cofit ad the retur value of the fuctio must be a data.frame with colum headers "method", "lower", ad "upper". See biom.cofit for available methods. Default is "all".... Additioal parameters to be passed to biom.cofit. Oly used whe method is either "bayes" or "profile"

7 biom.legth 7 Derivatios are based o the results give i the refereces. Methods whose coverage probabilities are cosistetly closer to 0.95 are more desireable. Thus, Wilso s, logit, ad cloglog appear to be good for this sample size, while Jeffreys, asymptotic, ad prop.test are poor. Jeffreys is a variatio of Bayes usig prior shape parameters of 0.5 ad havig equal probabilities i the tail. The Jeffreys equal-tailed iterval was created usig biom.bayes usig (0.5,0.5) as the prior shape parameters ad type = "cetral". A data.frame cotaiig the "method" used, "", "p", ad the coverage probability, C(p,). Refereces L.D. Brow, T.T. Cai ad A. DasGupta (2001), Iterval estimatio for a biomial proportio (with discussio), Statistical Sciece, 16: L.D. Brow, T.T. Cai ad A. DasGupta (2002), Cofidece Itervals for a Biomial Proportio ad Asymptotic Expasios, Aals of Statistics, 30: biom.cofit, biom.legth biom.coverage(p = 0.5, = 50) biom.legth Expected legth for biomial cofidece itervals Determies the expected legth for a biomial cofidece iterval. biom.legth(p,, cof.level = 0.95, method = "all",...)

8 8 biom.legth p cof.level method The (true) probability of success i a biomial experimet. Vector of umber of idepedet trials i the biomial experimet. The level of cofidece to be used i the cofidece iterval. Either a character strig to be passed to biom.cofit or a fuctio that computes the upper ad lower cofidece boud for a biomial proportio. If a fuctio is supplied, the first three argumets must be the same as biom.cofit ad the retur value of the fuctio must be a data.frame with colum headers "method", "lower" ad "upper". See biom.cofit for available methods. Default is "all".... Additioal parameters to be passed to biom.cofit. Oly used whe method is either "bayes" or "profile" Derivatios are based o the results give i the refereces. Methods whose legth probabilities are cosistetly closer to 0.95 are more desireable. Thus, Wilso s, logit, ad cloglog appear to be good for this sample size, while Jeffreys, asymptotic, ad prop.test are poor. Jeffreys is a variatio of Bayes usig prior shape parameters of 0.5 ad havig equal probabilities i the tail. The Jeffreys equal-tailed iterval was created usig biom.bayes usig (0.5,0.5) as the prior shape parameters ad type = "cetral". A data.frame cotaiig the "method" used, "", "p", ad the average legth, L(p,). Refereces L.D. Brow, T.T. Cai ad A. DasGupta (2001), Iterval estimatio for a biomial proportio (with discussio), Statistical Sciece, 16: L.D. Brow, T.T. Cai ad A. DasGupta (2002), Cofidece Itervals for a Biomial Proportio ad Asymptotic Expasios, Aals of Statistics, 30: biom.cofit, biom.coverage biom.legth(p = 0.5, = 50)

9 biom.logit 9 biom.logit Biomial cofidece itervals usig the logit parameterizatio Uses the logistic (logit) parameterizatio o the observed proportio to costruct cofidece itervals. biom.logit(x,, cof.level = 0.95,...) x Vector of umber of successes i the biomial experimet. Vector of umber of idepedet trials i the biomial experimet. cof.level The level of cofidece to be used i the cofidece iterval.... igored For derivatios see doc/biom.pdf. A data.frame cotaiig the observed proportios ad the lower ad upper bouds of the cofidece iterval. biom.cofit, biom.bayes, biom.logit, biom.probit, biom.coverage biom.logit(x = 0:10, = 10)

10 10 biom.lrt biom.lrt Biomial cofidece itervals usig the lrt likelihood Uses the lrt likelihood o the observed proportio to costruct cofidece itervals. biom.lrt(x,, cof.level = 0.95, bayes = FALSE, cof.adj = FALSE, plot = FALSE,...) x cof.level bayes cof.adj plot... igored Vector of umber of successes i the biomial experimet. Vector of umber of idepedet trials i the biomial experimet. The level of cofidece to be used i the cofidece iterval. logical; if TRUE use a Bayesia correctio at the edges. Specfically, a beta prior with shape parameters 0.5 is used. If bayes is umeric, it is assumed to be the parameters to beta distributio. logical; if TRUE 0 or 100% successes retur a oe-sided cofidece iterval logical; if TRUE a plot showig the the square root of the biomial deviace with referece lies for mea, lower, ad upper bouds. This argumet ca also be a list of plottig parameters to be passed to xyplot. Cofidece itervals are based o profilig the biomial deviace i the eighbourhood of the MLE. If x == 0 or x == ad bayes is TRUE, the a Bayesia adjustmet is made to move the loglikelihood fuctio away from If. Specifically, these values are replaced by (x + 0.5)/( + 1), which is the posterier mode of f(p x) usig Jeffrey s prior o p. Furthermore, if cof.adj is TRUE, the the upper (or lower) boud uses a 1 - alpha cofidece level. Typically, the observed mea will ot be iside the estimated cofidece iterval. If bayes is FALSE, the the Clopper-Pearso exact method is used o the edpoits. This teds to make cofidece itervals at the ed too coservative, though the observed mea is guarateed to be withi the estimated cofidece limits. A data.frame cotaiig the observed proportios ad the lower ad upper bouds of the cofidece iterval.

11 biom.optim 11 biom.cofit, biom.bayes, biom.cloglog, biom.logit, biom.probit, biom.coverage, cofit i package MASS, family, glm biom.lrt(x = 0:10, = 10) biom.optim Optimal biomial cofidece itervals Uses optimizatio to miimize the itegrated mea squared error betwee the calculated coverage ad the desired cofidece level for a give biomial cofidece iterval. biom.optim(, cof.level = 0.95, method = biom.lrt, k = %/%2 + 1, p0 = 0, trasform = TRUE, plot = FALSE, tol =.Machie$double.eps^0.5, start = NULL,...) cof.level method k p0 trasform plot tol start The umber of idepedet trials i the biomial experimet. The level of cofidece to be used i the cofidece iterval. The method used to estimate the cofidece iterval. See. The miimum probability of success to allow i the optimizatio. See. logical; If TRUE the optimizer will do a ucostraied optimizatio o the sigficace probability i the logit space. logical; If TRUE the results are set to biom.plot. The miimum sigificace level to allow i the optimizatio. See. A startig value o the optimal cofidece level.... Additioal argumets to pass to optim.

12 12 biom.optim This fuctio miimizes the squared error betwee the expected coverage probability ad the desired cofidece level. α opt = arg mi α 1 0 [C(p, ) (1 α) 2 dp The optimizer will adjust cofidece itervals for all x = 0 to depedig o the value of k provided. If k is oe, oly the cofidece levels for x = 0 ad are adjusted. If k = [/2] the all cofidece itervals are adjusted. This assumes the cofidece itervals are the same legth for x = x[k] ad x[ - k + 1], which is the case for all methods provided i this package except biom.cloglog. A list with the followig elemets: par Fial cofidece levels. The legth of this vector is k. value couts covergece message cofit The fial miimized value from optim. The umber of fuctio ad gradiet calls from optim. Covergece code from optim. Ay message retured by the L-BFGS-B or BFGS optimizer. A data.frame retured from a call to method usig the optimized cofidece levels. ormal-bracket77bracket-ormal biom.cofit, biom.plot, biom.coverage, optim biom.optim(10, k = 1) ## determie optimal sigificace for x = 0, 10 oly biom.optim(3, method = biom.wilso) ## determie optimal sigificace for all x

13 biom.plot 13 biom.plot Coverage plots for biomial cofidece itervals Costructs coverage plots for biomial cofidece itervals. biom.plot(, method = biom.lrt, p = 500, cof.level = 0.95, actual = cof.level, type = c("xyplot", "levelplot"), tol =.Machie$double.eps^0.5,...) cof.level p method actual type tol The umber of idepedet trials i the biomial experimet. The level of cofidece to be used i the cofidece iterval. Number of poits to use i the plot. The method used to estimate the cofidece iterval. The actual cofidece iterval used i the cofidece iterval. See. See. The miimum probability of success to use i the plot.... Additioal argumets to pass to pael.xyplot or pael.levelplot. If type is "xyplot", a lie plot is created with coverage o the y-axis ad biomial probability o the x-axis. A separate pael for every is provided. If actual is provided the a horizotal referece lie is added to the plot. This is oly useful whe actual is differet from cof.level, as is the case whe callig biom.optim. If type is "levelplot", a image plot is created with x = 0 to o the vertical axis ad biomial probability o the horizotal axis. Each row i the plot will be the cofidece level for a give x. The color of the cofidece iterval is determied by the coverage probability. The argumet must oly be of legth oe. If ot, oly the first will be used ad a warig is issued. I either plot type, the umber of poits at which the coverage probability is determied is specified by p. Icreasig p gives a fier graularity but performace will suffer. A object of class trellis.

14 14 biom.power biom.cofit, biom.optim, xyplot, levelplot biom.plot(5, type = "levelplot") biom.plot(c(3, 5, 10, 25), type = "xyplot") biom.power Power curves for biomial parameterizatios Uses Wald statistics to compute power curves for several parameterizatios. biom.power(p.alt, = 100, p = 0.5, alpha = 0.05, phi = 1, alterative = c("two.sided", "greater", "less"), method = c("cloglog", "logit", "probit", "asymp", "lrt", "exact")) p.alt p alpha phi alterative method Probability of success uder the alterative hypothesis. Vector of umber of idepedet trials i the biomial experimet. Probability of success uder the ull hypothesis. Type-I error rate. Overdispersio parameter. Type of alterative hypothesis. The method used to compute power. For derivatios see doc/biom.pdf. The estimated probability of detectig the differece betwee p.alt ad p. biom.cofit, biom.bayes, biom.logit, biom.probit, biom.coverage

15 biom.probit 15 biom.power(0.95, alterative = "greater") biom.probit Biomial cofidece itervals usig the probit parameterizatio Uses the probit parameterizatio o the observed proportio to costruct cofidece itervals. biom.probit(x,, cof.level = 0.95,...) x Vector of umber of successes i the biomial experimet. Vector of umber of idepedet trials i the biomial experimet. cof.level The level of cofidece to be used i the cofidece iterval.... igored For derivatios see doc/biom.pdf. A data.frame cotaiig the observed proportios ad the lower ad upper bouds of the cofidece iterval. biom.cofit, biom.bayes, biom.probit, biom.logit, biom.coverage biom.probit(x = 0:10, = 10)

16 16 biom.profile biom.profile Biomial cofidece itervals usig the profile likelihood Uses the profile likelihood o the observed proportio to costruct cofidece itervals. biom.profile(x,, cof.level = 0.95, maxsteps = 50, del = zmax/5, bayes = TRUE, plot = FALSE,...) x Vector of umber of successes i the biomial experimet. Vector of umber of idepedet trials i the biomial experimet. cof.level The level of cofidece to be used i the cofidece iterval. maxsteps The maximum umber of steps to take i the profiles. del The size of the step to take bayes logical; if TRUE use a Bayesia correctio at the edges. plot logical; if TRUE plot the profile with a splie fit.... igored Cofidece itervals are based o profilig the biomial deviace i the eighbourhood of the MLE. If x == 0 or x == ad bayes is TRUE, the a Bayesia adjustmet is made to move the loglikelihood fuctio away from If. Specifically, these values are replaced by (x + 0.5)/( + 1), which is the posterier mode of f(p x) usig Jeffrey s prior o p. Typically, the observed mea will ot be iside the estimated cofidece iterval. If bayes is FALSE, the the Clopper- Pearso exact method is used o the edpoits. This teds to make cofidece itervals at the ed too coservative, though the observed mea is guarateed to be withi the estimated cofidece limits. A data.frame cotaiig the observed proportios ad the lower ad upper bouds of the cofidece iterval.

17 biom.sim 17 biom.cofit, biom.bayes, biom.cloglog, biom.logit, biom.probit, biom.coverage, cofit i package MASS, family, glm biom.profile(x = 0:10, = 10) biom.sim Simulates cofidece itervals for biomial data Simulates biomial data for testig cofidece iterval coverage. biom.sim(m = 200, = 100, p = 0.5, cof.level = 0.95, methods = "all",...) M p cof.level methods Number of simulatios to create. Vector of umber of idepedet trials i the biomial experimet. Probability of success uder the ull hypothesis. The level used i computig the cofidece iterval. The method used to compute power.... Additioal argumets to pass to biom.cofit M biomial observatios are created usig rbiom(m,, p). The average umber of times a cofidece iterval covers p is retured. The estimated coverage based o which method is requested. biom.cofit, biom.bayes, biom.logit, biom.probit, biom.coverage

18 18 cloglog.sample.size cloglog.sample.size Power ad sample size Power ad sample size for a biomial proportio usig the cloglog parameterizatio. cloglog.sample.size(p.alt, = NULL, p = 0.5, power = 0.8, alpha = 0.05, alterative = c("two.sided", "greater", "less"), exact. = FALS recompute.power = FALSE, phi = 1) p.alt The alterative proportio i a oe-sample test. The sample size i a oe-sample test. p The ull proportio i a oe-sample test. Default is 0.5. power The desired power level. Default is alpha The desired alpha level - probability of a Type I error. Default is alterative Nature of alterative hypothesis. Oe of "two.sided", "greater", "less". exact. logical; If TRUE, the computed sample size will ot be rouded up. Default is FALSE. recompute.power logical; If TRUE, after the sample size is computed, the power will be recomputed. This is oly advatageous whe the sample size is rouded up. Default is FALSE. phi Dispersio parameter by which to iflate (phi > 1) or deflate (phi < 1) variace. Default is 1. This fuctio ca be used to calculate sample size, power or miimum detectable differece. It determies what to compute base o the argumets provided. If p.alt is give, but is ot, the sample size is computed. If p.alt is give alog with, the the power is computed. If oly is provided, the miimum detectable differece is computed usig the default power of A data.frame cotaiig the power, sample size ad all of the iput which was used to perform the computatios.

19 tkbiom.power 19 biom.cofit cloglog.sample.size(p.alt = 0.8) cloglog.sample.size( = 20) cloglog.sample.size( = 20, power = 0.9) tkbiom.power Power curves for biomial parameterizatios A Tcl/Tk graphics wrapper for biom.power. tkbiom.power() A wrapper for biom.power that creates power curves based o user iput. Noe. biom.power, biom.cofit, biom.bayes, biom.logit, biom.probit, biom.coverage biom.power(0.95, alterative = "greater")

20 Idex Topic hplot biom.plot, 12 Topic htest biom.bayes, 2 biom.cloglog, 3 biom.cofit, 4 biom.coverage, 5 biom.legth, 7 biom.logit, 8 biom.lrt, 9 biom.optim, 10 biom.plot, 12 biom.power, 13 biom.probit, 14 biom.profile, 15 biom.sim, 16 cloglog.sample.size, 17 tkbiom.power, 18 Topic iteral biom-iteral, 1 Topic models biom.bayes, 2 biom.cloglog, 3 biom.cofit, 4 biom.coverage, 5 biom.legth, 7 biom.logit, 8 biom.lrt, 9 biom.optim, 10 biom.plot, 12 biom.power, 13 biom.probit, 14 biom.profile, 15 biom.sim, 16 cloglog.sample.size, 17 tkbiom.power, 18 Topic optimize biom.optim, 10 Topic uivar biom.bayes, 2 biom.cloglog, 3 biom.cofit, 4 biom.coverage, 5 biom.legth, 7 biom.logit, 8 biom.lrt, 9 biom.optim, 10 biom.plot, 12 biom.power, 13 biom.probit, 14 biom.profile, 15 biom.sim, 16 cloglog.sample.size, 17 tkbiom.power, 18 biom-iteral, 1 biom.agresti.coull (biom.cofit), 4 biom.asymp (biom.cofit), 4 biom.bayes, 2, 4, 5, 8, 10, 13, 14, 16, 18 biom.cloglog, 3, 3, 5, 10, 11, 16 biom.cofit, 3, 4, 4, 6 8, 10, 11, 13, 14, 16, 18 biom.coverage, 4, 5, 5, 8, 10, 11, 13, 14, 16, 18 biom.exact (biom.cofit), 4 biom.legth, 6, 7 biom.logit, 3 5, 8, 8, 10, 13, 14, 16, 18 biom.lrt, 9 biom.optim, 10, 12, 13 biom.plot, 10, 11, 12 biom.power, 13, 18 biom.probit, 3 5, 8, 10, 13, 14, 14, 16, 18 biom.profile, 5, 15 biom.prop.test (biom.cofit), 4 biom.sim, 16 biom.wilso (biom.cofit), 4 20

21 INDEX 21 cloglog.sample.size, 17 cofit, 10, 16 family, 10, 16 glm, 10, 16 ldbiom (biom-iteral), 1 levelplot, 13 list, 9 optim, 10, 11 pael.levelplot, 12 pael.xyplot, 12 prop.test, 5 tkbiom.power, 18 var.asymp (biom-iteral), 1 var.cloglog (biom-iteral), 1 var.logit (biom-iteral), 1 var.probit (biom-iteral), 1 xyplot, 9, 13

Sample Size Determination (Two or More Samples)

Sample Size Determination (Two or More Samples) Sample Sie Determiatio (Two or More Samples) STATGRAPHICS Rev. 963 Summary... Data Iput... Aalysis Summary... 5 Power Curve... 5 Calculatios... 6 Summary This procedure determies a suitable sample sie

More information

Some Properties of the Exact and Score Methods for Binomial Proportion and Sample Size Calculation

Some Properties of the Exact and Score Methods for Binomial Proportion and Sample Size Calculation Some Properties of the Exact ad Score Methods for Biomial Proportio ad Sample Size Calculatio K. KRISHNAMOORTHY AND JIE PENG Departmet of Mathematics, Uiversity of Louisiaa at Lafayette Lafayette, LA 70504-1010,

More information

Direction: This test is worth 150 points. You are required to complete this test within 55 minutes.

Direction: This test is worth 150 points. You are required to complete this test within 55 minutes. Term Test 3 (Part A) November 1, 004 Name Math 6 Studet Number Directio: This test is worth 10 poits. You are required to complete this test withi miutes. I order to receive full credit, aswer each problem

More information

Class 23. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Class 23. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700 Class 23 Daiel B. Rowe, Ph.D. Departmet of Mathematics, Statistics, ad Computer Sciece Copyright 2017 by D.B. Rowe 1 Ageda: Recap Chapter 9.1 Lecture Chapter 9.2 Review Exam 6 Problem Solvig Sessio. 2

More information

Summary. Recap ... Last Lecture. Summary. Theorem

Summary. Recap ... Last Lecture. Summary. Theorem Last Lecture Biostatistics 602 - Statistical Iferece Lecture 23 Hyu Mi Kag April 11th, 2013 What is p-value? What is the advatage of p-value compared to hypothesis testig procedure with size α? How ca

More information

Lecture 2: Monte Carlo Simulation

Lecture 2: Monte Carlo Simulation STAT/Q SCI 43: Itroductio to Resamplig ethods Sprig 27 Istructor: Ye-Chi Che Lecture 2: ote Carlo Simulatio 2 ote Carlo Itegratio Assume we wat to evaluate the followig itegratio: e x3 dx What ca we do?

More information

MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND.

MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND. XI-1 (1074) MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND. R. E. D. WOOLSEY AND H. S. SWANSON XI-2 (1075) STATISTICAL DECISION MAKING Advaced

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2018 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

Sample Size Estimation in the Proportional Hazards Model for K-sample or Regression Settings Scott S. Emerson, M.D., Ph.D.

Sample Size Estimation in the Proportional Hazards Model for K-sample or Regression Settings Scott S. Emerson, M.D., Ph.D. ample ie Estimatio i the Proportioal Haards Model for K-sample or Regressio ettigs cott. Emerso, M.D., Ph.D. ample ie Formula for a Normally Distributed tatistic uppose a statistic is kow to be ormally

More information

Stat 319 Theory of Statistics (2) Exercises

Stat 319 Theory of Statistics (2) Exercises Kig Saud Uiversity College of Sciece Statistics ad Operatios Research Departmet Stat 39 Theory of Statistics () Exercises Refereces:. Itroductio to Mathematical Statistics, Sixth Editio, by R. Hogg, J.

More information

Inferential Statistics. Inference Process. Inferential Statistics and Probability a Holistic Approach. Inference Process.

Inferential Statistics. Inference Process. Inferential Statistics and Probability a Holistic Approach. Inference Process. Iferetial Statistics ad Probability a Holistic Approach Iferece Process Chapter 8 Poit Estimatio ad Cofidece Itervals This Course Material by Maurice Geraghty is licesed uder a Creative Commos Attributio-ShareAlike

More information

One-Sample Test for Proportion

One-Sample Test for Proportion Oe-Sample Test for Proportio Approximated Oe-Sample Z Test for Proportio CF Jeff Li, MD., PhD. November 1, 2005 c Jeff Li, MD., PhD. c Jeff Li, MD., PhD. Oe Sample Test for Proportio, 1 I DM-TKR Data,

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2016 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

EFFECTIVE WLLN, SLLN, AND CLT IN STATISTICAL MODELS

EFFECTIVE WLLN, SLLN, AND CLT IN STATISTICAL MODELS EFFECTIVE WLLN, SLLN, AND CLT IN STATISTICAL MODELS Ryszard Zieliński Ist Math Polish Acad Sc POBox 21, 00-956 Warszawa 10, Polad e-mail: rziel@impagovpl ABSTRACT Weak laws of large umbers (W LLN), strog

More information

Introductory statistics

Introductory statistics CM9S: Machie Learig for Bioiformatics Lecture - 03/3/06 Itroductory statistics Lecturer: Sriram Sakararama Scribe: Sriram Sakararama We will provide a overview of statistical iferece focussig o the key

More information

STAC51: Categorical data Analysis

STAC51: Categorical data Analysis STAC51: Categorical data Aalysis Mahida Samarakoo Jauary 28, 2016 Mahida Samarakoo STAC51: Categorical data Aalysis 1 / 35 Table of cotets Iferece for Proportios 1 Iferece for Proportios Mahida Samarakoo

More information

Efficient GMM LECTURE 12 GMM II

Efficient GMM LECTURE 12 GMM II DECEMBER 1 010 LECTURE 1 II Efficiet The estimator depeds o the choice of the weight matrix A. The efficiet estimator is the oe that has the smallest asymptotic variace amog all estimators defied by differet

More information

November 2002 Course 4 solutions

November 2002 Course 4 solutions November Course 4 solutios Questio # Aswer: B φ ρ = = 5. φ φ ρ = φ + =. φ Solvig simultaeously gives: φ = 8. φ = 6. Questio # Aswer: C g = [(.45)] = [5.4] = 5; h= 5.4 5 =.4. ˆ π =.6 x +.4 x =.6(36) +.4(4)

More information

Since X n /n P p, we know that X n (n. Xn (n X n ) Using the asymptotic result above to obtain an approximation for fixed n, we obtain

Since X n /n P p, we know that X n (n. Xn (n X n ) Using the asymptotic result above to obtain an approximation for fixed n, we obtain Assigmet 9 Exercise 5.5 Let X biomial, p, where p 0, 1 is ukow. Obtai cofidece itervals for p i two differet ways: a Sice X / p d N0, p1 p], the variace of the limitig distributio depeds oly o p. Use the

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2018 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

Hypothesis Testing. Evaluation of Performance of Learned h. Issues. Trade-off Between Bias and Variance

Hypothesis Testing. Evaluation of Performance of Learned h. Issues. Trade-off Between Bias and Variance Hypothesis Testig Empirically evaluatig accuracy of hypotheses: importat activity i ML. Three questios: Give observed accuracy over a sample set, how well does this estimate apply over additioal samples?

More information

Exponential Families and Bayesian Inference

Exponential Families and Bayesian Inference Computer Visio Expoetial Families ad Bayesia Iferece Lecture Expoetial Families A expoetial family of distributios is a d-parameter family f(x; havig the followig form: f(x; = h(xe g(t T (x B(, (. where

More information

6 Sample Size Calculations

6 Sample Size Calculations 6 Sample Size Calculatios Oe of the major resposibilities of a cliical trial statisticia is to aid the ivestigators i determiig the sample size required to coduct a study The most commo procedure for determiig

More information

The Sampling Distribution of the Maximum. Likelihood Estimators for the Parameters of. Beta-Binomial Distribution

The Sampling Distribution of the Maximum. Likelihood Estimators for the Parameters of. Beta-Binomial Distribution Iteratioal Mathematical Forum, Vol. 8, 2013, o. 26, 1263-1277 HIKARI Ltd, www.m-hikari.com http://d.doi.org/10.12988/imf.2013.3475 The Samplig Distributio of the Maimum Likelihood Estimators for the Parameters

More information

t distribution [34] : used to test a mean against an hypothesized value (H 0 : µ = µ 0 ) or the difference

t distribution [34] : used to test a mean against an hypothesized value (H 0 : µ = µ 0 ) or the difference EXST30 Backgroud material Page From the textbook The Statistical Sleuth Mea [0]: I your text the word mea deotes a populatio mea (µ) while the work average deotes a sample average ( ). Variace [0]: The

More information

Statistical Inference Based on Extremum Estimators

Statistical Inference Based on Extremum Estimators T. Rotheberg Fall, 2007 Statistical Iferece Based o Extremum Estimators Itroductio Suppose 0, the true value of a p-dimesioal parameter, is kow to lie i some subset S R p : Ofte we choose to estimate 0

More information

Agreement of CI and HT. Lecture 13 - Tests of Proportions. Example - Waiting Times

Agreement of CI and HT. Lecture 13 - Tests of Proportions. Example - Waiting Times Sigificace level vs. cofidece level Agreemet of CI ad HT Lecture 13 - Tests of Proportios Sta102 / BME102 Coli Rudel October 15, 2014 Cofidece itervals ad hypothesis tests (almost) always agree, as log

More information

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions Chapter 9 Slide Ifereces from Two Samples 9- Overview 9- Ifereces about Two Proportios 9- Ifereces about Two Meas: Idepedet Samples 9-4 Ifereces about Matched Pairs 9-5 Comparig Variatio i Two Samples

More information

Stat 200 -Testing Summary Page 1

Stat 200 -Testing Summary Page 1 Stat 00 -Testig Summary Page 1 Mathematicias are like Frechme; whatever you say to them, they traslate it ito their ow laguage ad forthwith it is somethig etirely differet Goethe 1 Large Sample Cofidece

More information

Logit regression Logit regression

Logit regression Logit regression Logit regressio Logit regressio models the probability of Y= as the cumulative stadard logistic distributio fuctio, evaluated at z = β 0 + β X: Pr(Y = X) = F(β 0 + β X) F is the cumulative logistic distributio

More information

y ij = µ + α i + ɛ ij,

y ij = µ + α i + ɛ ij, STAT 4 ANOVA -Cotrasts ad Multiple Comparisos /3/04 Plaed comparisos vs uplaed comparisos Cotrasts Cofidece Itervals Multiple Comparisos: HSD Remark Alterate form of Model I y ij = µ + α i + ɛ ij, a i

More information

(7 One- and Two-Sample Estimation Problem )

(7 One- and Two-Sample Estimation Problem ) 34 Stat Lecture Notes (7 Oe- ad Two-Sample Estimatio Problem ) ( Book*: Chapter 8,pg65) Probability& Statistics for Egieers & Scietists By Walpole, Myers, Myers, Ye Estimatio 1 ) ( ˆ S P i i Poit estimate:

More information

Overview of Estimation

Overview of Estimation Topic Iferece is the problem of turig data ito kowledge, where kowledge ofte is expressed i terms of etities that are ot preset i the data per se but are preset i models that oe uses to iterpret the data.

More information

Asymptotics. Hypothesis Testing UMP. Asymptotic Tests and p-values

Asymptotics. Hypothesis Testing UMP. Asymptotic Tests and p-values of the secod half Biostatistics 6 - Statistical Iferece Lecture 6 Fial Exam & Practice Problems for the Fial Hyu Mi Kag Apil 3rd, 3 Hyu Mi Kag Biostatistics 6 - Lecture 6 Apil 3rd, 3 / 3 Rao-Blackwell

More information

Stat 421-SP2012 Interval Estimation Section

Stat 421-SP2012 Interval Estimation Section Stat 41-SP01 Iterval Estimatio Sectio 11.1-11. We ow uderstad (Chapter 10) how to fid poit estimators of a ukow parameter. o However, a poit estimate does ot provide ay iformatio about the ucertaity (possible

More information

TMA4245 Statistics. Corrected 30 May and 4 June Norwegian University of Science and Technology Department of Mathematical Sciences.

TMA4245 Statistics. Corrected 30 May and 4 June Norwegian University of Science and Technology Department of Mathematical Sciences. Norwegia Uiversity of Sciece ad Techology Departmet of Mathematical Scieces Corrected 3 May ad 4 Jue Solutios TMA445 Statistics Saturday 6 May 9: 3: Problem Sow desity a The probability is.9.5 6x x dx

More information

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample.

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample. Statistical Iferece (Chapter 10) Statistical iferece = lear about a populatio based o the iformatio provided by a sample. Populatio: The set of all values of a radom variable X of iterest. Characterized

More information

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY GRADUATE DIPLOMA, 016 MODULE : Statistical Iferece Time allowed: Three hours Cadidates should aswer FIVE questios. All questios carry equal marks. The umber

More information

MATH 320: Probability and Statistics 9. Estimation and Testing of Parameters. Readings: Pruim, Chapter 4

MATH 320: Probability and Statistics 9. Estimation and Testing of Parameters. Readings: Pruim, Chapter 4 MATH 30: Probability ad Statistics 9. Estimatio ad Testig of Parameters Estimatio ad Testig of Parameters We have bee dealig situatios i which we have full kowledge of the distributio of a radom variable.

More information

1 of 7 7/16/2009 6:06 AM Virtual Laboratories > 6. Radom Samples > 1 2 3 4 5 6 7 6. Order Statistics Defiitios Suppose agai that we have a basic radom experimet, ad that X is a real-valued radom variable

More information

Confidence intervals summary Conservative and approximate confidence intervals for a binomial p Examples. MATH1005 Statistics. Lecture 24. M.

Confidence intervals summary Conservative and approximate confidence intervals for a binomial p Examples. MATH1005 Statistics. Lecture 24. M. MATH1005 Statistics Lecture 24 M. Stewart School of Mathematics ad Statistics Uiversity of Sydey Outlie Cofidece itervals summary Coservative ad approximate cofidece itervals for a biomial p The aïve iterval

More information

NANYANG TECHNOLOGICAL UNIVERSITY SYLLABUS FOR ENTRANCE EXAMINATION FOR INTERNATIONAL STUDENTS AO-LEVEL MATHEMATICS

NANYANG TECHNOLOGICAL UNIVERSITY SYLLABUS FOR ENTRANCE EXAMINATION FOR INTERNATIONAL STUDENTS AO-LEVEL MATHEMATICS NANYANG TECHNOLOGICAL UNIVERSITY SYLLABUS FOR ENTRANCE EXAMINATION FOR INTERNATIONAL STUDENTS AO-LEVEL MATHEMATICS STRUCTURE OF EXAMINATION PAPER. There will be oe 2-hour paper cosistig of 4 questios.

More information

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen)

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen) Goodess-of-Fit Tests ad Categorical Data Aalysis (Devore Chapter Fourtee) MATH-252-01: Probability ad Statistics II Sprig 2019 Cotets 1 Chi-Squared Tests with Kow Probabilities 1 1.1 Chi-Squared Testig................

More information

Last Lecture. Wald Test

Last Lecture. Wald Test Last Lecture Biostatistics 602 - Statistical Iferece Lecture 22 Hyu Mi Kag April 9th, 2013 Is the exact distributio of LRT statistic typically easy to obtai? How about its asymptotic distributio? For testig

More information

Chapter 11: Asking and Answering Questions About the Difference of Two Proportions

Chapter 11: Asking and Answering Questions About the Difference of Two Proportions Chapter 11: Askig ad Aswerig Questios About the Differece of Two Proportios These otes reflect material from our text, Statistics, Learig from Data, First Editio, by Roxy Peck, published by CENGAGE Learig,

More information

TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics

TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics Explorig Data: Distributios Look for overall patter (shape, ceter, spread) ad deviatios (outliers). Mea (use a calculator): x = x 1 + x 2 + +

More information

Package PredictionR. October 6, Index 7. Best fitting of a distribution to a data

Package PredictionR. October 6, Index 7. Best fitting of a distribution to a data Package PredictioR October 6, 2018 Title Predictio for Future Data from ay Cotiuous Distributio Versio 1.0-11 Author H. M. Barakat [aut], O. M. Khaled [aut], Hadeer A. Ghoem [aut, cre] Maitaier Hadeer

More information

There is no straightforward approach for choosing the warmup period l.

There is no straightforward approach for choosing the warmup period l. B. Maddah INDE 504 Discrete-Evet Simulatio Output Aalysis () Statistical Aalysis for Steady-State Parameters I a otermiatig simulatio, the iterest is i estimatig the log ru steady state measures of performace.

More information

DS 100: Principles and Techniques of Data Science Date: April 13, Discussion #10

DS 100: Principles and Techniques of Data Science Date: April 13, Discussion #10 DS 00: Priciples ad Techiques of Data Sciece Date: April 3, 208 Name: Hypothesis Testig Discussio #0. Defie these terms below as they relate to hypothesis testig. a) Data Geeratio Model: Solutio: A set

More information

CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 5

CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 5 CS434a/54a: Patter Recogitio Prof. Olga Veksler Lecture 5 Today Itroductio to parameter estimatio Two methods for parameter estimatio Maimum Likelihood Estimatio Bayesia Estimatio Itroducto Bayesia Decisio

More information

ENGI 4421 Confidence Intervals (Two Samples) Page 12-01

ENGI 4421 Confidence Intervals (Two Samples) Page 12-01 ENGI 44 Cofidece Itervals (Two Samples) Page -0 Two Sample Cofidece Iterval for a Differece i Populatio Meas [Navidi sectios 5.4-5.7; Devore chapter 9] From the cetral limit theorem, we kow that, for sufficietly

More information

Output Analysis (2, Chapters 10 &11 Law)

Output Analysis (2, Chapters 10 &11 Law) B. Maddah ENMG 6 Simulatio Output Aalysis (, Chapters 10 &11 Law) Comparig alterative system cofiguratio Sice the output of a simulatio is radom, the comparig differet systems via simulatio should be doe

More information

Topic 18: Composite Hypotheses

Topic 18: Composite Hypotheses Toc 18: November, 211 Simple hypotheses limit us to a decisio betwee oe of two possible states of ature. This limitatio does ot allow us, uder the procedures of hypothesis testig to address the basic questio:

More information

Describing the Relation between Two Variables

Describing the Relation between Two Variables Copyright 010 Pearso Educatio, Ic. Tables ad Formulas for Sulliva, Statistics: Iformed Decisios Usig Data 010 Pearso Educatio, Ic Chapter Orgaizig ad Summarizig Data Relative frequecy = frequecy sum of

More information

Tests of Hypotheses Based on a Single Sample (Devore Chapter Eight)

Tests of Hypotheses Based on a Single Sample (Devore Chapter Eight) Tests of Hypotheses Based o a Sigle Sample Devore Chapter Eight MATH-252-01: Probability ad Statistics II Sprig 2018 Cotets 1 Hypothesis Tests illustrated with z-tests 1 1.1 Overview of Hypothesis Testig..........

More information

A statistical method to determine sample size to estimate characteristic value of soil parameters

A statistical method to determine sample size to estimate characteristic value of soil parameters A statistical method to determie sample size to estimate characteristic value of soil parameters Y. Hojo, B. Setiawa 2 ad M. Suzuki 3 Abstract Sample size is a importat factor to be cosidered i determiig

More information

Frequentist Inference

Frequentist Inference Frequetist Iferece The topics of the ext three sectios are useful applicatios of the Cetral Limit Theorem. Without kowig aythig about the uderlyig distributio of a sequece of radom variables {X i }, for

More information

GUIDELINES ON REPRESENTATIVE SAMPLING

GUIDELINES ON REPRESENTATIVE SAMPLING DRUGS WORKING GROUP VALIDATION OF THE GUIDELINES ON REPRESENTATIVE SAMPLING DOCUMENT TYPE : REF. CODE: ISSUE NO: ISSUE DATE: VALIDATION REPORT DWG-SGL-001 002 08 DECEMBER 2012 Ref code: DWG-SGL-001 Issue

More information

Computing Confidence Intervals for Sample Data

Computing Confidence Intervals for Sample Data Computig Cofidece Itervals for Sample Data Topics Use of Statistics Sources of errors Accuracy, precisio, resolutio A mathematical model of errors Cofidece itervals For meas For variaces For proportios

More information

Linear Regression Models

Linear Regression Models Liear Regressio Models Dr. Joh Mellor-Crummey Departmet of Computer Sciece Rice Uiversity johmc@cs.rice.edu COMP 528 Lecture 9 15 February 2005 Goals for Today Uderstad how to Use scatter diagrams to ispect

More information

Approximate Confidence Interval for the Reciprocal of a Normal Mean with a Known Coefficient of Variation

Approximate Confidence Interval for the Reciprocal of a Normal Mean with a Known Coefficient of Variation Metodološki zvezki, Vol. 13, No., 016, 117-130 Approximate Cofidece Iterval for the Reciprocal of a Normal Mea with a Kow Coefficiet of Variatio Wararit Paichkitkosolkul 1 Abstract A approximate cofidece

More information

Because it tests for differences between multiple pairs of means in one test, it is called an omnibus test.

Because it tests for differences between multiple pairs of means in one test, it is called an omnibus test. Math 308 Sprig 018 Classes 19 ad 0: Aalysis of Variace (ANOVA) Page 1 of 6 Itroductio ANOVA is a statistical procedure for determiig whether three or more sample meas were draw from populatios with equal

More information

Stat410 Probability and Statistics II (F16)

Stat410 Probability and Statistics II (F16) Some Basic Cocepts of Statistical Iferece (Sec 5.) Suppose we have a rv X that has a pdf/pmf deoted by f(x; θ) or p(x; θ), where θ is called the parameter. I previous lectures, we focus o probability problems

More information

Final Review. Fall 2013 Prof. Yao Xie, H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech

Final Review. Fall 2013 Prof. Yao Xie, H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech Fial Review Fall 2013 Prof. Yao Xie, yao.xie@isye.gatech.edu H. Milto Stewart School of Idustrial Systems & Egieerig Georgia Tech 1 Radom samplig model radom samples populatio radom samples: x 1,..., x

More information

STAT431 Review. X = n. n )

STAT431 Review. X = n. n ) STAT43 Review I. Results related to ormal distributio Expected value ad variace. (a) E(aXbY) = aex bey, Var(aXbY) = a VarX b VarY provided X ad Y are idepedet. Normal distributios: (a) Z N(, ) (b) X N(µ,

More information

Confidence interval for the two-parameter exponentiated Gumbel distribution based on record values

Confidence interval for the two-parameter exponentiated Gumbel distribution based on record values Iteratioal Joural of Applied Operatioal Research Vol. 4 No. 1 pp. 61-68 Witer 2014 Joural homepage: www.ijorlu.ir Cofidece iterval for the two-parameter expoetiated Gumbel distributio based o record values

More information

BIOSTATISTICS. Lecture 5 Interval Estimations for Mean and Proportion. dr. Petr Nazarov

BIOSTATISTICS. Lecture 5 Interval Estimations for Mean and Proportion. dr. Petr Nazarov Microarray Ceter BIOSTATISTICS Lecture 5 Iterval Estimatios for Mea ad Proportio dr. Petr Nazarov 15-03-013 petr.azarov@crp-sate.lu Lecture 5. Iterval estimatio for mea ad proportio OUTLINE Iterval estimatios

More information

Access to the published version may require journal subscription. Published with permission from: Elsevier.

Access to the published version may require journal subscription. Published with permission from: Elsevier. This is a author produced versio of a paper published i Statistics ad Probability Letters. This paper has bee peer-reviewed, it does ot iclude the joural pagiatio. Citatio for the published paper: Forkma,

More information

Chapter 13, Part A Analysis of Variance and Experimental Design

Chapter 13, Part A Analysis of Variance and Experimental Design Slides Prepared by JOHN S. LOUCKS St. Edward s Uiversity Slide 1 Chapter 13, Part A Aalysis of Variace ad Eperimetal Desig Itroductio to Aalysis of Variace Aalysis of Variace: Testig for the Equality of

More information

CEE 522 Autumn Uncertainty Concepts for Geotechnical Engineering

CEE 522 Autumn Uncertainty Concepts for Geotechnical Engineering CEE 5 Autum 005 Ucertaity Cocepts for Geotechical Egieerig Basic Termiology Set A set is a collectio of (mutually exclusive) objects or evets. The sample space is the (collectively exhaustive) collectio

More information

NCSS Statistical Software. Tolerance Intervals

NCSS Statistical Software. Tolerance Intervals Chapter 585 Itroductio This procedure calculates oe-, ad two-, sided tolerace itervals based o either a distributio-free (oparametric) method or a method based o a ormality assumptio (parametric). A two-sided

More information

2 1. The r.s., of size n2, from population 2 will be. 2 and 2. 2) The two populations are independent. This implies that all of the n1 n2

2 1. The r.s., of size n2, from population 2 will be. 2 and 2. 2) The two populations are independent. This implies that all of the n1 n2 Chapter 8 Comparig Two Treatmets Iferece about Two Populatio Meas We wat to compare the meas of two populatios to see whether they differ. There are two situatios to cosider, as show i the followig examples:

More information

Random Variables, Sampling and Estimation

Random Variables, Sampling and Estimation Chapter 1 Radom Variables, Samplig ad Estimatio 1.1 Itroductio This chapter will cover the most importat basic statistical theory you eed i order to uderstad the ecoometric material that will be comig

More information

Sampling Distributions, Z-Tests, Power

Sampling Distributions, Z-Tests, Power Samplig Distributios, Z-Tests, Power We draw ifereces about populatio parameters from sample statistics Sample proportio approximates populatio proportio Sample mea approximates populatio mea Sample variace

More information

Expectation and Variance of a random variable

Expectation and Variance of a random variable Chapter 11 Expectatio ad Variace of a radom variable The aim of this lecture is to defie ad itroduce mathematical Expectatio ad variace of a fuctio of discrete & cotiuous radom variables ad the distributio

More information

Read through these prior to coming to the test and follow them when you take your test.

Read through these prior to coming to the test and follow them when you take your test. Math 143 Sprig 2012 Test 2 Iformatio 1 Test 2 will be give i class o Thursday April 5. Material Covered The test is cummulative, but will emphasize the recet material (Chapters 6 8, 10 11, ad Sectios 12.1

More information

Lecture 10 October Minimaxity and least favorable prior sequences

Lecture 10 October Minimaxity and least favorable prior sequences STATS 300A: Theory of Statistics Fall 205 Lecture 0 October 22 Lecturer: Lester Mackey Scribe: Brya He, Rahul Makhijai Warig: These otes may cotai factual ad/or typographic errors. 0. Miimaxity ad least

More information

Let us give one more example of MLE. Example 3. The uniform distribution U[0, θ] on the interval [0, θ] has p.d.f.

Let us give one more example of MLE. Example 3. The uniform distribution U[0, θ] on the interval [0, θ] has p.d.f. Lecture 5 Let us give oe more example of MLE. Example 3. The uiform distributio U[0, ] o the iterval [0, ] has p.d.f. { 1 f(x =, 0 x, 0, otherwise The likelihood fuctio ϕ( = f(x i = 1 I(X 1,..., X [0,

More information

Introduction to Econometrics (3 rd Updated Edition) Solutions to Odd- Numbered End- of- Chapter Exercises: Chapter 3

Introduction to Econometrics (3 rd Updated Edition) Solutions to Odd- Numbered End- of- Chapter Exercises: Chapter 3 Itroductio to Ecoometrics (3 rd Updated Editio) by James H. Stock ad Mark W. Watso Solutios to Odd- Numbered Ed- of- Chapter Exercises: Chapter 3 (This versio August 17, 014) 015 Pearso Educatio, Ic. Stock/Watso

More information

Bayesian Methods: Introduction to Multi-parameter Models

Bayesian Methods: Introduction to Multi-parameter Models Bayesia Methods: Itroductio to Multi-parameter Models Parameter: θ = ( θ, θ) Give Likelihood p(y θ) ad prior p(θ ), the posterior p proportioal to p(y θ) x p(θ ) Margial posterior ( θ, θ y) is Iterested

More information

[ ] ( ) ( ) [ ] ( ) 1 [ ] [ ] Sums of Random Variables Y = a 1 X 1 + a 2 X 2 + +a n X n The expected value of Y is:

[ ] ( ) ( ) [ ] ( ) 1 [ ] [ ] Sums of Random Variables Y = a 1 X 1 + a 2 X 2 + +a n X n The expected value of Y is: PROBABILITY FUNCTIONS A radom variable X has a probabilit associated with each of its possible values. The probabilit is termed a discrete probabilit if X ca assume ol discrete values, or X = x, x, x 3,,

More information

MATH/STAT 352: Lecture 15

MATH/STAT 352: Lecture 15 MATH/STAT 352: Lecture 15 Sectios 5.2 ad 5.3. Large sample CI for a proportio ad small sample CI for a mea. 1 5.2: Cofidece Iterval for a Proportio Estimatig proportio of successes i a biomial experimet

More information

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING Lectures MODULE 5 STATISTICS II. Mea ad stadard error of sample data. Biomial distributio. Normal distributio 4. Samplig 5. Cofidece itervals

More information

Topic 10: Introduction to Estimation

Topic 10: Introduction to Estimation Topic 0: Itroductio to Estimatio Jue, 0 Itroductio I the simplest possible terms, the goal of estimatio theory is to aswer the questio: What is that umber? What is the legth, the reactio rate, the fractio

More information

EECS564 Estimation, Filtering, and Detection Hwk 2 Solns. Winter p θ (z) = (2θz + 1 θ), 0 z 1

EECS564 Estimation, Filtering, and Detection Hwk 2 Solns. Winter p θ (z) = (2θz + 1 θ), 0 z 1 EECS564 Estimatio, Filterig, ad Detectio Hwk 2 Sols. Witer 25 4. Let Z be a sigle observatio havig desity fuctio where. p (z) = (2z + ), z (a) Assumig that is a oradom parameter, fid ad plot the maximum

More information

Linear regression. Daniel Hsu (COMS 4771) (y i x T i β)2 2πσ. 2 2σ 2. 1 n. (x T i β y i ) 2. 1 ˆβ arg min. β R n d

Linear regression. Daniel Hsu (COMS 4771) (y i x T i β)2 2πσ. 2 2σ 2. 1 n. (x T i β y i ) 2. 1 ˆβ arg min. β R n d Liear regressio Daiel Hsu (COMS 477) Maximum likelihood estimatio Oe of the simplest liear regressio models is the followig: (X, Y ),..., (X, Y ), (X, Y ) are iid radom pairs takig values i R d R, ad Y

More information

AAEC/ECON 5126 FINAL EXAM: SOLUTIONS

AAEC/ECON 5126 FINAL EXAM: SOLUTIONS AAEC/ECON 5126 FINAL EXAM: SOLUTIONS SPRING 2015 / INSTRUCTOR: KLAUS MOELTNER This exam is ope-book, ope-otes, but please work strictly o your ow. Please make sure your ame is o every sheet you re hadig

More information

Resampling Methods. X (1/2), i.e., Pr (X i m) = 1/2. We order the data: X (1) X (2) X (n). Define the sample median: ( n.

Resampling Methods. X (1/2), i.e., Pr (X i m) = 1/2. We order the data: X (1) X (2) X (n). Define the sample median: ( n. Jauary 1, 2019 Resamplig Methods Motivatio We have so may estimators with the property θ θ d N 0, σ 2 We ca also write θ a N θ, σ 2 /, where a meas approximately distributed as Oce we have a cosistet estimator

More information

Package rpgm. R topics documented: November 14, Type Package

Package rpgm. R topics documented: November 14, Type Package Type Package Package rpgm November 14, 2017 Title Fast Simulatio of Normal/Expoetial Radom Variables ad Stochastic Differetial Equatios / Poisso Processes Versio 1.1.1 Date 2017-08-10 Author Nicolas Baradel

More information

ECO 312 Fall 2013 Chris Sims LIKELIHOOD, POSTERIORS, DIAGNOSING NON-NORMALITY

ECO 312 Fall 2013 Chris Sims LIKELIHOOD, POSTERIORS, DIAGNOSING NON-NORMALITY ECO 312 Fall 2013 Chris Sims LIKELIHOOD, POSTERIORS, DIAGNOSING NON-NORMALITY (1) A distributio that allows asymmetry differet probabilities for egative ad positive outliers is the asymmetric double expoetial,

More information

Paper SD-07. Key words: upper tolerance limit, order statistics, sample size, confidence, coverage, maximization

Paper SD-07. Key words: upper tolerance limit, order statistics, sample size, confidence, coverage, maximization SESUG 203 Paper SD-07 Maximizig Cofidece ad Coverage for a Noparametric Upper Tolerace Limit for a Fixed Number of Samples Deis J. Beal, Sciece Applicatios Iteratioal Corporatio, Oak Ridge, Teessee ABSTRACT

More information

Formulas and Tables for Gerstman

Formulas and Tables for Gerstman Formulas ad Tables for Gerstma Measuremet ad Study Desig Biostatistics is more tha a compilatio of computatioal techiques! Measuremet scales: quatitative, ordial, categorical Iformatio quality is primary

More information

Class 27. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Class 27. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700 Class 7 Daiel B. Rowe, Ph.D. Departmet of Mathematics, Statistics, ad Computer Sciece Copyright 013 by D.B. Rowe 1 Ageda: Skip Recap Chapter 10.5 ad 10.6 Lecture Chapter 11.1-11. Review Chapters 9 ad 10

More information

Econ 325 Notes on Point Estimator and Confidence Interval 1 By Hiro Kasahara

Econ 325 Notes on Point Estimator and Confidence Interval 1 By Hiro Kasahara Poit Estimator Eco 325 Notes o Poit Estimator ad Cofidece Iterval 1 By Hiro Kasahara Parameter, Estimator, ad Estimate The ormal probability desity fuctio is fully characterized by two costats: populatio

More information

7-1. Chapter 4. Part I. Sampling Distributions and Confidence Intervals

7-1. Chapter 4. Part I. Sampling Distributions and Confidence Intervals 7-1 Chapter 4 Part I. Samplig Distributios ad Cofidece Itervals 1 7- Sectio 1. Samplig Distributio 7-3 Usig Statistics Statistical Iferece: Predict ad forecast values of populatio parameters... Test hypotheses

More information

Confidence Interval for Standard Deviation of Normal Distribution with Known Coefficients of Variation

Confidence Interval for Standard Deviation of Normal Distribution with Known Coefficients of Variation Cofidece Iterval for tadard Deviatio of Normal Distributio with Kow Coefficiets of Variatio uparat Niwitpog Departmet of Applied tatistics, Faculty of Applied ciece Kig Mogkut s Uiversity of Techology

More information

Chapter 6 Part 5. Confidence Intervals t distribution chi square distribution. October 23, 2008

Chapter 6 Part 5. Confidence Intervals t distribution chi square distribution. October 23, 2008 Chapter 6 Part 5 Cofidece Itervals t distributio chi square distributio October 23, 2008 The will be o help sessio o Moday, October 27. Goal: To clearly uderstad the lik betwee probability ad cofidece

More information

A proposed discrete distribution for the statistical modeling of

A proposed discrete distribution for the statistical modeling of It. Statistical Ist.: Proc. 58th World Statistical Cogress, 0, Dubli (Sessio CPS047) p.5059 A proposed discrete distributio for the statistical modelig of Likert data Kidd, Marti Cetre for Statistical

More information

Lecture Notes 15 Hypothesis Testing (Chapter 10)

Lecture Notes 15 Hypothesis Testing (Chapter 10) 1 Itroductio Lecture Notes 15 Hypothesis Testig Chapter 10) Let X 1,..., X p θ x). Suppose we we wat to kow if θ = θ 0 or ot, where θ 0 is a specific value of θ. For example, if we are flippig a coi, we

More information

University of California, Los Angeles Department of Statistics. Hypothesis testing

University of California, Los Angeles Department of Statistics. Hypothesis testing Uiversity of Califoria, Los Ageles Departmet of Statistics Statistics 100B Elemets of a hypothesis test: Hypothesis testig Istructor: Nicolas Christou 1. Null hypothesis, H 0 (claim about µ, p, σ 2, µ

More information