Skip to content

Beta equation error in solutions/capm.py ? #4

@arikanderu

Description

@arikanderu

beta is calculated as:
beta = stock_cov / market_variance
where: stock_cov = market.corr(coca)

But it should be: stock_cov = market.cov(coca)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions