# Many similar models - Part 1: How to make a function for model fitting

In this post I discuss how to construct the formula that can be passed to model fitting functions like lm(). I then demonstrate how to use this within a user-created function in order to streamline the process of fitting many similar models.

# Custom contrasts in emmeans

One of the nice things about emmeans is that you can build custom comparisons for any groups or combinations of groups. I give an example showing how to set these up.

# Getting started with emmeans

Post hoc comparisons are made easy in package emmeans. This post goes through some of the basics for those just getting started with the package.

# Lots of zeros or too many zeros?: Thinking about zero inflation in count data

When working with counts, having many zeros does not necessarily indicate zero inflation. I demonstrate this by simulating data from the negative binomial and generalized Poisson distributions. I then show one way to check if the data has excess zeros compared to the number of zeros expected based on the model.

# The log-0 problem: analysis strategies and options for choosing c in log(y + c)

Analyzing positive data with 0 values can be challenging, since a direct log transformation isn't possible. I discuss some of the things to consider when deciding on an analysis strategy for such data and then explore the effect of the value of the constant, c, when using log(y + c) as the response variable.

# Getting started simulating data in R: some helpful functions and how to use them

Here is the written version of a talk I gave at the Eugene R Users Group.

# Simulate! Simulate! - Part 1: A linear model

Where I discuss simulations, why I love them, and get started on a simulation series with a simple two-group linear model simulation.

# Combining many datasets in R

I talk about why I'm seeing more students who have many datasets to read in and combine and then go through an example to show one way to approach the problem. #### Ariel Muldoon

I currently work as an applied statistician in aviation and aeronautics. In a previous role as a consulting statistician in academia I created and taught R workshops for applied science graduate students who are just getting started in R, where my goal was to make their transition to a programming language as smooth as possible. See these workshop materials at my website.