Monthly Archives: April 2013

PSID data set builder for R

April 14, 2013
By

Economists frequently use public datasets. One frequently used dataset is the Panel Study of Income Dynamics, short PSID, maintained by the Institute of Social Research at the University of Michigan.I'm introducing psidR, which is a small helper packag...

Read more »

Predicting Dichotomous Outcomes I

April 14, 2013
By
Predicting Dichotomous Outcomes I

We are trying to predict a dependent dichotomous variable (male/female, yes/no, like/dislike,etc) with independent “predictor” variables. Let’s say we want to determine whether or not an employee will quit based on the percentage of their tenure spent traveling. We assemble the data from HR and erroneously employ simple linear regression to model the relationship, a

Read more »

Using R — Working with Geospatial Data

April 14, 2013
By
Using R — Working with Geospatial Data

This entry is part 6 of 12 in the series Using RGIS, an acronym that brings joy to some and strikes fear in the heart of those not interested in buying expensive software. Luckily fight or flight can be saved for another day because you …   read more ...

Read more »

Tip: Julia vs. R – introduction videos and more

April 14, 2013
By

Last years UseR 2012 conference in Nashville had an interesting discussion session titled “What other languages should R users know about?“. General consensus was that multilingualism is inevitable in modern computing, and panel members presented various languages that complement R in different ways. Some of the usual suspects included SQL, python, and of course C++, ...

Read more »

Continuing Sync

April 14, 2013
By
Continuing Sync

I am continuing in Sync: How Order Emerges from Chaos in the Universe, Nature, and Daily Lifeby Steven Strogatz. To get a feeling on it, I was building a group of things which have only a minute influence on each other are able to synchronize thei...

Read more »

Benchmarking Machine Learning Models Using Simulation

April 13, 2013
By
Benchmarking Machine Learning Models Using Simulation

What is the objective of most data analysis? One way I think about it is that we are trying to discover or approximate what is really going on in our data (and in general, nature). However, I occasionally run into people think that if one model fulfills our expectations (e.g. higher number of significant p-values or accuracy) than it...

Read more »

Using ddply to select the first record of every group

April 13, 2013
By
Using ddply to select the first record of every group

I had a very long file of monetary transactions (about 207,000 rows) with about two handfuls of columns describing each transaction (including date).  The task I needed to perform on this file was to select the value from one of … Continue reading →

Read more »

Webinar Follow-Up: First Batch of Answers to Overflow Questions

April 13, 2013
By

We’re delighted with the response to our webinar, Big Analytics for R Users without Big Hassles. Attendees were engaged and we didn’t have time to answer all the questions submitted through the chat window. We’ll answer the overflow questions in batches. Here’s the first batch. Is SciDB performance optimized for 2D arrays and 3D arrays?

Read more »

Motivating Students

April 13, 2013
By
Motivating Students

Figure shown to students in a particular class to show the effect of slacking after the mid-semester grades are received.Background information: A course has multiple components - Exams, projects, quizzes, assignments, etc. The objective of this set of...

Read more »

knitr documents with tikzDevice graphics

April 13, 2013
By

Setting up tikzDevice output in knitr may be a frustrating task, but gives outstandingly aesthetic, LaTeX-like figures. Here are my global knitr settings for typesetting documents in Polish (in UTF-8, make sure your R also runs in a Unicode locale…Read more ›

Read more »

Sponsors

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)