Author Archives: Ananda

The new sample size calculator for R (already)

aka “Maybe I shouldn’t post so quickly” Just hours ago, I posted my first set of functions for R to determine the sample size for a known population. Then, I had to update that post to reflect my newfound knowledge, and now, I thought I would update again, so that the best functions I came [...]

Posted in (all categories), Geekiness, Useless Knowledge | Tagged , , , , , | 7 Comments

A sample size calculator function for R

IMPORTANT: This is here mostly to remind me of how I solved my problem. You should read The new sample size calculator for R (already) if you really want to use this function. In the research class at the Tata-Dhan Academy, students are currently getting into sampling, so I thought I would introduce them to [...]

Posted in (all categories), Geekiness, Useless Knowledge | Tagged , , , , | 2 Comments

Using the reshape package in R for pivot-table-like functionality

A little more than a week ago, I wrote about creating pivot tables in Microsoft Excel and OpenOffice.org. I also mentioned that I would explain how to do similar calculations by using R. This post will explain how to achieve similar results in R by using the reshape package. I had initially started experimenting with [...]

Posted in (all categories), Geekiness, Useless Knowledge | Tagged , , , , , , , , , , , | 8 Comments

Sometimes, I wish I could turn my editing eyes off

… but if I did, then I would probably miss out on some of the fun that Indian English has to offer.

Posted in (all categories), Humor, India, Pictures | Tagged , , , , , , , | 1 Comment

Pivot Tables in Excel and OpenOffice.org Calc

One of the features I find useful in Excel is the ability to create “pivot” tables. Essentially pivot tables let you summarize big tables of data in different ways, using different variables to “pivot” your data around (hence the name, I guess). Pivot tables are most easily understood through an example, so here’s one done [...]

Posted in (all categories), Geekiness, OpenOffice.org, Useless Knowledge | Tagged , , , , | Leave a comment

Getting data into R

When you first open R, you’re greeted with a screen similar to the following: ?View Code RSPLUS1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 R version 2.10.0 (2009-10-26) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0   R is free software [...]

Posted in (all categories), Geekiness, Useless Knowledge | Tagged , | Leave a comment

The awesomeness that is WordPress and child themes

After a long long long time, I decided to get back into some actual website experimentation. For a while, I was really lazy with my site design and settled on using the Atahualpa theme. This was a great be-lazy theme, but I noticed that while browsing other sites, it often became too obvious which sites [...]

Posted in (all categories), CSS, Geekiness, Website | Tagged , , , , , | Leave a comment

R is like a giant calculator for grownups

One of the things that is interesting about R is how flexible it is. One of the fun things about it is how interactive it can be. While my examples so far have been a little bit more involved, it can be useful to spend some time just getting acquainted with how R performs basic [...]

Posted in (all categories), Geekiness, Useless Knowledge | Tagged , | 1 Comment

What some of the other people are doing….

I thought I’d take a break from my ego-centric rambling and share a little bit about what other people are doing…. Amy’s busy creating her own website, hosted at http://www.tnsms.org. No, it’s not about text messages from your Tamil Nadu mobile phone; it’s an abbreviation for “Tamil Nadu Socioeconomic Mobility Survey.” Just putting the site [...]

Posted in (all categories), General News | Leave a comment

A little spark for presenting your data

For some reason, I’ve been obsessing over the presentation of data. (Either it is that I’ve just read all of Edward Tufte‘s books, or I’m just being a nerd. But I guess that those two things aren’t exactly exclusive….) Considering my obsession, you could imagine how I felt when one of my students stood up [...]

Posted in (all categories), Geekiness, OpenOffice.org, Useless Knowledge | Tagged , , , | 2 Comments