R: single plot with two different y-axes

April 21, 2015
By
R: single plot with two different y-axes

I forgot where I originally found the code to do this, but I recently had to dig it out again to remind myself how to draw two different y axes on the same plot to show the values of two different features of the data. This is somewhat distinct from th...

Read more »

The feather, the bathroom scale, and the kangaroo

April 21, 2015
By
The feather, the bathroom scale, and the kangaroo

Here’s something I wrote in the context of one of those “power = .06″ studies: My criticism of the ovulation-and-voting study is ultimately quantitative. Their effect size is tiny and their measurement error is huge. My best analogy is that they are trying to use a bathroom scale to weigh a feather—and the feather is […] The post The feather, the bathroom scale, and the kangaroo appeared first on Statistical…

Read more »

Nice analysis of racial composition of police forces

April 21, 2015
By
Nice analysis of racial composition of police forces

The Washington Post has a good idea. Using Census data, they computed the proportion of police force who are white and the corresponding proportion of citizens who are white, in different cities. In the following scatter plot, they singled out...

Read more »

More on the AA paper

April 21, 2015
By
More on the AA paper

This is a supplement to the previous post about a new research paper on the effect of Alcoholics Anonymous, and an NY Times exposition that I commented on. A misreading of that article led me to complain about per-protocol analysis, which wasn't the methodology behind the Humphrey et. al. research. I will explain their methodology in this post (known as instrumental variables analysis). *** In the last post, I showed…

Read more »

The fallacy of placing confidence in confidence intervals (version 2)

April 21, 2015
By

I, with my coathors, have submitted a new draft of our paper "The fallacy of placing confidence in confidence intervals". This paper is substantially modified from its previous incarnation. Here is the main argument:"[C]onfidence intervals may not be u...

Read more »

Combining several lattice charts into one

April 21, 2015
By
Combining several lattice charts into one

Last week I mentioned the grid.arrange function of the gridExtra package that allows me to combine graphical grid objects onto one page. The latticeExtra package provides another elegant solution for trellis (lattice) plots: the function c.trellis() or...

Read more »

Online predictions from ipredict

April 21, 2015
By

Following up on our post on PredictWise, Richard Barker points to this fun site of market-based predictions. It’s subtitled, “Buy and sell stocks in future political and economic events.” It’s based in New Zealand so you can bet on wacky propositions such as, “David Carter to be next High Commissioner from New Zealand to the […] The post Online predictions from ipredict appeared first on Statistical Modeling, Causal Inference, and…

Read more »

simulating correlated Binomials [another Bernoulli factory]

April 20, 2015
By
simulating correlated Binomials [another Bernoulli factory]

