Skip to content
Prev 6675 / 15274 Next

Incorrect Formula in table.CAPM?

On 09/17/2010 07:43 AM, devlinme at mac.com wrote:
I've always been uncomfortable with the code for this table.  In an 
attempt to make it run marginally faster, the calculations are done 
inside the table. function rather than calling the underlying (and more 
closely examined) standalone functions.

This introduces the strong possibility of cut and paste errors, or of 
fixes or improvements from other parts of the code not propagating 
properly into the table (as happened in this case, from a glance at the 
commit logs).

Given my little rant above, I've changed the function to simply call 
TrackingError(), and committed it as R-Forge r1763.

Thank you for the report.  We appreciate the feedback and careful 
commentary.

Regards,

   - Brian