Package MultiRNG. January 10, 2018

Size: px
Start display at page:

Download "Package MultiRNG. January 10, 2018"

Transcription

1 Type Package Package MultiRNG January 10, 2018 Title Multivariate Pseuo-Ranom Number Generation Version 1.1 Date Author Hakan Demirtas, Rawan Allozi Maintainer Rawan Allozi Pseuo-ranom number generation for 11 multivariate istributions: Normal, t, Uniform, Bernoulli, Hypergeometric, Beta (Dirichlet), Multinomial, Dirichlet- Multinomial, Laplace, Wishart, an Inverte Wishart. License GPL-2 GPL-3 NeesCompilation no Repository CRAN Date/Publication :14:45 UTC R topics ocumente: MultiRNG-package raw.correlate.binary raw..variate.normal raw..variate.t raw..variate.uniform raw.irichlet raw.irichlet.multinomial raw.inv.wishart raw.multinomial raw.multivariate.hypergeometric raw.multivariate.laplace raw.wishart generate.point.in.sphere loc.min Inex 16 1

2 2 MultiRNG-package MultiRNG-package Multivariate Pseuo-Ranom Number Generation This package implements the algorithms escribe in Demirtas (2004) for pseuo-ranom number generation of 11 multivariate istributions. The following multivariate istributions are available: Normal, t, Uniform, Bernoulli, Hypergeometric, Beta (Dirichlet), Multinomial, Dirichlet- Multinomial, Laplace, Wishart, an Inverte Wishart. This package contains 11 main functions an 2 auxiliary functions. The methoology for each ranom-number generation proceure varies an each istribution has its own function. For multivariate normal, raw..variate.normal utilizes the Cholesky ecomposition an a vector of univariate normal raws an for multivariate t, raw..variate.t employs the Cholesky ecomposition an a vector of univariate normal an chi-square raws. raw..variate.uniform is base on cf of multivariate normal eviates (Falk, 1999) an raw.correlate.binary generates correlate binary variables using an algorithm evelope by Park, Park an Shin (1996) an makes use of the auxiliary function loc.min. raw.multivariate.hypergeometric utilizes sequential generation of succeeing conitionals which are univariate hypergeometric. Furthermore, raw.irichlet uses the ratios of gamma variates with a common scale parameter an raw.multinomial generates ata via sequential generation of marginals which are binomials. raw.irichlet.multinomial is a mixture istribution of a multinomial that is a realization of a ranom variable having a Dirichlet istribution. raw.multivariate.laplace is base on generation of a point s on the -imensional sphere an utilizes the auxiliary function generate.point.in.sphere. raw.wishart an raw.inv.wishart utlize Wishart variates that follow -variate normal istribution. Details Package: UnivRNG Type: Package Version: 1.1 Date: License: GPL-2 GPL-3 Author(s) Hakan Demirtas, Rawan Allozi Maintainer: Rawan Allozi <ralloz2@uic.eu> References Demirtas, H. (2004). Pseuo-ranom number generation in R for commonly use multivariate istributions. Journal of Moern Applie Statistical Methos, 3(2),

3 raw.correlate.binary 3 Falk, M. (1999). A simple approach to the generation of uniformly istribute ranom variables with prescribe correlations. Communications in Statistics, Simulation an Computation, 28(3), Park, C. G., Park, T., & Shin D. W. (1996). A simple metho for generating correlate binary variates. The American Statistician, 50(4), raw.correlate.binary Generation of Correlate Binary Data This function implements pseuo-ranom number generation for a multivariate Bernoulli istribution (correlate binary ata). raw.correlate.binary(,,prop.vec,corr.mat) prop.vec corr.mat Vector of means. Correlation matrix. A matrix of generate ata. References Park, C. G., Park, T., & Shin D. W. (1996). A simple metho for generating correlate binary variates. The American Statistician, 50(4), See Also loc.min cmat<-matrix(c(1,0.2,0.3,0.2,1,0.2,0.3,0.2,1), nrow=3, ncol=3) propvec=c(0.3,0.5,0.7) myata=raw.correlate.binary(=1e5,=3,prop.vec=propvec,corr.mat=cmat) apply(myata,2,mean)-propvec cor(myata)-cmat

4 4 raw..variate.normal raw..variate.normal Pseuo-Ranom Number Generation uner Multivariate Normal Distribution This function implements pseuo-ranom number generation for a multivariate normal istribution with pf f(x µ, Σ) = c exp ( 1 2 (x µ)t Σ 1 (x µ)) for < x < an c = (2π) /2 Σ 1/2, Σ is symmetric an positive efinite, where µ an Σ are the mean vector an the variance-covariance matrix, respectively. raw..variate.normal(,,mean.vec,cov.mat) mean.vec cov.mat Vector of means. Variance-covariance matrix. A matrix of generate ata. cmat<-matrix(c(1,0.2,0.3,0.2,1,0.2,0.3,0.2,1), nrow=3, ncol=3) meanvec=c(0,3,7) myata=raw..variate.normal(=1e5,=3,mean.vec=meanvec,cov.mat=cmat) apply(myata,2,mean)-meanvec cor(myata)-cmat

5 raw..variate.t 5 raw..variate.t Pseuo-Ranom Number Generation uner Multivariate t Distribution This function implements pseuo-ranom number generation for a multivariate t istribution with pf ( f(x µ, Σ, ν) = c ) (ν+)/2 ν (x µ)t Σ 1 (x µ) for < x < an c = Γ((ν+)/2) Σ 1/2, Σ is symmetric an positive efinite, ν > 0, Γ(ν/2)(νπ) /2 where µ, Σ, an ν are the mean vector, the variance-covariance matrix, an the egrees of freeom, respectively. raw..variate.t(of,,,mean.vec,cov.mat) of mean.vec cov.mat Degrees of freeom. Vector of means. Variance-covariance matrix. A matrix of generate ata. cmat<-matrix(c(1,0.2,0.3,0.2,1,0.2,0.3,0.2,1), nrow=3, ncol=3) meanvec=c(0,3,7) myata=raw..variate.t(of=5,=1e5,=3,mean.vec=meanvec,cov.mat=cmat) apply(myata,2,mean)-meanvec cor(myata)-cmat

