# LaTeX in WordPress

As part of a recent post on ridge and lasso regression techniques in R I wanted to present two mathamatical formulas. I checked for WordPress plugins that used LaTeX, but I learned you have to migrate your blog from WordPress.com to WordPress.org and I didn’t want to have to deal with that. Turns out I … Continue reading LaTeX in WordPress

# LaTeX in Stata

When doing my second HW for correlated data I came across some Stata packages that export LaTeX code directly. They are pretty similar to xTable in R. The first is the latabstat command, which is great at producing summary statistics. It outputs a LaTeX file that you can cut and paste into whatever program you are … Continue reading LaTeX in Stata

# N-th Derivative of Special Function

MIT has a cute little problem in their calculus problem set, which you can see here. I like this problem because it takes something complicated and shows that it actually reduces down to something very simple. To start this problem off let’s suppose we have a function that we can write as the product of … Continue reading N-th Derivative of Special Function

# Simple Random Walk – Method 1

Suppose we consider a simple random walk. A particle starts at initial position and moves one unit to the left with probability and moves one unit to the right with probability . What is the expected position of the particle after steps? I will calculate the expected value using two different methods. The second method … Continue reading Simple Random Walk – Method 1