Monthly Archives: May 2010

Tuesday’s child is full of probability puzzles

May 28, 2010
By
Tuesday’s child is full of probability puzzles

COUNTERINTUITIVE PROBLEM, INTUITIVE REPRESENTATION Blog posts about counterintuitive probability problems generate lots of opinions with a high probability. Andrew Gelman and readers have been having a lot of fun with the following probability problem: I have two children. One is a boy born on a Tuesday. What is the probability I have two boys? The

Read more »

Dynamic Modeling 1: Linear Difference Equations

May 28, 2010
By
Dynamic Modeling 1: Linear Difference Equations

(This is the first in a series on the use of Graph Algebraic models for Social Science.) Linear Difference models are a hugely important first step in learning Graph Algebraic modeling.  That said, linear difference equations are a completely independent thing from Graph Algebra.  I’ll get into the Graph algebra stuff in the next post or

Read more »

Must Have Software

May 28, 2010
By

Having worked with Unix (BSD, HPUX, IRIX, Linux and OSX), Windows (NT4, 2000, XP, Vista and 7) for quite a while I have seen a lot of different software tools. I would like to quickly exhibit my “must have” list. These are the packages that I find to be the single “must have offerings” inRelated posts:

Read more »

Creating surface plots

May 28, 2010
By
Creating surface plots

A 3d wireframe plot is a type of graph that is used to display a surface – geographic data is an example of where this type of graph would be used or it could be used to display a fitted model with more than one explanatory variable. These plots are related to contour plots which

Read more »

Because it’s Friday: The dating equation

May 28, 2010
By
Because it’s Friday: The dating equation

According to internet lore, there's a mathematical equation that governs the lower bound for the socially acceptable age of a potential dating partner: half your age plus 7, or, in mathematical terms, if x is your age then the lower bound is f(x) = x/2 + 7. Seems simple, right? if you're 20, then the minimum socially acceptable age...

Read more »

Follow Rmetrics on Twitter

May 28, 2010
By

(This article was first published on Rmetrics blogs, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Rmetrics blogs. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web...

Read more »

Rmetrics 2010

May 28, 2010
By
Rmetrics 2010

The 4th User/Developer Meeting on computational Finance and Financial Engineering (Rmetrics 2010) will take place once again in Meielisalp.This is the first time I'll attend the conference, but I'm not coming empty handed. I'll present the wo...

Read more »

A repulsive random walk

May 28, 2010
By
A repulsive random walk

Matt Asher posted an R experiment on R-bloggers yesterday simulating the random walk which has the property of avoiding zero by quickly switching to a large value as soon as is small. He was then wondering about the “convergence” of the random walk given that it moves very little once is large enough. The values

Read more »

The guessing game in R (with a twist, of course)

May 27, 2010
By

Maybe you remember playing this one as a kid. If you are about my age, you may have even created a version of this game as one of your first computer programs. You guess a number, the computer tells you if you if you are too low or high. I’ve limited the number of maximum

Read more »

Getting Parent Material Data out of SSURGO

May 27, 2010
By

  Parent material data is stored within the copm and copmgrp tables. The copm table can be linked to the copmgrp table via the 'copmgrpkey' field, and the copmgrp table can be linked to the component table via the 'cokey' field. The following queries illustrate these table relationships, and show one possible strategy for extracting the parent material information...

Read more »