4039 search results for "git"

Unemployment

January 20, 2013
By
Unemployment

I want to exercise a bit more with ggplot2 and there is always data to be gotten from Eurostat which is interesting. In Netherlands the statistics agency (CBS) brought these headlines (translated with http://translate.google.nl/):Unemployment...

Read more »

Loss reserving has a new, silly name

January 18, 2013
By
Loss reserving has a new, silly name

I started using Git some time ago, but mostly for local work files. Today, I finally sync’ed up a repository for loss reserving analysis. It may be found here: https://github.com/PirateGrunt/MRMR MRMR stands for Multivariate Regression Model for Reserves. When pronounced “Mister Mister” it also sounds like a thankfully forgotten American soft pop band from the

Read more »

Safely Loading Packages in R

January 18, 2013
By

Using R snippets written by other developers can be unendingly maddening.  There are a variety of reasons for this, most of which boil down to a simple issue: most code is written such that a system must be configured in … Continue reading →

Read more »

Visually Comparing Return Distributions

January 18, 2013
By
Visually Comparing Return Distributions

Here is a spot of code to create a series of small multiples for comparing return distributions. You may have spotted this in a presentation I posted about earlier, but I’ve been using it here and there and am finally satisfied that it is a generally useful view, so I functionalized it. When visually comparing

Read more »

Dynamically annotate graphs with Shiny

January 18, 2013
By
Dynamically annotate graphs with Shiny

Below I present a simple way to automatically annotate plots through Shiny It occurred to me that labeling plots should be really easy to do with R-studio's swanky 'Shiny' add on. To test this I gathered some time series data from Wikipedia, added opt...

Read more »

Power Calculations – relationship between test power, effect size and sample size

January 17, 2013
By
Power Calculations – relationship between test power, effect size and sample size

I was interested in modeling the relationship between the power and sample size, while holding the significance level constant (p = 0.05) , for the common two-sample t-Test. Luckily R has great support for power analysis and I found the function I was looking for in the package pwr. To calculate the power for the two-sample T-test

Read more »

SHODAN API in R (With Examples)

January 17, 2013
By
SHODAN API in R (With Examples)

Folks may debate the merits of the SHODAN tool, but in my opinion it’s a valuable resource, especially if used for “good”. What is SHODAN? I think ThreatPost summed it up nicely: “Shodan is a Web based search engine that discovers Internet facing computers, including desktops, servers and routers. The engine, created by programmer John

Read more »

Calculating a Gini Coefficients for a Number of Locales at Once in R

January 17, 2013
By
Calculating a Gini Coefficients for a Number of Locales at Once in R

The Gini coefficient is a measure of the inequality of a distribution, most commonly used to compare inequality in income or wealth among countries.Let's first generate some random data to analyze. You can download my random data or use the code below ...

Read more »

Steve Culman on the `plyr` Package

January 17, 2013
By

At Davis R Users’ Group yesteray, Steve Culman gave us an introduction to the plyr package and how to use it to manipulate data. Here’s his presentation, and the accompanying demonstration script: Steve’s talk is based on this paper by Hadley Wickham in the Journal of Statistical Software. A lot of useful related...

Read more »

Project Euler — problem 25

January 16, 2013
By
Project Euler — problem 25

Finally, the fog lasting for days went away this morning and the sun comes out. It’s a lovely winter day. After taking a walk after lunch, I feel like doing some math. So, here comes the 25th Euler problem. The … Continue reading →

Read more »