Fun with the googleVis Package for R

June 30, 2012
By
Fun with the googleVis Package for R

Using packages such as ggplot and lattice can produce some great charts and visualization, but googleVis is tough to beat for interactive charts to share on the web. Click on the image below to open up the html page. This was all done in R! I will warn you that it is too easy to … Continue reading →

Read more »

Courses that use Doing Bayesian Data Analysis?

June 30, 2012
By

Instructors seek examples of using the book, Doing Bayesian Data Analysis, as part of a course. A cursory web search yielded these few listed below, but there must be others. For example, my own course web page did not show up in the search, nor did an...

Read more »

David Hogg on statistics

June 30, 2012
By

Data analysis recipes: Fitting a model to data: We go through the many considerations involved in fitting a model to data, using as an example the fit of a straight line to a set of points in a two-dimensional plane. Standard weighted least-squares fitting is only appropriate when there is a dimension along which the [...]

Read more »

Coefficient Plots in R

June 30, 2012
By

One popular trend in presenting results is the "coefficient plot," an alternative to the table of regression coefficients. I am seeing this a little more often in political science research and have received a few requests for code, so I thought I'd wr...

Read more »

igraph and SNA: an amateur’s dabbling

June 30, 2012
By
igraph and SNA: an amateur’s dabbling

I’ve been playing with the igraph package a bit lately (see previous post HERE) and wanted to approach a problem I once visited in the past. The basic gist of the problem is this: Students in a class are asked … Continue reading →

Read more »

igraph and structured text exploration

June 29, 2012
By
igraph and structured text exploration

I am in the slow process of developing a package to bridge structured text formats (i.e. classroom transcripts)  with the tons of great R packages that visualize and analyze quantitative data (If you care to play with a rough build … Continue reading →

Read more »

Spacing out on the space race

June 29, 2012
By
Spacing out on the space race

Jordan G. sent us to this Wikipedia image. (link) Intriguing concept to try to show the tit-for-tat in the space race between US and USSR. But it's almost impossible to fish any information out of it. While the voluminous text...

Read more »

If Spain loses to Italy on Sunday, they have no one to blame but themselves

June 29, 2012
By

Euro 2012 is reaching its apex, and the final to be played on Sunday is between Spain and Italy. Yes, this is the Italian team that Spain let off the hook during the group stage. The Spanish team had 90 minutes to think about their strategy and a crucial two or three minutes at the end of their match against Croatia to give Italy the "biscotto". If Spain did that,…

Read more »

Bayesian credible intervals in the mainstream medical literature

June 29, 2012
By

I have sometimes heard complaints from collaborators that it will be impossible to have their work published in the mainstream literature unless a p-value is reported. This post is to report yet another counterexample that was recently published; a meta-analysis for the odds of perioperative bleeding complications in patients taking one of several anticoagulant/antiplatelet drugs. […]

Read more »

R is Not So Hard! A Tutorial, Part 1

June 29, 2012
By
R is Not So Hard!  A Tutorial, Part 1

OK. Indeed, R has a longer learning curve than other systems, but don’t let that put you off! Once you master the syntax, you have control of an immensely powerful statistical tool. Actually, much of the syntax is not all that difficult. Don’t believe me? To prove it, let’s look at some syntax for providing summary statistics on a continuous variable.

Read more »

An Easy Way to Reverse Code Scale items

June 29, 2012
By
An Easy Way to Reverse Code Scale items

So for example let's say you have 20 items each on a 1 to 7 scale. For most items, a 7 may indicate a positive attitude toward some issue, but for a few items, a 1 indicates a positive attitude. I want to show you a very quick and easy way to reverse code them using a single command line. This works in any software.

Read more »

Decline Effect in Linguistics?

June 29, 2012
By

Josef Fruehwald writes: In the past few years, the empirical foundations of the social sciences, especially Psychology, have been coming under increased scrutiny and criticism. For example, there was the New Yorker piece from 2010 called “The Truth Wears Off” about the “decline effect,” or how the effect size of a phenomenon appears to decrease [...]

Read more »

Tracking Euro 2012

June 29, 2012
By
Tracking Euro 2012

   

Read more »

Obamacare is not going to solve the health care crisis, but a new initiative, led by a statistician, may help

June 29, 2012
By
Obamacare is not going to solve the health care crisis, but a new initiative, led by a statistician, may help

Obamacare may help protect a vulnerable section of our population, but it does nothing to solve the real problem with health care in the US: it is unsustainably expensive and getting worst worse. In the graph below (left) per capita medical expenditure...

Read more »

Solving mastermind with R

June 29, 2012
By

In my last post I have shown a solution to classical sorting problem in R. So I thought that this time it would be nice to generate a strategy for playing Mastermind using R.It was shown by D.E. Knuth that Mastermind code can be bro...

Read more »

Is using zero as a random number seed the same as not specifying a seed?

June 29, 2012
By
Is using zero as a random number seed the same as not specifying a seed?

I received the following query regarding the RAND function in Base SAS: In SAS, is specifying 0 as a random number seed the same as not specifying a seed at all? The question concerns initializing the SAS random number stream by using the internal system clock. You can do this [...]

Read more »

Life imitates blog

June 29, 2012
By

I just noticed this from a couple years ago!

Read more »

p values, the cliff effect and the nature of evidence

June 28, 2012
By
p values, the cliff effect and the nature of evidence

I've been thinking about p values quite a bit recently - prompted by a other bloggers and by some journal work. One interesting phenomenon in this area is the cliff effect: a supposed abrupt shift in researchers' confidence in an effect when moving fro...

Read more »

Station Maps: Browser-Based 3D Maps of the London Underground

June 28, 2012
By
Station Maps: Browser-Based 3D Maps of the London Underground

Station Maps [aeracode.org] by programmer Andrew Godwin contains a large collection of browser-based (HTML5) 3D maps depicting different London Underground/DLR stations. Most of the stations are modelled from memory in combination with a few diagram...

Read more »

Census Explorer: Interactively Analyze the 2011 Australian Census Data

June 28, 2012
By
Census Explorer: Interactively Analyze the 2011 Australian Census Data

Census Explorer [sbs.com.au] designed by Sydney-based Small Multiples, visualizes the statistical data behind the people who speak about 579 different languages in 9,138 locations around Australia. Users are able to explore patterns and trends in ter...

Read more »

Secularization in America: part four

June 28, 2012
By
Secularization in America: part four

Summary so farIn Part One I described trends in market share of major religions in the U.S.: since 1988, the fraction of Protestants dropped from 60% to 51%, and the fraction of people with no religious affiliation increased from 8% to 1...

Read more »

Every time you take a sample, you’ll have to pay this guy a quarter

June 28, 2012
By
Every time you take a sample, you’ll have to pay this guy a quarter

Roy Mendelssohn pointed me to this heartwarming story of Jay Vadiveloo, an actuary who got a patent for the idea of statistical sampling. Vadiveloo writes, “the results were astounding: statistical sampling worked.” You may laugh, but wait till Albedo Man buys the patent and makes everybody do his bidding. They’re gonna dig up Laplace and [...]

Read more »

Motivating statistical projects

June 28, 2012
By
Motivating statistical projects

It seems like half of the battle in statistics is identifying an important/unsolved problem. In math, this is easy, they have a list. So why is it harder for statistics? Since I have to think up projects to work on for my research group, for classes I ...

Read more »


Subscribe

Email:

  Subscribe