# Articles by Chris Carbone

### Filtering Complex Data with R

August 27, 2020 |

Filtering Base R has a function filter that can perform moving average (MA) or filters (AR). But it cannot do both at the same time; it cannot do an autoregresive ARMA filter. It also only works on real data. The filter function in the signal package can perform ARMA filters, ...

### Filtering Complex Data with R

August 27, 2020 |

FilteringBase R has a function filter that can perform moving average (MA) or filters (AR). But it cannot do both at the same time; it cannot do an autoregresive ARMA filter. It also only works on real data. The filter function in the signal package can perform ARMA filters, but ...

June 24, 2020 |

D20 and Random Events In the game Dungeons and Dragons, the success or failure of an event is determined by rolling a 20 sided die (D20): higher is better. If you need to roll 11 or higher you have a 50% chance of success. If another event requires 10 or better you now have ...

June 24, 2020 |

D20 and Random Events In the game Dungeons and Dragons, the success or failure of an event is determined by rolling a 20 sided die (D20): higher is better. If you need to roll 11 or higher you have a 50% chance of success. If another event requires 10 or better you now have ...

### Complex Normal Samples In R

June 20, 2020 |

Normal Samples If we want 10 samples from a Gaussian or normal random process with variance 4 can use rnorm(10,sd=2). Remember the standard deviation (sd) is the square root of the variance. set.seed(2)x [Read more...]

### Book Review: Introductory Time Series with R

May 12, 2020 |

I'm a big fan of R and time series analysis, so I was excited to read the book "Introductory Time Series with R. I've been using the book for about 9 years, so I thought it was about time for a review! In this review, I'm going to cover the following ... [Read more...]

July 29, 2019 |

When I first started using R, my code looked just like MATLAB code. I read an intro to R programming, did some data analysis using R, and I was using the arrow assignment operator! But otherwise, my R code looked very much like MATLAB. Then I read Advanced R by ... [Read more...]

### Blackman-Tukey Spectral Estimator in R

June 26, 2019 |

Blackman-Tukey Spectral Estimator in R! There are two definitions of the power spectral density (PSD). Both definitions are mathematically nearly identical and define a function that describes the distribution of power over the frequency components in our data set. The periodogram PSD estimator is based on the first definition of ...