Monthly Archives: October 2009

Example 7.16: assess robustness of permutation test to violations of exchangeability assumption

October 24, 2009
By
Example 7.16: assess robustness of permutation test to violations of exchangeability assumption

Permutation tests (section 2.4.3) are a form of resampling based inference that can be used to compare two groups. A simple univariate two-group permutation test requires that the group labels for the observations are exchangeable under the null hypothesis of equal distributions, but allows relaxation of specific distributional assumptions required by parametric procedures such as the t-test (

Read more »

A primer to Sweave with LyX

October 24, 2009
By

This is a step-by-step guide to 'Sweave' a document in R with Lyx on Ubuntu (9.04).System: Ubuntu 9.04, LyX 1.6.2, R 2.11.0 (Development version, r50178)Install LyX with Synaptic if it is not installed yet. (Current version 1.6.2)Start LyX, go to menu ...

Read more »

Data Mining and R

October 24, 2009
By
Data Mining and R

This post lists a few data mining resources in R. I also provide a few observations on the distinction between data mining, data analysis, and statistics as it pertains to the analysis work that I do in psychology.Online ResourcesThe classic book The E...

Read more »

RSPerl : Using R from within Perl

October 23, 2009
By

Some things I write in perl some in R, sometime I use perl to write R and run R. One thing that I find very useful is the functionality of RSPerl which enables you to call R functions from within perl and on perl variables. It can also call perl from R, though I have no idea why...

Read more »

Scivews-K got updated

October 23, 2009
By
Scivews-K got updated

http://www.sciviews.org/SciViews-K/index.htmlThe problem is, I cannot get it to work, on either Windows or Linux.

Read more »

From ORD Sessions to R-Forge in 12 hours with RProtoBuf

October 22, 2009
By

Yesterday, via in invitation from fellow Chicago-area Google Summer of Code mentor Borja Sotomayor, I attended the Second ORD Sessions. These are happening at the HQ of Inventable where a couple of technologists and Open Source geeks from the Chicagoland area get together and riff on code for a few hours after work over some pizza and beer. Sounded good, and I...

Read more »

ISO week

October 22, 2009
By

I am working with a model that produces estimates of snow water equivalent through time. Because I deal with large spatial extents, I decided to have the model produce weekly averages. The problem with this is knowing which file to access for a given d...

Read more »

Leap years

October 22, 2009
By

A quick function that when provided a numeric vector of years returns a boolean vector where TRUE == Leap year.is.leapyear=function(year){ #http://en.wikipedia.org/wiki/Leap_year return(((year %% 4 == 0) & (year %% 100 != 0)) | (year %% 400 == 0))}

Read more »

Aggreate electoral targeting with R

October 22, 2009
By
Aggreate electoral targeting with R

Aggregate electoral targeting is the process of determining the likely hood of a citizen choosing to vote turnout), and which candidate that person is most likely to vote for (partisan bias) in a given race using historical turnout and partisan bias. The output from this targeting allows a campaign to project the likely number of voters, what percentages their...

Read more »

ggplot2: Two Color XY-Area Combo Chart

October 21, 2009
By
ggplot2: Two Color XY-Area Combo Chart

[email protected] blog shows how to fill in the area between two crossing lines in an Excel chart. This post was also published as a guest-post on PTS blog. Let’s try to replicate this graph in ggplot2. First, load ggplot2 and generate the data frame to be used in the example (I am using a slightly

Read more »

Sponsors

Mango solutions



plotly webpage

dominolab webpage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training

datasociety

http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training









Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)