Blog Archives

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...

Read more »

Once you’re comfortable with 2-arrays and 2-matrices, you…

October 15, 2011
By
Once you’re comfortable with 2-arrays and 2-matrices, you…

Once you’re comfortable with 2-arrays and 2-matrices, you can move up a dimension or two, to 4-arrays or 4-tensors. You can move up to a 3-array / 3-tensor just by imagining a matrix which “extends back into the blackboard”. Like a 5 × 5 ma...

Read more »

Once you’re comfortable with 2-arrays and 2-matrices, you…

October 15, 2011
By
Once you’re comfortable with 2-arrays and 2-matrices, you…

Once you’re comfortable with 2-arrays and 2-matrices, you can move up a dimension or two, to 4-arrays or 4-tensors. You can move up to a 3-array / 3-tensor just by imagining a matrix which “extends back into the blackboard”. Like a 5 × 5 ma...

Read more »

Hey! I made you some Wiener processes!

September 7, 2011
By
Hey! I made you some Wiener processes!

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,....

Read more »

Hey! I made you some Wiener processes!

September 7, 2011
By
Hey! I made you some Wiener processes!

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,....

Read more »

Seriously … why don’t math classes use computers?…

August 31, 2011
By

Seriously … why don’t math classes use computers? Excel, simple Python scripts, Mathematica / Sage, everything beyond the TI-83. Kids could be creating totally sweet visuals instead of cribbing formulae. And thinking instead of copying. I can sa...

Read more »

Seriously … why don’t math classes use computers?…

August 31, 2011
By

Seriously … why don’t math classes use computers? Excel, simple Python scripts, Mathematica / Sage, everything beyond the TI-83. Kids could be creating totally sweet visuals instead of cribbing formulae. And thinking instead of copying. I can sa...

Read more »

"My interpretation of [Leland Wilkinson’s] grammar [of statistical graphics]: —Data is the most…"

August 25, 2011
By
"My interpretation of [Leland Wilkinson’s] grammar [of statistical graphics]: —Data is the most…"

“My interpretation of grammar : —Data is the most important thing, and the thing that you bring to the table. —Geometric objects … what you actually see on the plot: points, lines, polygons, etc. ...

Read more »

"My interpretation of [Leland Wilkinson’s] grammar [of statistical graphics]: —Data is the most…"

August 25, 2011
By
"My interpretation of [Leland Wilkinson’s] grammar [of statistical graphics]:
—Data is the most…"

“My interpretation of grammar : —Data is the most important thing, and the thing that you bring to the table. —Geometric objects … what you actually see on the plot: points, lines, polygons, etc. ...

Read more »

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

July 1, 2011
By
B*tchin’ six dimensional 6-cube. The rainbow colours and…

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...

Read more »