<a id="sphx-glr-auto-examples-factor-models"></a>

<a id="factor-models-examples"></a>

<a id="factor-models"></a>

# Factor Models

Examples about [`CharacteristicsFactorModel`](https://skfolio.org/generated/skfolio.prior.CharacteristicsFactorModel.html.md#skfolio.prior.CharacteristicsFactorModel): building a
characteristics factor model from an [`AssetPanel`](https://skfolio.org/generated/skfolio.containers.AssetPanel.html.md#skfolio.containers.AssetPanel),
diagnosing it, and using it for portfolio construction, attribution and alpha
integration.

<div id='sg-tag-list' class='sphx-glr-tag-list'></div><div class="sphx-glr-thumbnails">
<div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows how to build a characteristics-based cross-sectional factor model with CharacteristicsFactorModel. The methodology is covered in the Factor Models user guide.">![](auto_examples/factor_models/images/thumb/sphx_glr_plot_characteristics_factor_model_thumb.png)

[Characteristics Factor Model](https://skfolio.org/auto_examples/factor_models/plot_characteristics_factor_model.html.md)

  <div class="sphx-glr-thumbnail-title">Characteristics Factor Model</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows how to build a dollar-neutral long-short portfolio with factor tilts, using the characteristics-based cross-sectional factor model CharacteristicsFactorModel and the optimizer MeanRisk. The methodology is covered in the Portfolio Construction and Attribution sections of the user guide.">![](auto_examples/factor_models/images/thumb/sphx_glr_plot_factor_constrained_portfolio_thumb.png)

[Factor-Constrained Portfolio and Attribution](https://skfolio.org/auto_examples/factor_models/plot_factor_constrained_portfolio.html.md)

  <div class="sphx-glr-thumbnail-title">Factor-Constrained Portfolio and Attribution</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows how to research an alpha signal that forecasts the idiosyncratic returns of the characteristics-based cross-sectional factor model CharacteristicsFactorModel, and how to trade it in a factor-neutral long-short portfolio. The methodology is covered in the Alpha Estimators and Portfolio Construction sections of the user guide.">![](auto_examples/factor_models/images/thumb/sphx_glr_plot_alpha_factor_neutral_portfolio_thumb.png)

[Alpha Research and Factor-Neutral Portfolio](https://skfolio.org/auto_examples/factor_models/plot_alpha_factor_neutral_portfolio.html.md)

  <div class="sphx-glr-thumbnail-title">Alpha Research and Factor-Neutral Portfolio</div>
</div>
</div>
