963 search results for "latex"

Extending mtable() to ivreg, gls and robust standard errors

May 9, 2011
By
Extending mtable() to ivreg, gls and robust standard errors

I have written several extensions of the mtable() command in the memisc library that may come in handy. The methods are available in a package I have written called tonymisc (now, available on CRAN). A zipped folder with my package files is available...

Read more »

Extending mtable() to ivreg, gls and robust standard errors

May 9, 2011
By
Extending mtable() to ivreg, gls and robust standard errors

I have written several extensions of the mtable() command in the memisc library that may come in handy. The methods are available in a package I have written called tonymisc (now, available on CRAN). A zipped folder with my package files is available...

Read more »

making meat shares more efficient with R and Symphony

May 9, 2011
By
making meat shares more efficient with R and Symphony

In my previous post, I motivated a web application that would allow small-scale sustainable meat producers to sell directly to consumers using a meat share approach, using constrained optimization techniques to maximize utility for everyone involved. In this post, I’ll walk through some R code that I wrote to demonstrate the technique on a small

Read more »

What value is cross country GDP correlation? [Part One]

May 6, 2011
By
What value is cross country GDP correlation? [Part One]

The above graph borders on chartjunk (and is nothing like Paul Butler’s amazing Facebook map). We can see some variation in color but mostly it is a set of lines between 152 country capitals with no means to determine which … Continue reading →

Read more »

Bayesian Confidence Intervals: Obama’s ‘That’-Addition and Informality

May 1, 2011
By
Bayesian Confidence Intervals: Obama’s ‘That’-Addition and Informality

No “That” Left Behind? I came across a post on Language Log last week giving some evidence that Obama tends to add that to the prepared version of his speeches. For example, in a recent speech at George Washington University, … Continue reading →

Read more »

Produce Authentic Math Formulas in R Graphics

April 30, 2011
By
Produce Authentic Math Formulas in R Graphics

I remember a few weeks ago, there was a challenge in the R-help list to make the prime symbol in R graphics. In LaTeX, we simply write $X'$ or $X^\prime$. R has a rough support for math expressions (see demo(plotmath)) and they are certainly unsatisfactory for LaTeX users. In fact we can write native LaTeX

Read more »

Produce Authentic Math Formulas in R Graphics

April 30, 2011
By
Produce Authentic Math Formulas in R Graphics

I remember a few weeks ago, there was a challenge in the R-help list to make the prime symbol in R graphics. In LaTeX, we simply write $X'$ or $X^\prime$. R has a rough support for math expressions (see demo(plotmath)) and they are certainly unsatisfac...

Read more »

Export a Table Created by R to a TeX File

April 17, 2011
By
Export a Table Created by R to a TeX File

Producing tables in LaTeX might be a difficult task as we can not just copy and paste a table in the editor; we have to write all the numbers and other codes. But with the help of xtable package of R it is possible to produce all the necessary codes for producing table in LaTeX and also possible to...

Read more »

Export a Table Created by R to a TeX File

April 17, 2011
By
Export a Table Created by R to a TeX File

I am using xtable package of R to produce all the necessary codes for producing table suitable for LaTeX, and also discussing how to export the codes to a tex file. Producing tables in LaTeX might be a difficult task as we can not just copy and paste a table in the editor; we have to write all the...

Read more »

Introduction to Cointegration and Pairs Trading

April 15, 2011
By
Introduction to Cointegration and Pairs Trading

Introduction Suppose you see two drunks (i.e., two random walks) wandering around. The drunks don’t know each other (they’re independent), so there’s no meaningful relationship between their paths. But suppose instead you have a drunk walking with her dog. This … Continue reading →

Read more »