# Posts Tagged ‘ maths ’

## multiplicitiesoffreedom demonstrates Chaos Theory in Excel. If…

June 29, 2012
By

multiplicitiesoffreedom demonstrates Chaos Theory in Excel. If he filled in more initial values, you would see a thick bar—like a picture of white-noise. Butterflies flapping their wings in Vermont to change the wind in Hangzhou? A drop of water on ...

## How do I Create the Identity Matrix in R?

June 27, 2012
By

I googled for this once upon a time and nothing came up. Hopefully this saves someone ten minutes of digging about in the documentation. You make identity matrices with the keyword diag, and the number of dimensions in parentheses. > diag(3) [,...

## How Not To Draw a Probability Distribution

March 7, 2012
By

If I google for “probability distribution” I find the following extremely bad picture: It’s bad because it conflates ideas and oversimplifies how variable probability distributions can generally be. Most distributions are not unimodal. Most dist...

## Error Handling in Lyx & Sweave: using Quantmod (and R, of course)

November 8, 2011
By

I do reports for clients with LyX and Sweave. It took me an extremely long time to get them working, but now that they’re working I can do more in an hour and thus charge more per hour. If you’re not familiar, here’s a rundown: LaTeX is the stand...

## Error Handling in Lyx & Sweave: using Quantmod (and R, of course)

November 8, 2011
By

I do reports for clients with LyX and Sweave. It took me an extremely long time to get them working, but now that they’re working I can do more in an hour and thus charge more per hour. (Which is, like, the point.) If you’re not familiar, here’s ...

## Hey! I made you some Wiener processes!

September 7, 2011
By

Check them out. Here are thirty homoskedastic ones: > homo.wiener for (j in 1:30) {  for (i in 2:length(homo.wiener)) {          homo.wiener for (j in 1:30) {        plot( homo.wiener,           type = "l", col = rgb(.1,....

## B*tchin’ six dimensional 6-cube. The rainbow colours and…

July 1, 2011
By

B*tchin’ six dimensional 6-cube. The rainbow colours and glass panes really help this visualisation.  Examples of 6-dimensional things If it’s hard to envision 6 dimensions, consider this: the possible tunings of a guitar constitute a 6-dimensio...

## B*tchin’ six dimensional 6-cube. The rainbow colours and…

July 1, 2011
By

B*tchin’ six dimensional 6-cube. The rainbow colours and glass panes really help this visualisation.  Examples of 6-dimensional things If it’s hard to envision 6 dimensions, consider this: the possible tunings of a guitar constitute a 6-dimensio...

## Easiest way to start imagining four-dimensional things is by…

January 15, 2011
By

Easiest way to start imagining four-dimensional things is by numbering the corners of a 4-cube. First realize that the eight corners of a cube can be numbered “in binary” 000—001–010–100—110–101–011—111. Just like the four corners of ...

## Easiest way to start imagining four-dimensional things is by…

January 15, 2011
By

Easiest way to start imagining four-dimensional things is by numbering the corners of a 4-cube. First realize that the eight corners of a cube can be numbered “in binary” 000—001–010–100—110–101–011—111. Just like the four corners of ...