1304 search results for "Excel"

Putting Robust Standard Errors into LaTeX Tables: An Extension of mtable

May 3, 2011
By
Putting Robust Standard Errors into LaTeX Tables: An Extension of mtable

I recently discovered the mtable() command in the memisc library and its use with toLatex() to produce nice summary output for lm and glm objects in a nicely formatted table like this:Once you have your linear model objects, all you need is one command...

Read more »

Estimate Gene Diversity

May 3, 2011
By
Estimate Gene Diversity

I provide here an R function to estimate gene diversity of diallelic sites (e.g. SNPs), given allele frequencies at each segregating site. The function takes three input parameters: maf: a numeric value (or vector) representing minor allele frequency at each site. Default is 0.5 nreads: size of each resampling experiment. Default is 10000. nreplicates: Number

Read more »

Ecological SEMs and Composite Variables: What, Why, and How

May 2, 2011
By
Ecological SEMs and Composite Variables: What, Why, and How

I’m a HUGE fan of Structural Equation Modeling. Heck, I’ve even begun teaching short SEM workshops. (seriously, if you want, email me and we’ll talk). For those of you unfamiliar with the technique, it’s awesome for three main reasons. It’s a method of teasing apart direct and indirect interactions in your data. It allows you

Read more »

Introducing R in the Enterprise

May 2, 2011
By
Introducing R in the Enterprise

We've introduced R in the organization!It is running along with the heavy weights of statistical analysis like SAS, SPSS, Matlab. Here's what we did and how we did it...HOW DID IT START?I started learning R last year and loved its simplicity and power....

Read more »

Introducing R in the Enterprise

May 2, 2011
By
Introducing R in the Enterprise

We've introduced R in the organization!It is running along with the heavy weights of statistical analysis like SAS, SPSS, Matlab. Here's what we did and how we did it...HOW DID IT START?I started learning R last year and loved its simplicity and power....

Read more »

Review of the R Cookbook

May 2, 2011
By

While we were at R/Finance in Chicago over the weekend (more on that later), it was a great pleasure to meet in person Paul Teetor, author of the R Cookbook (published by O'Reilly). If you haven't picked it up yet, I recommend checking it out: if you already have a basic familiarity of the R syntax, but want to...

Read more »

Example 8.36: Quadratic equation with real roots

April 29, 2011
By
Example 8.36: Quadratic equation with real roots

We often simulate data in SAS or R to confirm analytical results. For example, consider the following problem from the excellent text by Rice:Let U1, U2, and U3 be independent random variables uniform on . What is the probability that the roots...

Read more »

Of Height and Speed in Tennis, or Fuzziness and Techiness in College

April 24, 2011
By
Of Height and Speed in Tennis, or Fuzziness and Techiness in College

I thought of this after reading this post and perhaps also this one, one the Cheap Talk blog. Here's the puzzle: in general, being tall does not make you slow; but among professional tennis players, the tall athletes do tend to be relativel...

Read more »

RcppArmadillo 0.2.19

April 24, 2011
By

Last Monday, Conrad Sanderson released version 1.2.10 of his most excellent Armadillo templated C++ library for linear algebra; I followed up the same day with version 0.2.19 of our RcppArmadillo wrapper for R based on our Rcpp library. However, the...

Read more »

Big data problems

April 22, 2011
By
Big data problems

I have big data problems.I need to analyze 100s of millions of rows of data and tried hard for 2 weeks to see if I can use R for this. My assessment so far from the experiments...1) R is best for data that fits a computer's RAM (so get more RAM if...

Read more »