February 2015 M T W T F S S « Jun 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Categories

Recent Posts
Meta
Social science
Statistics
Category Archives: Data analysis
Boolean 3 (finally) on CRAN
I have finally managed to get boolean3 accepted to CRAN. You can find it here: boolean3 on CRAN. To summarize: boolean3 provides a means of estimating partialobservability binary response models following boolean logic. boolean3 was developed by Jason W. Morgan under the … Continue reading
Posted in Data analysis, R
Leave a comment
Pearson’s r: Not a good measure of electoral persistence
Pearson’s productmoment correlation, \(r\), is an incredibly useful tool for getting some idea about how two variables are (linearly) related. But there are times when using Pearson’s \(r\) is not appropriate and, even if linearity and all other assumptions hold, … Continue reading
Posted in Data analysis, Graphics, Poland, Political parties, R
3 Comments
Welford’s method for calculating the sample variance: An implementation in Scheme
John Cook has three entries up on his blog discussing the pitfalls of calculating the sample variance using the mathematical textbook definitions. He provides a Monte Carlo comparison of methods here, and a theoretical discussion here. He also provides a … Continue reading
Posted in Code, Data analysis, Scheme
Leave a comment
Principal component analysis: some introductory resources
Principal component analysis (along with exploratory and confirmatory factor analysis) isn’t something we were exposed to in our Political Science methods sequence here at OSU. However, because they seem to come up from time to time, it’s probably a good … Continue reading
Posted in Data analysis
Leave a comment
A simple frequency plot
I’m currently working on a paper that uses Polish survey data (EVS 2008). I am specifically looking at regional variation in particular responses. Because there are only around 1800 observations in the survey, which are split across 66 subregions of … Continue reading
Posted in Data analysis, Graphics, R
1 Comment