Skip to content

Multi-way clustering #169

@MS4510

Description

@MS4510

I was wondering whether it's possible to use multi-way clustering when computing SE in pyblp, eg, cluster by market and product. I tried:

product_data['clustering_ids0'] = product_data['product_ids']
product_data['clustering_ids1'] = product_data['market_ids']

but got the following error "ValueError: The clustering_ids field of product_data must be one-dimensional." which led me to concldue this isn't possible, but wanted to double check. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions