Articles by Ken Kleinman

Set up RStudio in the cloud to work with GitHub

January 17, 2016 | Ken Kleinman

I love GitHub for version control and collaboration, though I'm no master of it. And the tools for integrating git and GitHub with RStudio are just amazing boons to productivity. Unfortunately, my University-supplied computer does not play well with GitHub. Various directories are locked down, and I can't push or ... [Read more...]

Set up RStudio in the cloud to work with GitHub

January 17, 2016 | Ken Kleinman

I love GitHub for version control and collaboration, though I'm no master of it. And the tools for integrating git and GitHub with RStudio are just amazing boons to productivity. Unfortunately, my University-supplied computer does not play well with GitHub. Various directories are locked down, and I can't push or ...
[Read more...]

Example 2015.1: Time to refinance?

January 5, 2015 | Ken Kleinman

In the US, it's typical to borrow a fairly substantial portion of the cost of a new house from a bank. The cost of these loans, the mortgage rate, varies over time depending on what the financial wizards see in their crystal balls. What this means over time is that ...
[Read more...]

Example 2014.11: Contrasts the basic way for R

September 30, 2014 | Ken Kleinman

As we discuss in section 6.1.4 of the second edition, R and SAS handle categorical variables and their parameterization in models quite differently. SAS treats them on a procedure-by-procedure basis, which leads to some odd differences in capabilities and default parameterizations. For example, in the logistic procedure, the default is effect ...
[Read more...]

Example 2014.5: Simple mean imputation

April 25, 2014 | Ken Kleinman

We're both users of multiple imputation for missing data. We believe it is the most practical principled method for incorporating the most information into data analysis. In fact, one of our more successful collaborations is a review of software for ...
[Read more...]

Example 2014.4: Hilbert Matrix

April 14, 2014 | Ken Kleinman

Rick Wicklin showed how to make a Hilbert matrix in SAS/IML. Rick has a nice discussion of these matrices and why they might be interesting; the value of H_{r,c} is 1/(r+c-1). We show how to make this matrix in the data step and in R. We ...
[Read more...]

Example 2014.2: Block randomization

January 22, 2014 | Ken Kleinman

This week I had to block-randomize some units. This is ordinarily the sort of thing I would do in SAS, just because it would be faster for me. But I had already started work on the project R, using knitr/LaTeX to make a PDF, so it made sense to ...
[Read more...]

Example 10.8: The upper 95% CI is 3.69

December 10, 2012 | Ken Kleinman

Apologies for the long and unannounced break-- the longest since we started blogging, three and a half years ago. I was writing a 2-day course for SAS users to learn R. Contact me if you're interested. And Nick and I are beginning work on the second... [Read more...]
1 2 3 6

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)