This post is part of the series on the omitted variable bias and provides a simulation exercise that illustrates how omitting a relevant variable from your regression model biases the coefficients. The R code will be provided at the end. Continue reading Omitted Variable Bias: An Example

# Tag Archives: R

# Cluster Robust Standard Errors in Stargazer

In a previous post, we discussed how to obtain clustered standard errors in R. While the previous post described how one can easily calculate cluster robust standard errors in R, this post shows how one can include cluster robust standard errors in stargazer and create nice tables including clustered standard errors.

Continue reading Cluster Robust Standard Errors in Stargazer

# Robust Standard Errors in Stargazer

In a previous post, we discussed how to obtain robust standard errors in R. While the previous post described how one can easily calculate robust standard errors in R, this post shows how one can include robust standard errors in stargazer and create nice tables including robust standard errors.

# Create Venn-Diagram in R

A Venn diagram (also sometimes also called primary diagram or set diagram) is a diagram that depicts all possible logical relations between a collection of sets. Certain subjects, such as omitted variable bias, can be best be explained by using a Venn diagram. This post shows how to construct a Venn diagram in R.

# Julia-R Cheatsheet – Mathematical Operations

# Mathematical Operations

What are the commands for the most important mathematical operations in Julia and R? The following table translates the most common Julia commands into R language.

Continue reading Julia-R Cheatsheet – Mathematical Operations

# Julia-R Cheatsheet – Accessing Vector/Matrix Elements

# Accessing Vector/Matrix Elements

How to access vector and matrix elements in Julia and R? The following table translates the most common Julia commands into R language.

Continue reading Julia-R Cheatsheet – Accessing Vector/Matrix Elements

# Julia-R Cheatsheet – Manipulating Vectors and Matrices

# Manipulating Vectors and Matrices

How to manipulate vectors and matrices in Julia and R? The following table translates the most common Julia commands into R language.

Continue reading Julia-R Cheatsheet – Manipulating Vectors and Matrices