Publications by Daniel's Blog
What is reproducible research?
I was asked about my understanding of reproducible research, and how that applies to social research. Here is how I see: Reproducible research is key to any scientific method, including applied social sciences. My minimalist understanding of reproducible research is quite simple: The capacity of repeating an experiment in any place with any pers...
1060 sym 2 img
Calculating Memory Requirements
I had a conversation with people at the office about size and memory requirements that a computer must have to deal with a data frame. It started like this: suppose you have a data frame with 2,000,000 rows and 250 columns, all of which are numeric data (2,000,000 × 250 × 8 bytes/numeric). Roughly saying, how much memory is required to store t...
1419 sym R (189 sym/4 pcs)
Yet the Worst Olympic Chart
Ah, the numbers! The Olympic Games are back in high style in Rio. Despite Brazil’s sluggish economy and unfulfilled promises for this Summer Olympic Games, I’d say, my expectations were met yesterday with such a beautiful opening ceremony. Let’s follow the competition over the next few days–the pressure to perform has only just begun. One...
1630 sym R (990 sym/2 pcs) 4 img
The Effective Number of Parties in the Electorate by Year and Region
Tasks: Compute the Effective Number of Parties by year and region Using the American National Election Studies, compute the Effective Number of Parties in the electorate across regions and years/waves. The data The data come from The American National Election Studies (ANES). The ANES is a survey that covers voting behavior, public opinion, and...
3547 sym R (1614 sym/5 pcs) 2 img
May the Force of R be With You, Always!
With my Telegram account connected to @TeleR, the force of R can always be with me, where I have data. The following is a screenshot of my mobile: If you want to have R where you are too, you will only need a Telegram account, then search for the public username @Tele_R, starting a new chat with. Thanks to TeleMath Team, you will be able to send...
790 sym 2 img
UK General Election 2017: May vs June
Pundits have been asking themselves over the last days how did Theresa May’s gamble fail? Although the Conservative party received 42% of the vote, Labour received 40%, and all the other parties received 18% between them. The Tories lost their parliamentary majority in an election they purposively called when they were told they were 20 points...
2446 sym R (3086 sym/7 pcs)
Journalism: A Highly Dangerous Job Around the World
Motivation What comes to your mind when you think about the most dangerous jobs in the world? The other day I was talking to a friend about high-risk professions. She told me journalism would be a risky one. At first I laughed at her, since she’s a journalist. However, after she give me some supporting clues I decided to conduct a little resear...
3933 sym R (5654 sym/13 pcs) 12 img
Will Brazil Goes to a Instant Runoff Election?
Alea Jacta Est This is the very last analysis before the election. A far-right nationalist candidate, Jair Messias Bolsonaro, is leading the polls with about 40% of the intentions, while the runner up candidate, Fernando Haddad, of a leftist coalition has about 25%; all the others have 35% in total. A very intriguing debate put forward in the pre...
3333 sym R (4423 sym/13 pcs) 2 img