This early morning, just before going out for my daily run around The Parc, I checked X validated for new questions and came upon that one. Namely, how to simulate X a Bin(8,2/3) variate and Y a Bin(18,2/3) such that corr(X,Y)=0.5. (No reason or motivation provided for this constraint.) And I thought the following (presumably […]

Read more »

AusDM 2015 submission deadline extended to Thursday 30 April

April 20, 2015
By
AusDM 2015 submission deadline extended to Thursday 30 April

The 13th Australasian Data Mining Conference (AusDM 2015) Sydney, Australia, 8–9 August 2015 (co-located with SIGKDD’15) URL: http://ausdm15.ausdm.org/ The Australasian Data Mining Conference has established itself as the premier Australasian meeting for both practitioners and researchers in data mining. It … Continue reading →

Read more »

Seminar of IAPA Canberra Chapter: Big Data in the Social Sciences, Wednesday 29 April

April 20, 2015
By
Seminar of IAPA Canberra Chapter: Big Data in the Social Sciences, Wednesday 29 April

Date: Wednesday 29 April Time: 5.45pm for a 6pm start Cost: Nil Where: SAS Offices, 12 Moore Street, Canberra, ACT 2600 RSVP link: http://www.iapa.org.au/Event/ACTChapterEvent29AprilBigDataInSocialSciences Join us for our next ACT Chapter Event on the 29th of April. We have guest … Continue reading →

Read more »

How effective are buybacks?

April 20, 2015
By
How effective are buybacks?

Buybacks are when companies buy their own stocks. They can do this privately with stockholders, or simply purchase the stocks off the open market. Why? Companies buy back their own stocks because this supports the value of their stock (during tough times). It also reduces the total amount of equity, which improves metrics like Return on […]

Read more »

New Book: Bayesian Data Analysis in Ecology Using Linear Models with R, BUGS, and Stan

April 20, 2015
By
New Book: Bayesian Data Analysis in Ecology Using Linear Models with R, BUGS, and Stan

Fränzi and Tobias‘s book is now real: Fränzi Korner-Nievergelt, Tobias Roth, Stefanie von Felten, Jérôme Guélat, Bettina Almasi, and Pius Korner-Nievergelt (2015) Bayesian Data Analysis in Ecology Using Linear Models with R, BUGS, and Stan. Academic Press. This is based in part on the in-person tutorials that they and the other authors have been giving […] The post New Book: Bayesian Data Analysis in Ecology Using Linear Models with R,…

Read more »

There’s no I in Mutual

April 20, 2015
By
There’s no I in Mutual

Today I've received an email from a prospective PhD candidate, who says that he (or she) would like to do his (or her) PhD under my supervision on a topic of mutual interest. Except his (or her) interests are in Physics or Applied Mathematics.I know I'...

Read more »

On deck this week

April 20, 2015
By

Mon: New book on Bayesian analysis in ecology using Stan Tues: The feather, the bathroom scale, and the kangaroo Wed: Instead of worrying about multiple hypothesis correction, just fit a hierarchical model. Thurs: Political Attitudes in Social Environments Fri: Statistical significance, practical significance, and interactions Sat: Statistical analysis on a dataset that consists of a […] The post On deck this week appeared first on Statistical Modeling, Causal Inference, and…

Read more »

NYT likes new AA study. Why I am not convinced.

April 20, 2015
By
NYT likes new AA study. Why I am not convinced.

[After communicating with Frakt, Humphrey and Dean Eckles, I realize that I was confused about Frakt's description of the Humphrey paper, which does not perform PP analysis. So when reading this post, consider it a discussion of ITT versus PP analysis. I will post about Humphrey's methodology separately.] The New York Times plugged a study of the effectiveness of Alcoholics Anonymous (AA) (link). The author (Austin Frakt) used this occasion…

Read more »

Create a waterfall plot in SAS

April 20, 2015
By
Create a waterfall plot in SAS

In clinical trials, a waterfall plot is often used to indicate how patients in the study responded to treatment. In oncology trials, the response variable might be the percent change in the size of a tumor from the individual's baseline value at the start of the trial. The percent change […] The post Create a waterfall plot in SAS appeared first on The DO Loop.

Read more »

Paper: ISOTYPE Visualization – Working Memory, Performance, and Engagement with Pictographs

April 20, 2015
By
Paper: ISOTYPE Visualization – Working Memory, Performance, and Engagement with Pictographs

Unit charts are not common in visualization, and they are often considered a bad idea. The same is true for using shapes other than rectangles. Neither is based on much actual research, however. In a new paper, we look at the specific example of ISOTYPE-style charts – and find them to be quite effective. I have written about ISOTYPE … Continue reading Paper: ISOTYPE Visualization – Working Memory, Performance, and Engagement with Pictographs

Read more »

Reading fixed width formats in the Hadleyverse

April 19, 2015
By
Reading fixed width formats in the Hadleyverse

This is an update to a previous post on reading fixed width formats in R. A new addition to the Hadleyverse is the package readr, which includes a function read_fwf to read fixed width format files. I’ll compare the LaF approach to the readr approach using the same dataset as before. The variable wt is […]

Read more »

PK analysis: Theoph again

April 19, 2015
By
PK analysis: Theoph again

This week I wanted to repeat the Theoph PK analysis of two weeks ago in Stan. It also suddenly dawned on me. For a non-linear model in classical statistics we think it normal to provide good initializations. In contrast, for those MCMC samples I rememb...

Read more »

Go to PredictWise for forecast probabilities of events in the news

April 19, 2015
By
Go to PredictWise for forecast probabilities of events in the news

I like it. Clear, transparent, no mumbo jumbo about their secret sauce. But . . . what’s with the hyper-precision: C’mon. “27.4%”? Who are you kidding?? (See here for explication of this point.) The post Go to PredictWise ...

Read more »

Diederik Stapel in the news, again

April 19, 2015
By

Bikes . . . have “become the most common mode of transportation for criminals.” OK, that’s just ethnic profiling of Dutch people. I think they’re just gonna put the whole country on lockdown. The post Diederik Stapel in the news, again...

Read more »

Neyman: Distinguishing tests of statistical hypotheses and tests of significance might have been a lapse of someone’s pen

April 18, 2015
By
Neyman: Distinguishing tests of statistical hypotheses and tests of significance might have been a lapse of someone’s pen

“Tests of Statistical Hypotheses and Their Use in Studies of Natural Phenomena” by Jerzy Neyman ABSTRACT. Contrary to ideas suggested by the title of the conference at which the present paper was presented, the author is not aware of a conceptual difference between a “test of a statistical hypothesis” and a “test of significance” and uses […]

Read more »

How do data and experiments fit into a scientific research program?

April 18, 2015
By

I was talking with someone today about various “dead on arrival” research programs we’ve been discussing here for the past few years: I’m talking about topics such beauty and sex ratios of children, or ovulation and voting, or ESP—all of which possibly represent real phenomena and could possibly be studied in a productive way, just […] The post How do data and experiments fit into a scientific research program? appeared…

Read more »


Subscribe

Email:

  Subscribe