# 2134 search results for "regression"

## IV Estimates via GMM with Clustering in R

April 1, 2014
By

In econometrics, generalized method of moments (GMM) is one estimation methodology that can be used to calculate instrumental variable (IV) estimates. Performing this calculation in R, for a linear IV model, is trivial. One simply uses the gmm() function in the excellent gmm package like an lm() or ivreg() function. The gmm() function will estimate

## Process and observation uncertainty explained with R

March 31, 2014
By
$Process and observation uncertainty explained with R$

Once up on a time I had grand ambitions of writing blog posts outlining all of the examples in the Ecological Detective.1 A few years ago I participated in a graduate seminar series where we went through many of the examples in this book. I am not a population biologist by trade but many of

## Bayesian Data Analysis [BDA3 – part #2]

March 30, 2014
By

Here is the second part of my review of Gelman et al.’ Bayesian Data Analysis (third edition): “When an iterative simulation algorithm is “tuned” (…) the iterations will not in general converge to the target distribution.” (p.297) Part III covers advanced computation, obviously including MCMC but also model approximations like variational Bayes and expectation propagation

## Theil’s Blus Residuals and R Tools for Testing and Removing Autocorrelation and Heteroscedasticity

March 28, 2014
By

Guest post by Hrishikesh (Rick) D. Vinod, Professor of Economics, Fordham University. Theil (1968) proposed a transformation of regression residuals so that they are best, unbiased, linear, scalar (BLUS). No R code is available to implement them. I am providing the detailed description of the properties of BLUS residuals to the uninitiated and code. The matrix algebra itself is...

## Why use R? Five reasons.

March 27, 2014
By

In this post I will go through 5 reasons: zero cost, crazy popularity, awesome power, dazzling flexibility, and mind-blowing support. I believe R is the best statistical programming language to learn. As a blogger who has contributed over 150 posts in Stata and over 100 in R I have extensive experience with both a proprietary statistical programming language...

## Bayesian Data Analysis [BDA3]

March 27, 2014
By

Andrew Gelman and his coauthors, John Carlin, Hal Stern, David Dunson, Aki Vehtari, and Don Rubin, have now published the latest edition of their book Bayesian Data Analysis. David and Aki are newcomers to the authors’ list, with an extended section on non-linear and non-parametric models. I have been asked by Sam Behseta to write

## R User Group Activity for Q1 2014

March 27, 2014
By

by Joseph Rickert Worldwide R user group activity for the first Quarter of 2014 appears to be way up compared to previous years as the following plot shows. The plot was built by counting the meetings on Revolution Analytics R Community Calendar. R users continue to value the live, in person events and face-to-face meetings with their peers. Moreover,...

## MCMC for Econometrics Students – Part IV

March 26, 2014
By

This is the fourth in a sequence of posts designed to introduce econometrics students to the use of Markov Chain Monte Carlo (MCMC, or MC2) simulation methods for Bayesian inference. The first three posts can be found here, here, and here, and I'll assume that you've read them already. The emphasis throughout is on the...

## A Thumbnail History of Ensemble Methods

March 25, 2014
By

By Mike Bowles Ensemble methods are the backbone of machine learning techniques. However, it can be a daunting subject for someone approaching it for the first time, so we asked Mike Bowles, machine learning expert and serial entrepreneur to provide some context. Ensemble Methods are among the most powerful and easiest to use of predictive analytics algorithms and R...

## Wright Map Tutorial – Part 3

March 25, 2014
By

In this part of the tutorial, we’ll show how to load ConQuest output to make a CQmodel object and then WrightMaps. We’ll also show how to turn deltas into thresholds. All the example files here are available in the /inst/extdata folder of the github. If you download the latest version of the package, they should be in a folder...