1504 search results for "tutorial"

A complicated answer to a simple correlation question

February 9, 2014
By
A complicated answer to a simple correlation question

A data analysis surprise party. Simple question If I have correlation matrices each estimated with a month of daily returns, how much worse is the average of six of those compared to the estimate with six months of daily data? Expected answer Do a statistical bootstrap with the returns and compare the standard deviations across … Continue reading...

Read more »

What is a Bayes factor?

February 9, 2014
By
What is a Bayes factor?

The BayesFactor packageThis blog is a companion to the BayesFactor package in R (website), which supports inference by Bayes factors in common research designs. Bayes factors have been proposed as more principled replacements for common classical statistical procedures such as \(p\) values; this blog will offer tutorials in using the package for data analysis.In this first post, I...

Read more »

In case you missed it: January 2014 roundup

February 5, 2014
By

In case you missed them, here are some articles from January of particular interest to R users: Princeton’s Germán Rodríguez has published a useful “Introduction to R” guide, with a focus on linear and logistic regression. The rxDForest function in the RevoScaleR package fits random forests of histogram-binning trees. A tutorial on using the xts package to analyze and...

Read more »

“Show me the way to the next whiskey bar” (The Doors – Alabama Song) – Interactive Location Recommendation using Tableau

February 2, 2014
By
“Show me the way to the next whiskey bar” (The Doors – Alabama Song) – Interactive Location Recommendation using Tableau

Since I started using Tableau I’m quite fascinated about the capabilities of this piece of software. Before Christmas I was looking how I could build an interactive visualization that helps me to explore the relationships between different objects in a form that shows which objects are very close to each other according to some similarity measure or vice versa....

Read more »

An idiot learns Bayesian analysis: Part 2

February 1, 2014
By
An idiot learns Bayesian analysis: Part 2

A week ago, I wrote a bit about my personal journey to come to grips with Bayesian inference. I referred to the epiphany that when we're talking about Bayesian analysis, what we're talking about- in a tangible way- is using and modifying multivariate distributions. This reminds me of the moment, about twenty years ago now,

Read more »

Introducing the ecoengine package

January 30, 2014
By
Introducing the ecoengine package

Natural history museums have long been valuable repositories of data on species diversity. These data have been critical for fostering and shaping the development of fields such as biogeography and systematics. The importance of these data repositories is becoming increasingly important, especially in the context of climate change, where a strong understanding of how species responded to past...

Read more »

Ryan Peek on Creating Shiny Apps

January 28, 2014
By

Yesterday at the Davis R User’s Group1, Ryan Peek gave a talk about using the shiny package to create interactive web apps with R. Here are his slides. Ryan includes a bunch of links to examples and tutorials, as well as his own thermohydrographs app: Thanks to Revolution Analytics for another year of...

Read more »

A brief foray into parallel processing with R

January 21, 2014
By
A brief foray into parallel processing with R

I’ve recently been dabbling with parallel processing in R and have found the foreach package to be a useful approach to increasing efficiency of loops. To date, I haven’t had much of a need for these tools but I’ve started working with large datasets that can be cumbersome to manage. My first introduction to parallel

Read more »

analyze the national survey of oaa participants (nps) with r

January 21, 2014
By

the united states administration on aging (aoa) spends about a billion dollars on community services and meals for elderly americans every year.  enacted as part of lyndon johnson's great society program, title iii of the older americans act funds...

Read more »

Rectangular Integration (a.k.a. The Midpoint Rule)

Rectangular Integration (a.k.a. The Midpoint Rule)

Introduction Continuing on the recently born series on numerical integration, this post will introduce rectangular integration.  I will describe the concept behind rectangular integration, show a function in R for how to do it, and use it to check that the distribution actually integrates to 1 over its support set.  This post follows from my

Read more »