Warren Buffett says if you want to learn how to make money from the stock market you should look at how he made some money with two small real estate investments.



In an excerpt published by Fortune, from his upcoming annual letter to Berkshire Hathaway shareholders, Buffett writes about his purchase of a Nebraska farm and his investment in a retail property near New York University in Manhattan.

In both cases, he bought when prices were unusually low after bubbles had burst.

In both cases he had no particular expertise.

(Read more: Berkshire Hathaway's 15 biggest stock holdings )

And most importantly, in both cases he invested because he thought the assets would be increasingly profitable, not because he expected to sell at a higher price.