6 6 raw..variate.uniform raw..variate.uniform Pseuo-Ranom Number Generation uner Multivariate Uniform Distribution This function implements pseuo-ranom number generation for a multivariate uniform istribution with specifie mean vector an covariance matrix. raw..variate.uniform(,,cov.mat) cov.mat Variance-covariance matrix. A matrix of generate ata. References Falk, M. (1999). A simple approach to the generation of uniformly istribute ranom variables with prescribe correlations. Communications in Statistics, Simulation an Computation, 28(3), cmat<-matrix(c(1,0.2,0.3,0.2,1,0.2,0.3,0.2,1), nrow=3, ncol=3) myata=raw..variate.uniform(=1e5,=3,cov.mat=cmat) apply(myata,2,mean)-rep(0.5,3) cor(myata)-cmat

7 raw.irichlet 7 raw.irichlet Pseuo-Ranom Number Generation uner Multivariate Beta (Dirichlet) Distribution This function implements pseuo-ranom number generation for a multivariate beta (Dirichlet) istribution with pf f(x α 1,..., α ) = Γ( j=1 α j) j=1 Γ(α j) j=1 x αj 1 j for α j > 0, x j 0, an j=1 x j = 1, where α 1,..., α are the shape parameters an β is a common scale paramter. raw.irichlet(,,alpha,beta) alpha beta Vector of shape parameters. Scale parameter common to variables. A matrix of generate ata. alpha.vec=c(1,3,4,4) myata=raw.irichlet(=1e5,=4,alpha=alpha.vec,beta=2) apply(myata,2,mean)-alpha.vec/sum(alpha.vec)

8 8 raw.irichlet.multinomial raw.irichlet.multinomial Pseuo-Ranom Number Generation uner Dirichlet-Multinomial Distribution This function implements pseuo-ranom number generation for a Dirichlet-multinomial istribution. This is a mixture istribution that is multinomial with parameter θ that is a realization of a ranom variable having a Dirichlet istribution with shape vector α. N is the sample size an β is a common scale parameter. raw.irichlet.multinomial(,,alpha,beta,n) alpha beta N Vector of shape parameters. Scale parameter common to variables. Sample size. A matrix of generate ata. See Also raw.irichlet, raw.multinomial alpha.vec=c(1,3,4,4) ; N=3 myata=raw.irichlet.multinomial(=1e5,=4,alpha=alpha.vec,beta=2, N=3) apply(myata,2,mean)-n*alpha.vec/sum(alpha.vec)

9 raw.inv.wishart 9 raw.inv.wishart Pseuo-Ranom Number Generation uner Inverte Wishart Distribution This function implements pseuo-ranom number generation for an inverte Wishart istribution with pf f(x ν, Σ) = (2 ν/2 π ( 1)/4 Γ((ν + 1 i)/2)) 1 Σ ν/2 x (ν++1)/2 exp( 1 2 tr(σx 1 )) i=1 x is positive efinite, ν, an Σ 1 is symmetric an positive efinite, where ν an Σ 1 are the egrees of freeom an the inverse scale matrix, respectively. raw.inv.wishart(,,nu,inv.sigma) nu inv.sigma Degrees of freeom. Inverse scale matrix. A 2 matrix ofcontaining Wishart eviates in the form of rows. To obtain the Inverte- Wishart matrix, convert each row to a matrix where rows are fille first. See Also raw.wishart mymat<-matrix(c(1,0.2,0.3,0.2,1,0.2,0.3,0.2,1), nrow=3, ncol=3) raw.inv.wishart(=1e5,=3,nu=5,inv.sigma=mymat)

10 10 raw.multinomial raw.multinomial Pseuo-Ranom Number Generation uner Multivariate Multinomial Distribution This function implements pseuo-ranom number generation for a multivariate multinomial istribution with pf f(x θ 1,..., θ ) = N! xj! j=1 θ xj j for 0 < θ j < 1, x j 0, an j=1 x j = N, where θ 1,..., θ are cell probabilities an N is the size. raw.multinomial(,,theta,n) theta Vector of cell probabilities. N Sample Size. Must be at least 2. A matrix of generate ata. theta.vec=c(0.3,0.3,0.25,0.15) ; N=4 myata=raw.multinomial(=1e5,=4,theta=c(0.3,0.3,0.25,0.15),n=4) apply(myata,2,mean)-n*theta.vec

11 raw.multivariate.hypergeometric 11 raw.multivariate.hypergeometric Pseuo-Ranom Number Generation uner Multivariate Hypergeometric Distribution This function implements pseuo-ranom number generation for a multivariate hypergeometric istribution. raw.multivariate.hypergeometric(,,mean.vec,k) mean.vec k Number of items in each category. Number of items to be sample. Must be a positive integer. A matrix of generate ata. References Demirtas, H. (2004). Pseuo-ranom number generation in R for commonly use multivariate istributions. Journal of Moern Applie Statistical Methos, 3(2), meanvec=c(10,10,12) ; myk=5 myata=raw.multivariate.hypergeometric(=1e5,=3,mean.vec=meanvec,k=myk) apply(myata,2,mean)-myk*meanvec/sum(meanvec)

