How do you measure portfolio risk

"It’s tough to make predictions, especially about the future"
-Yogi Berra

But it might be fair to say AI/Tech is in a crisis state now. One Hidden Markov Model (HMM) would say so anyway:

For those interested in the persistence of that state here is the transition matrix which is diagnonally dominant, meaning each state is likely to persist:

The positive predictive value for a single day is weak. This model says we have a 47% chance that XLK with be down today for example. Not much better than a coin flip,

But from Claude:

Disclaimer: I hold a small mount of XLK and I am not sure that I am going to move out of it. Some of this was just to learn about HMM models and maybe where to apply them in the future. Not necessarily here. But I do find this interesting.

Addendum for all 9 of the SPDR ETFs (1.91x would mean 1.91 times as likely):

Brier Skill Scores for WFA:

ETF BSS (binary) BSS (iso pcrisis)
XLF 17.5% 23.0%
XLY 2.5% 7.7%
XLU 4.5% 7.2%
XLE 4.6% 5.9%
XLK 2.9% 4.2%
XLV 1.4% 3.8%
XLP 0.1% 3.9%
XLI 1.0% 2.8%
XLB 0.8% 2.3%

I asked Claude for some general idea of how good this skill level (BSS) is:

Hmm…….Then again, I might use some version of this to reduce tail risk.