Saturday, July 31, 2010

Evaluating a scheme buffer - gnu.emacs.help | Google Groups

Evaluating a scheme buffer - gnu.emacs.help | Google Groups


> I would like to write an emacs function to evaluate a buffer that it
> in scheme mode; let's call it eval-scheme-buffer . Even better would
> be to write a function eval-buffer that evaluates a buffer in whatever
> mode the buffer is in (like Common Lisp). I am using inferior modes
> here.

> How is this done?

Have a look at inf-lisp.el where lisp-eval-region and others are defined.

Naive Bayes classifier - Wikipedia, the free encyclopedia

Naive Bayes classifier - Wikipedia, the free encyclopedia

A Bayes classifier is a simple probabilistic classifier based on applying Bayes' theorem (from Bayesian statistics) with strong (naive) independence assumptions. A more descriptive term for the underlying probability model would be "independent feature model".

In simple terms, a naive Bayes classifier assumes that the presence (or absence) of a particular feature of a class is unrelated to the presence (or absence) of any other feature. For example, a fruit may be considered to be an apple if it is red, round, and about 4" in diameter. Even if these features depend on each other or upon the existence of the other features, a naive Bayes classifier considers all of these properties to independently contribute to the probability that this fruit is an apple.

Thursday, July 29, 2010

Magic Formula Investing: Will It Work? - The Finance Buff

Magic Formula Investing: Will It Work? - The Finance Buff

The problem with this magic formula is that it does not prevent you from selecting losers. It’s a pure statistic method which, as far as we are concerned, is open to further improvement.

Determining which stocks are undervalued or which are justly beaten up, is a very difficult task, which we believe is best executed by people who know the company very well, the insiders. What’s even more important about inside tradings is that when executives bought shares in their own companies, the stock tended to outperform the total market by 8.9% over the next 12 months. Conversely when they sold shares, the stock underperformed the market by 5.4% (Nejat Seyhun, a renowned professor and researcher in the field of insider trading at the University of Michigan).

Wednesday, July 28, 2010

Net Working Capital Strategy: Historical Perspective « Stableboy Selections

Net Working Capital Strategy: Historical Perspective « Stableboy Selections

Economics of green energy

Why did Warren Buffett pay $44bn for a ticket to ride? - Telegraph

Saw this interesting comment about wind and solar energy (not written by Buffett, though):

Let's not forget that energy storage is quickly becoming a piece of the energy puzzle. As a company which stores and transports unsold energy from wind and solar producers, the train is our "Supertanker", bringing the energy in SeaLift containers to our facilities via road, rail, barge and ship.

Tactical use of stored wind and solar energy is expensive, however, it requires about $360 per linear foot to put in high voltage transmission lines, so even the current $500 per Kwh cost of storage would be competitive, though not very profitable. As the cost of storage is expected to be 1/3 of the current cost in 3 to 5 years, the more volume you can move, the more energy you can deliver-all without nuke, gas or coal plants being built. Many energy "farmers" would otherwise remain "off-the-grid". After storing this energy it can be moved anywhere it is needed and can fetch a higher tariff, like from a wind farm into a major metro area. Perhaps as Mr Buffett owns a mid-American power utility and a chunk of GE and BYD Cars (China), he is also thinking about the future of transportable green energy (which could also power the train BTW) and its by-products.

Tuesday, July 27, 2010

Evaluating a scheme buffer - gnu.emacs.help | Google Groups

Evaluating a scheme buffer - gnu.emacs.help | Google Groups

> I would like to write an emacs function to evaluate a buffer that it
> in scheme mode; let's call it eval-scheme-buffer . Even better would
> be to write a function eval-buffer that evaluates a buffer in whatever
> mode the buffer is in (like Common Lisp). I am using inferior modes
> here.

> How is this done?

Have a look at inf-lisp.el where lisp-eval-region and others are defined.

Take the ROCE road to bypass debt - Intelligent Investor

Take the ROCE road to bypass debt - Intelligent Investor

How do you tell a good company from a bad one? It’s a fundamental question every investor must come to grips with and there’s no easy answer because each company is different. However, if asked to nominate just one financial ratio, many would select return on equity, or ROE as it’s commonly abbreviated.

We looked at ROE and its stablemate, return on capital employed (ROCE), in the second of a three-part series on ‘corporate metabolism’ starting in issue 169. Both can be indicators of economic strength. A company with a high return on its invested capital is more likely to generate better returns for its owners. Generally speaking, that’s because it will require less capital to maintain or grow its business.