12 12 raw.multivariate.laplace raw.multivariate.laplace Pseuo-Ranom Number Generation uner Multivariate Laplace Distribution This function implements pseuo-ranom number generation for a multivariate Laplace (ouble exponential) istribution with pf f(x µ, Σ, γ) = c exp( ((x µ) T Σ 1 (x µ)) γ/2 ) for < x < an c = γγ(/2) 2π /2 Γ(/γ) Σ 1/2, Σ is symmetric an positive efinite, where µ, Σ, an γ are the mean vector, the variance-covariance matrix, an the shape parameter, respectively. raw.multivariate.laplace(,,gamma,mu,sigma) gamma mu Sigma Shape parameter. Vector of means. Variance-covariance matrix. A matrix of generate ata. References Ernst, M. D. (1998). A multivariate generalize Laplace istribution. Computational Statistics, 13, See Also generate.point.in.sphere cmat<-matrix(c(1,0.2,0.3,0.2,1,0.2,0.3,0.2,1), nrow=3, ncol=3) mu.vec=c(0,3,7) myata=raw.multivariate.laplace(=1e5,=3,gamma=2,mu=mu.vec,sigma=cmat) apply(myata,2,mean)-mu.vec cor(myata)-cmat

13 raw.wishart 13 raw.wishart Pseuo-Ranom Number Generation uner Wishart Distribution This function implements pseuo-ranom number generation for a Wishart istribution with pf f(x ν, Σ) = (2 ν/2 π ( 1)/4 Γ((ν + 1 i)/2)) 1 Σ ν/2 x (ν 1)/2 exp( 1 2 tr(σ 1 x)) i=1 x is positive efinite, ν, an Σ is symmetric an positive efinite, where ν an Σ are positive efinite an the scale matrix, respectively. raw.wishart(,,nu,sigma) nu sigma Degrees of freeom. Scale matrix. A 2 matrix of Wishart eviates in the form of rows.to obtain the Wishart matrix, convert each row to a matrix where rows are fille first. See Also raw..variate.normal mymat<-matrix(c(1,0.2,0.3,0.2,1,0.2,0.3,0.2,1), nrow=3, ncol=3) raw.wishart(=1e5,=3,nu=5,sigma=mymat)

14 14 loc.min generate.point.in.sphere Point Generation for a Sphere This function generates s points on a -imensional sphere. generate.point.in.sphere(,) A matrix of coorinates of points in sphere. References Marsaglia, G. (1972). Choosing a point from the surface of a sphere. Annals of Mathematical Statistics, 43, generate.point.in.sphere(=1e5,=3) loc.min Minimum Location Finer This function ientifies the location of the minimum value in a square matrix. loc.min(my.mat,) my.mat A square matrix. Dimensions of the matrix.

15 loc.min 15 A vector containing the row an column number of the minimum value. cmat<-matrix(c(1,0.2,0.3,0.2,1,0.2,0.3,0.2,1), nrow=3, ncol=3) loc.min(my.mat=cmat, =3)

16 Inex raw.correlate.binary, 3 raw..variate.normal, 4, 13 raw..variate.t, 5 raw..variate.uniform, 6 raw.irichlet, 7, 8 raw.irichlet.multinomial, 8 raw.inv.wishart, 9 raw.multinomial, 8, 10 raw.multivariate.hypergeometric, 11 raw.multivariate.laplace, 12 raw.wishart, 9, 13 generate.point.in.sphere, 12, 14 loc.min, 3, 14 MultiRNG (MultiRNG-package), 2 MultiRNG-package, 2 16

Package PoisNonNor. R topics documented: March 10, Type Package

Package PoisNonNor. R topics documented: March 10, Type Package Type Package Package PoisNonNor March 10, 2018 Title Simultaneous Generation of Count and Continuous Data Version 1.5 Date 2018-03-10 Author Hakan Demirtas, Yaru Shi, Rawan Allozi Maintainer Rawan Allozi

More information

Pseudo-Random Number Generation In R For Commonly Used Multivariate Distributions

Pseudo-Random Number Generation In R For Commonly Used Multivariate Distributions Journal of Modern Applied Statistical Methods Volume 3 Issue 2 Article 19 11-1-2004 Pseudo-Random Number Generation In R For Commonly Used Multivariate Distributions Hakan Demirtas University of Illinois

More information

Package OrdNor. February 28, 2019

Package OrdNor. February 28, 2019 Type Package Package OrdNor February 28, 2019 Title Concurrent Generation of Ordinal and Normal Data with Given Correlation Matrix and Marginal Distributions Version 2.2 Date 2019-02-24 Author Anup Amatya,

More information

Package asus. October 25, 2017

Package asus. October 25, 2017 Package asus October 25, 2017 Title Aaptive SURE Thresholing Using Sie Information Version 1.0.0 Provies the ASUS proceure for estimating a high imensional sparse parameter in the presence of auxiliary

More information

A Few Special Distributions and Their Properties

A Few Special Distributions and Their Properties A Few Special Distributions and Their Properties Econ 690 Purdue University Justin L. Tobias (Purdue) Distributional Catalog 1 / 20 Special Distributions and Their Associated Properties 1 Uniform Distribution

More information

Chapter 5 continued. Chapter 5 sections

Chapter 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 information

under the null hypothesis, the sign test (with continuity correction) rejects H 0 when α n + n 2 2.

under the null hypothesis, the sign test (with continuity correction) rejects H 0 when α n + n 2 2. Assignment 13 Exercise 8.4 For the hypotheses consiere in Examples 8.12 an 8.13, the sign test is base on the statistic N + = #{i : Z i > 0}. Since 2 n(n + /n 1) N(0, 1) 2 uner the null hypothesis, the

More information

Stat 5101 Notes: Brand Name Distributions

Stat 5101 Notes: Brand Name Distributions Stat 5101 Notes: Brand Name Distributions Charles J. Geyer September 5, 2012 Contents 1 Discrete Uniform Distribution 2 2 General Discrete Uniform Distribution 2 3 Uniform Distribution 3 4 General Uniform

More information

Package EnergyOnlineCPM

Package EnergyOnlineCPM Type Package Package EnergyOnlineCPM October 2, 2017 Title Distribution Free Multivariate Control Chart Based on Energy Test Version 1.0 Date 2017-09-30 Author Yafei Xu Maintainer Yafei Xu

