# Posts

• ## Selecting an alternative compiler for R package testing on Travis-CI

Editor’s Note: This post is based off of work by both Bob Rudis and Kevin Ushey on StackOverflow under the question Using an alternate compiler for Travis-CI R project builds. Thanks also to readers Bhaskar Karambelkar and Dirk Eddelbuettel for making suggestions on how to improve the post. Introduction Recently, the Armadillo project – led by the wonderful, rugged, australian Conrad Sanderson – has increased the gcc compiler requirement from 4.6 to 4.7.2. In turn,...

• ## Multiple Linear Regression Proofs

Intro Below are a few proofs regarding the least square derivation associated with multiple linear regression (MLR). These proofs are useful for understanding where MLR algorithm originates from. In particular, if one aims to write their own implementation, these proofs provide a means to understand: What logic is being used? How does the logic apply in a procedural form? Why is this logic present? Multiple Linear Regression (MLR) Definition Formula Responses: Errors: Design Matrix: Parameters:...

The contents of this tutorial is geared toward downloading and installing the RStudio Desktop IDE on: Windows macOS Linux Ubuntu / Debian RedHat / openSUSE / Fedora Click one of the above links to be taken to the appropriate installation section. What is RStudio Desktop IDE? Before downloading or installing any software, it may help to have a bit of a background as to what you are obtaining. Thus, let’s briefly look at “What is...

The contents of this tutorial is geared toward downloading and installing R the statistical programming language on: Windows macOS Linux Ubuntu Debian Redhat / CentOS SUSE Click one of the above links to be taken to the appropriate installation section. What is R? Before downloading or installing any software, it may help to have a bit of a background as to what you are obtaining. Thus, let’s briefly look at “What is R?” R is:...

The contents of this tutorial is geared toward downloading and installing git the version control system on: Windows macOS Linux Ubuntu / Debian RedHat / CentOS / Fedora SUSE Click one of the above links to be taken to the appropriate installation section. Afterwards, please make sure to look at the configure git section of the tutorial. Download and Installation of git Before downloading or installing any software, it may help to have a bit...

• ## Making a Uniform Pseudo Random Number Generator (PRNG) with sitmo

Editor’s Note: This post is published within the sitmo R package as a vignette. Intro Many of the random number generators for various distributions rely on the Probability Integral Transformation theorem. Succintly stated as: Theorem Let $X$ be a random variable that has a cumulative distribution function (CDF) of $F_X\left({x}\right)$. Then, define random variable $U = F_X\left({X}\right)$. Thus, $U$ is a uniform distribution. Proof Given any random variable X, define $U = F_X\left({X}\right)$. Then: Therefore,...

• ## sitmo v1.1.0 Released

Moving along with the package updates, we come across the sitmo header-only R package that falls victim to R 3.4’s newest CRAN check: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’. Packages that encounter this note need to simply register the compiled code routines using the procedure described in this post. The objective of sitmo is to provide the means for performing parallel draws from a Parallel Pseudo Random Number Generator (PPRNG). One of the nice features...