More information

Chapter 5. Chapter 5 sections

Chapter 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 information

Package sbgcop. May 29, 2018

Package sbgcop. May 29, 2018 Package sbgcop May 29, 2018 Title Semiparametric Bayesian Gaussian Copula Estimation and Imputation Version 0.980 Date 2018-05-25 Author Maintainer Estimation and inference for parameters

More information

Robust Forward Algorithms via PAC-Bayes and Laplace Distributions. ω Q. Pr (y(ω x) < 0) = Pr A k

Robust Forward Algorithms via PAC-Bayes and Laplace Distributions. ω Q. Pr (y(ω x) < 0) = Pr A k A Proof of Lemma 2 B Proof of Lemma 3 Proof: Since the support of LL istributions is R, two such istributions are equivalent absolutely continuous with respect to each other an the ivergence is well-efine

More information

1 Uniform Distribution. 2 Gamma Distribution. 3 Inverse Gamma Distribution. 4 Multivariate Normal Distribution. 5 Multivariate Student-t Distribution

1 Uniform Distribution. 2 Gamma Distribution. 3 Inverse Gamma Distribution. 4 Multivariate Normal Distribution. 5 Multivariate Student-t Distribution A Few Special Distributions Their Properties Econ 675 Iowa State University November 1 006 Justin L Tobias (ISU Distributional Catalog November 1 006 1 / 0 Special Distributions Their Associated Properties

More information

Package SimCorMultRes

Package SimCorMultRes Type Package Package SimCorMultRes Title Simulates Correlated Multinomial Responses July 10, 2018 Description Simulates correlated multinomial responses conditional on a marginal model specification. Version

More information

Stat 5101 Notes: Brand Name Distributions

Stat 5101 Notes: Brand Name Distributions Stat 5101 Notes: Brand Name Distributions Charles J. Geyer February 14, 2003 1 Discrete Uniform Distribution DiscreteUniform(n). Discrete. Rationale Equally likely outcomes. The interval 1, 2,..., n of

More information

Topic 7: Convergence of Random Variables

Topic 7: Convergence of Random Variables Topic 7: Convergence of Ranom Variables Course 003, 2016 Page 0 The Inference Problem So far, our starting point has been a given probability space (S, F, P). We now look at how to generate information

More information

Package severity. February 20, 2015

Package severity. February 20, 2015 Type Package Title Mayo's Post-data Severity Evaluation Version 2.0 Date 2013-03-27 Author Nicole Mee-Hyaang Jinn Package severity February 20, 2015 Maintainer Nicole Mee-Hyaang Jinn

More information

Package basad. November 20, 2017

Package basad. November 20, 2017 Package basad November 20, 2017 Type Package Title Bayesian Variable Selection with Shrinking and Diffusing Priors Version 0.2.0 Date 2017-11-15 Author Qingyan Xiang , Naveen Narisetty

More information

Package denseflmm. R topics documented: March 17, 2017

Package denseflmm. R topics documented: March 17, 2017 Package denseflmm March 17, 2017 Type Package Title Functional Linear Mixed Models for Densely Sampled Data Version 0.1.0 Author Sonja Greven, Jona Cederbaum Maintainer Jona Cederbaum

More information

Package SEMModComp. R topics documented: February 19, Type Package Title Model Comparisons for SEM Version 1.0 Date Author Roy Levy

Package SEMModComp. R topics documented: February 19, Type Package Title Model Comparisons for SEM Version 1.0 Date Author Roy Levy Type Package Title Model Comparisons for SEM Version 1.0 Date 2009-02-23 Author Roy Levy Package SEMModComp Maintainer Roy Levy February 19, 2015 Conduct tests of difference in fit for

More information

PROBABILITY DISTRIBUTIONS. J. Elder CSE 6390/PSYC 6225 Computational Modeling of Visual Perception

PROBABILITY DISTRIBUTIONS. J. Elder CSE 6390/PSYC 6225 Computational Modeling of Visual Perception PROBABILITY DISTRIBUTIONS Credits 2 These slides were sourced and/or modified from: Christopher Bishop, Microsoft UK Parametric Distributions 3 Basic building blocks: Need to determine given Representation:

More information

Package EMVS. April 24, 2018

Package EMVS. April 24, 2018 Type Package Package EMVS April 24, 2018 Title The Expectation-Maximization Approach to Bayesian Variable Selection Version 1.0 Date 2018-04-23 Author Veronika Rockova [aut,cre], Gemma Moran [aut] Maintainer

More information

Probability Distributions Columns (a) through (d)

Probability 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 information

Survey Sampling. 1 Design-based Inference. Kosuke Imai Department of Politics, Princeton University. February 19, 2013

Survey Sampling. 1 Design-based Inference. Kosuke Imai Department of Politics, Princeton University. February 19, 2013 Survey Sampling Kosuke Imai Department of Politics, Princeton University February 19, 2013 Survey sampling is one of the most commonly use ata collection methos for social scientists. We begin by escribing

More information

Package Grace. R topics documented: April 9, Type Package

Package Grace. R topics documented: April 9, Type Package Type Package Package Grace April 9, 2017 Title Graph-Constrained Estimation and Hypothesis Tests Version 0.5.3 Date 2017-4-8 Author Sen Zhao Maintainer Sen Zhao Description Use

More information

Package SimSCRPiecewise

Package SimSCRPiecewise Package SimSCRPiecewise July 27, 2016 Type Package Title 'Simulates Univariate and Semi-Competing Risks Data Given Covariates and Piecewise Exponential Baseline Hazards' Version 0.1.1 Author Andrew G Chapple

More information

Package gtheory. October 30, 2016

Package gtheory. October 30, 2016 Package gtheory October 30, 2016 Version 0.1.2 Date 2016-10-22 Title Apply Generalizability Theory with R Depends lme4 Estimates variance components, generalizability coefficients, universe scores, and

More information

Multinomial Data. f(y θ) θ y i. where θ i is the probability that a given trial results in category i, i = 1,..., k. The parameter space is

Multinomial Data. f(y θ) θ y i. where θ i is the probability that a given trial results in category i, i = 1,..., k. The parameter space is Multinomial Data The multinomial distribution is a generalization of the binomial for the situation in which each trial results in one and only one of several categories, as opposed to just two, as in

More information

Probability Distributions

Probability Distributions Probability Distributions Seungjin Choi Department of Computer Science Pohang University of Science and Technology, Korea seungjin@postech.ac.kr 1 / 25 Outline Summarize the main properties of some of

More information

Lecture 2: Priors and Conjugacy

Lecture 2: Priors and Conjugacy Lecture 2: Priors and Conjugacy Melih Kandemir melih.kandemir@iwr.uni-heidelberg.de May 6, 2014 Some nice courses Fred A. Hamprecht (Heidelberg U.) https://www.youtube.com/watch?v=j66rrnzzkow Michael I.

More information

Package rarhsmm. March 20, 2018

Package rarhsmm. March 20, 2018 Type Package Package rarhsmm March 20, 2018 Title Regularized Autoregressive Hidden Semi Markov Model Version 1.0.7 Date 2018-03-19 Author Zekun (Jack) Xu, Ye Liu Maintainer Zekun Xu

More information

Continuous random variables

Continuous 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 information

Package factorqr. R topics documented: February 19, 2015

Package factorqr. R topics documented: February 19, 2015 Package factorqr February 19, 2015 Version 0.1-4 Date 2010-09-28 Title Bayesian quantile regression factor models Author Lane Burgette , Maintainer Lane Burgette

More information

Package alphaoutlier

Package alphaoutlier Type Package Package Outlier September 9, 2016 Title Obtain Alpha-Outlier Regions for Well-Known Probability Distributions Version 1.2.0 Date 2016-09-09 Author Andre Rehage, Sonja Kuhnt Maintainer Andre

More information

Package Delaporte. August 13, 2017

Package Delaporte. August 13, 2017 Type Package Package Delaporte August 13, 2017 Title Statistical Functions for the Delaporte Distribution Version 6.1.0 Date 2017-08-13 Description Provides probability mass, distribution, quantile, random-variate

More information

HANDBOOK OF APPLICABLE MATHEMATICS

HANDBOOK OF APPLICABLE MATHEMATICS HANDBOOK OF APPLICABLE MATHEMATICS Chief Editor: Walter Ledermann Volume II: Probability Emlyn Lloyd University oflancaster A Wiley-Interscience Publication JOHN WILEY & SONS Chichester - New York - Brisbane

More information

CS Lecture 19. Exponential Families & Expectation Propagation

CS Lecture 19. Exponential Families & Expectation Propagation CS 6347 Lecture 19 Exponential Families & Expectation Propagation Discrete State Spaces We have been focusing on the case of MRFs over discrete state spaces Probability distributions over discrete spaces

More information

Package RZigZag. April 30, 2018

Package RZigZag. April 30, 2018 Type Package Title Zig-Zag Sampler Version 0.1.6 Date 2018-04-30 Author Joris Bierkens Package RZigZag April 30, 2018 Maintainer Joris Bierkens Description Implements the Zig-Zag

More information

Stat 5101 Lecture Slides: Deck 8 Dirichlet Distribution. Charles J. Geyer School of Statistics University of Minnesota

Stat 5101 Lecture Slides: Deck 8 Dirichlet Distribution. Charles J. Geyer School of Statistics University of Minnesota Stat 5101 Lecture Slides: Deck 8 Dirichlet Distribution Charles J. Geyer School of Statistics University of Minnesota 1 The Dirichlet Distribution The Dirichlet Distribution is to the beta distribution

More information

Package rbvs. R topics documented: August 29, Type Package Title Ranking-Based Variable Selection Version 1.0.

Package rbvs. R topics documented: August 29, Type Package Title Ranking-Based Variable Selection Version 1.0. Type Package Title Ranking-Based Variable Selection Version 1.0.2 Date 2015-12-08 Package rbvs August 29, 2016 Author Rafal Baranowski, Patrick Breheny, Isaac Turner Maintainer Rafal Baranowski

More information

Package invgamma. May 7, 2017

Package invgamma. May 7, 2017 Package invgamma May 7, 2017 Type Package Title The Inverse Gamma Distribution Version 1.1 URL https://github.com/dkahle/invgamma BugReports https://github.com/dkahle/invgamma/issues Description Light

More information

Package flexcwm. R topics documented: July 11, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.0.

Package flexcwm. R topics documented: July 11, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.0. Package flexcwm July 11, 2013 Type Package Title Flexible Cluster-Weighted Modeling Version 1.0 Date 2013-02-17 Author Incarbone G., Mazza A., Punzo A., Ingrassia S. Maintainer Angelo Mazza

More information

Ch3. Generating Random Variates with Non-Uniform Distributions

Ch3. Generating Random Variates with Non-Uniform Distributions ST4231, Semester I, 2003-2004 Ch3. Generating Random Variates with Non-Uniform Distributions This chapter mainly focuses on methods for generating non-uniform random numbers based on the built-in standard

More information

Package jmcm. November 25, 2017

Package jmcm. November 25, 2017 Type Package Package jmcm November 25, 2017 Title Joint Mean-Covariance Models using 'Armadillo' and S4 Version 0.1.8.0 Maintainer Jianxin Pan Fit joint mean-covariance models

More information

Package depth.plot. December 20, 2015

Package depth.plot. December 20, 2015 Package depth.plot December 20, 2015 Type Package Title Multivariate Analogy of Quantiles Version 0.1 Date 2015-12-19 Maintainer Could be used to obtain spatial depths, spatial ranks and outliers of multivariate

More information

Lecture 3. Probability - Part 2. Luigi Freda. ALCOR Lab DIAG University of Rome La Sapienza. October 19, 2016

Lecture 3. Probability - Part 2. Luigi Freda. ALCOR Lab DIAG University of Rome La Sapienza. October 19, 2016 Lecture 3 Probability - Part 2 Luigi Freda ALCOR Lab DIAG University of Rome La Sapienza October 19, 2016 Luigi Freda ( La Sapienza University) Lecture 3 October 19, 2016 1 / 46 Outline 1 Common Continuous

More information

Package clogitboost. R topics documented: December 21, 2015

Package clogitboost. R topics documented: December 21, 2015 Package December 21, 2015 Type Package Title Boosting Conditional Logit Model Version 1.1 Date 2015-12-09 Author Haolun Shi and Guosheng Yin Maintainer A set of functions to fit a boosting conditional

More information

Stat260: Bayesian Modeling and Inference Lecture Date: February 10th, Jeffreys priors. exp 1 ) p 2

Stat260: Bayesian Modeling and Inference Lecture Date: February 10th, Jeffreys priors. exp 1 ) p 2 Stat260: Bayesian Modeling and Inference Lecture Date: February 10th, 2010 Jeffreys priors Lecturer: Michael I. Jordan Scribe: Timothy Hunter 1 Priors for the multivariate Gaussian Consider a multivariate

More information

Package BayesNI. February 19, 2015

Package BayesNI. February 19, 2015 Package BayesNI February 19, 2015 Type Package Title BayesNI: Bayesian Testing Procedure for Noninferiority with Binary Endpoints Version 0.1 Date 2011-11-11 Author Sujit K Ghosh, Muhtarjan Osman Maintainer

More information

PMR Learning as Inference

PMR Learning as Inference Outline PMR Learning as Inference Probabilistic Modelling and Reasoning Amos Storkey Modelling 2 The Exponential Family 3 Bayesian Sets School of Informatics, University of Edinburgh Amos Storkey PMR Learning

More information

Multivariate Distributions

Multivariate Distributions IEOR E4602: Quantitative Risk Management Spring 2016 c 2016 by Martin Haugh Multivariate Distributions We will study multivariate distributions in these notes, focusing 1 in particular on multivariate

More information

Package OGI. December 20, 2017

Package OGI. December 20, 2017 Type Package Title Objective General Index Version 1.0.0 Package OGI December 20, 2017 Description Consider a data matrix of n individuals with p variates. The objective general index (OGI) is a general

More information

Package mcmcse. July 4, 2017

Package mcmcse. July 4, 2017 Version 1.3-2 Date 2017-07-03 Title Monte Carlo Standard Errors for MCMC Package mcmcse July 4, 2017 Author James M. Flegal , John Hughes , Dootika Vats ,

More information

Probability. Machine Learning and Pattern Recognition. Chris Williams. School of Informatics, University of Edinburgh. August 2014

Probability. Machine Learning and Pattern Recognition. Chris Williams. School of Informatics, University of Edinburgh. August 2014 Probability Machine Learning and Pattern Recognition Chris Williams School of Informatics, University of Edinburgh August 2014 (All of the slides in this course have been adapted from previous versions

More information

Package msir. R topics documented: April 7, Type Package Version Date Title Model-Based Sliced Inverse Regression

Package msir. R topics documented: April 7, Type Package Version Date Title Model-Based Sliced Inverse Regression Type Package Version 1.3.1 Date 2016-04-07 Title Model-Based Sliced Inverse Regression Package April 7, 2016 An R package for dimension reduction based on finite Gaussian mixture modeling of inverse regression.

More information

Package flexcwm. R topics documented: July 2, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.1.

Package flexcwm. R topics documented: July 2, Type Package. Title Flexible Cluster-Weighted Modeling. Version 1.1. Package flexcwm July 2, 2014 Type Package Title Flexible Cluster-Weighted Modeling Version 1.1 Date 2013-11-03 Author Mazza A., Punzo A., Ingrassia S. Maintainer Angelo Mazza Description

More information

Package CopulaRegression

Package CopulaRegression Type Package Package CopulaRegression Title Bivariate Copula Based Regression Models Version 0.1-5 Depends R (>= 2.11.0), MASS, VineCopula Date 2014-09-04 Author, Daniel Silvestrini February 19, 2015 Maintainer

More information

Will Murray s Probability, XXXII. Moment-Generating Functions 1. We want to study functions of them:

Will Murray s Probability, XXXII. Moment-Generating Functions 1. We want to study functions of them: Will Murray s Probability, XXXII. Moment-Generating Functions XXXII. Moment-Generating Functions Premise We have several random variables, Y, Y, etc. We want to study functions of them: U (Y,..., Y n ).

More information

Linköping University Electronic Press

Linköping University Electronic Press Linköping University Electronic Press Report On the Multivariate t Distribution Michael Roth LiTH-ISY-R, 400-390, No. 3059 Available at: Linköping University Electronic Press http://urn.kb.se/resolve?urn=urn:nbn:se:liu:iva-9686

More information

Package mixture. R topics documented: February 13, 2018

Package mixture. R topics documented: February 13, 2018 Package mixture February 13, 2018 Type Package Title Finite Gaussian Mixture Models for Clustering and Classification Version 1.5 Date 2018-02-13 Author Ryan P. Browne, Aisha ElSherbiny and Paul D. McNicholas

More information

Lecture Introduction. 2 Examples of Measure Concentration. 3 The Johnson-Lindenstrauss Lemma. CS-621 Theory Gems November 28, 2012

Lecture Introduction. 2 Examples of Measure Concentration. 3 The Johnson-Lindenstrauss Lemma. CS-621 Theory Gems November 28, 2012 CS-6 Theory Gems November 8, 0 Lecture Lecturer: Alesaner Mąry Scribes: Alhussein Fawzi, Dorina Thanou Introuction Toay, we will briefly iscuss an important technique in probability theory measure concentration

More information

Package sscor. January 28, 2016

Package sscor. January 28, 2016 Type Package Package sscor January 28, 2016 Title Robust Correlation Estimation and Testing Based on Spatial Signs Version 0.2 Date 2016-01-19 Depends pcapp, robustbase, mvtnorm Provides the spatial sign

More information

This module is part of the. Memobust Handbook. on Methodology of Modern Business Statistics

This module is part of the. Memobust Handbook. on Methodology of Modern Business Statistics This moule is part of the Memobust Hanbook on Methoology of Moern Business Statistics 26 March 2014 Metho: Balance Sampling for Multi-Way Stratification Contents General section... 3 1. Summary... 3 2.

More information

Package nmw. October 20, 2017

Package nmw. October 20, 2017 Version 0.1.2 Package nmw October 20, 2017 Title Understanding Nonlinear Mixed Effects Modeling for Population Pharmacokinetics Description This shows how NONMEM(R)

More information

Package IGG. R topics documented: April 9, 2018

Package IGG. R topics documented: April 9, 2018 Package IGG April 9, 2018 Type Package Title Inverse Gamma-Gamma Version 1.0 Date 2018-04-04 Author Ray Bai, Malay Ghosh Maintainer Ray Bai Description Implements Bayesian linear regression,

More information

The sbgcop Package. March 9, 2007

The sbgcop Package. March 9, 2007 The sbgcop Package March 9, 2007 Title Semiparametric Bayesian Gaussian copula estimation Version 0.95 Date 2007-03-09 Author Maintainer This package estimates parameters of

More information

Review for the previous lecture

Review 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 information

Random Variables and Their Distributions

Random 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 information

Package RcppSMC. March 18, 2018

Package RcppSMC. March 18, 2018 Type Package Title Rcpp Bindings for Sequential Monte Carlo Version 0.2.1 Date 2018-03-18 Package RcppSMC March 18, 2018 Author Dirk Eddelbuettel, Adam M. Johansen and Leah F. South Maintainer Dirk Eddelbuettel

More information

Package condmixt. R topics documented: February 19, Type Package

Package condmixt. R topics documented: February 19, Type Package Type Package Package condmixt February 19, 2015 Title Conditional Density Estimation with Neural Network Conditional Mixtures Version 1.0 Date 2012-04-06 Author Maintainer

More information

Package HIMA. November 8, 2017

Package HIMA. November 8, 2017 Type Package Title High-Dimensional Mediation Analysis Version 1.0.5 Date 2017-11-05 Package HIMA November 8, 2017 Description Allows to estimate and test high-dimensional mediation effects based on sure

More information

Package metafuse. October 17, 2016

Package metafuse. October 17, 2016 Package metafuse October 17, 2016 Type Package Title Fused Lasso Approach in Regression Coefficient Clustering Version 2.0-1 Date 2016-10-16 Author Lu Tang, Ling Zhou, Peter X.K. Song Maintainer Lu Tang

More information

Bayesian Models in Machine Learning

Bayesian Models in Machine Learning Bayesian Models in Machine Learning Lukáš Burget Escuela de Ciencias Informáticas 2017 Buenos Aires, July 24-29 2017 Frequentist vs. Bayesian Frequentist point of view: Probability is the frequency of

More information

Package plw. R topics documented: May 7, Type Package

Package plw. R topics documented: May 7, Type Package Type Package Package plw May 7, 2018 Title Probe level Locally moderated Weighted t-tests. Version 1.40.0 Date 2009-07-22 Author Magnus Astrand Maintainer Magnus Astrand

More information

PMR Introduction. Probabilistic Modelling and Reasoning. Amos Storkey. School of Informatics, University of Edinburgh

PMR Introduction. Probabilistic Modelling and Reasoning. Amos Storkey. School of Informatics, University of Edinburgh PMR Introduction Probabilistic Modelling and Reasoning Amos Storkey School of Informatics, University of Edinburgh Amos Storkey PMR Introduction School of Informatics, University of Edinburgh 1/50 Outline

More information

Motivation Scale Mixutres of Normals Finite Gaussian Mixtures Skew-Normal Models. Mixture Models. Econ 690. Purdue University

Motivation Scale Mixutres of Normals Finite Gaussian Mixtures Skew-Normal Models. Mixture Models. Econ 690. Purdue University Econ 690 Purdue University In virtually all of the previous lectures, our models have made use of normality assumptions. From a computational point of view, the reason for this assumption is clear: combined

More information

Package rgabriel. February 20, 2015

Package rgabriel. February 20, 2015 Type Package Package rgabriel February 20, 2015 Title Gabriel Multiple Comparison Test and Plot the Confidence Interval on Barplot Version 0.7 Date 2013-12-28 Author Yihui XIE, Miao YU Maintainer Miao

More information

Multivariate Normal & Wishart

Multivariate Normal & Wishart Multivariate Normal & Wishart Hoff Chapter 7 October 21, 2010 Reading Comprehesion Example Twenty-two children are given a reading comprehsion test before and after receiving a particular instruction method.

More information

PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 2: PROBABILITY DISTRIBUTIONS

PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 2: PROBABILITY DISTRIBUTIONS PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 2: PROBABILITY DISTRIBUTIONS Parametric Distributions Basic building blocks: Need to determine given Representation: or? Recall Curve Fitting Binary Variables

More information

Package spatial.gev.bma

Package spatial.gev.bma Type Package Package spatial.gev.bma February 20, 2015 Title Hierarchical spatial generalized extreme value (GEV) modeling with Bayesian Model Averaging (BMA) Version 1.0 Date 2014-03-11 Author Alex Lenkoski

More information

7.1 Support Vector Machine

7.1 Support Vector Machine 67577 Intro. to Machine Learning Fall semester, 006/7 Lecture 7: Support Vector Machines an Kernel Functions II Lecturer: Amnon Shashua Scribe: Amnon Shashua 7. Support Vector Machine We return now to

More information

Package gsarima. February 20, 2015

Package gsarima. February 20, 2015 Package gsarima February 20, 2015 Version 0.1-4 Date 2013-06-17 Title Two functions for Generalized SARIMA time series simulation Author Olivier Briet Maintainer Olivier Briet

More information

Package SCEPtERbinary

Package SCEPtERbinary Package SCEPtERbinary February 19, 2015 Title Stellar CharactEristics Pisa Estimation grid for Binary Systems Version 0.1-1 Date 2014-04-12 SCEPtER pipeline for estimating the stellar age for double-lined

More information

Package asypow. February 15, 2013

Package asypow. February 15, 2013 Package asypow February 15, 2013 Title Calculate Power Utilizing Asymptotic Likelihood Ratio Methods Version 2012.04-1 Date 2012-04-05 Author S original by Barry W. Brown, James Lovato and Kathy Russel.

More information

Package IndepTest. August 23, 2018

Package IndepTest. August 23, 2018 Type Package Package IndepTest August 23, 2018 Title Nonparametric Independence Tests Based on Entropy Estimation Version 0.2.0 Date 2018-08-23 Author Thomas B. Berrett [aut],

More information

" M A #M B. Standard deviation of the population (Greek lowercase letter sigma) σ 2

 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 information

Package covtest. R topics documented:

Package covtest. R topics documented: Package covtest February 19, 2015 Title Computes covariance test for adaptive linear modelling Version 1.02 Depends lars,glmnet,glmpath (>= 0.97),MASS Author Richard Lockhart, Jon Taylor, Ryan Tibshirani,

More information

Package gk. R topics documented: February 4, Type Package Title g-and-k and g-and-h Distribution Functions Version 0.5.

Package gk. R topics documented: February 4, Type Package Title g-and-k and g-and-h Distribution Functions Version 0.5. Type Package Title g-and-k and g-and-h Distribution Functions Version 0.5.1 Date 2018-02-04 Package gk February 4, 2018 Functions for the g-and-k and generalised g-and-h distributions. License GPL-2 Imports

More information

Probability Theory. Patrick Lam

Probability Theory. Patrick Lam Probability Theory Patrick Lam Outline Probability Random Variables Simulation Important Distributions Discrete Distributions Continuous Distributions Most Basic Definition of Probability: number of successes

More information

Package icmm. October 12, 2017

Package icmm. October 12, 2017 Type Package Package icmm October 12, 2017 Title Empirical Bayes Variable Selection via ICM/M Algorithm Version 1.1 Author Vitara Pungpapong [aut, cre], Min Zhang [aut], Dabao Zhang [aut] Maintainer Vitara

More information

Designing of Acceptance Double Sampling Plan for Life Test Based on Percentiles of Exponentiated Rayleigh Distribution

Designing of Acceptance Double Sampling Plan for Life Test Based on Percentiles of Exponentiated Rayleigh Distribution International Journal of Statistics an Systems ISSN 973-675 Volume, Number 3 (7), pp. 475-484 Research Inia Publications http://www.ripublication.com Designing of Acceptance Double Sampling Plan for Life

More information

Package dlagm. January 17, 2018

Package dlagm. January 17, 2018 Type Package Package dlagm January 17, 2018 Title Time Series Regression Models with Distributed Lag Models Version 1.0.2 Date 2018-01-13 Author Haydar Demirhan Maintainer Haydar Demirhan

More information

Package NORMT3. February 19, 2015

Package NORMT3. February 19, 2015 Package NORMT3 February 19, 2015 Title Evaluates complex erf, erfc, Faddeeva, and density of sum of Gaussian and Student's t Version 1.0-3 Date 31/10/2012 Author Guy Nason Maintainer

More information

Package SPreFuGED. July 29, 2016

Package SPreFuGED. July 29, 2016 Type Package Package SPreFuGED July 29, 2016 Title Selecting a Predictive Function for a Given Gene Expression Data Version 1.0 Date 2016-07-27 Author Victor L Jong, Kit CB Roes & Marinus JC Eijkemans

More information

Package FinCovRegularization

Package FinCovRegularization Type Package Package FinCovRegularization April 25, 2016 Title Covariance Matrix Estimation and Regularization for Finance Version 1.1.0 Estimation and regularization for covariance matrix of asset returns.

More information

Package semgof. February 20, 2015

Package semgof. February 20, 2015 Package semgof February 20, 2015 Version 0.2-0 Date 2012-08-06 Title Goodness-of-fit indexes for structural equation models Author Elena Bertossi Maintainer Elena Bertossi

More information

Package msu. September 30, 2017

Package msu. September 30, 2017 Package msu September 30, 2017 Title Multivariate Symmetric Uncertainty and Other Measurements Version 0.0.1 Estimators for multivariate symmetrical uncertainty based on the work of Gustavo Sosa et al.

More information

Package NonpModelCheck

Package NonpModelCheck Type Package Package NonpModelCheck April 27, 2017 Title Model Checking and Variable Selection in Nonparametric Regression Version 3.0 Date 2017-04-27 Author Adriano Zanin Zambom Maintainer Adriano Zanin

More information

Collapsed Variational Inference for HDP

Collapsed Variational Inference for HDP Collapse Variational Inference for HDP Yee W. Teh Davi Newman an Max Welling Publishe on NIPS 2007 Discussion le by Iulian Pruteanu Outline Introuction Hierarchical Bayesian moel for LDA Collapse VB inference

More information

Package ShrinkCovMat

Package ShrinkCovMat Type Package Package ShrinkCovMat Title Shrinkage Covariance Matrix Estimators Version 1.2.0 Author July 11, 2017 Maintainer Provides nonparametric Steinian shrinkage estimators

More information