DidTheMath – Telegram
[Request] Need help figuring out if below couch with fit through a 29.5 inch wide doorway
https://redd.it/1qk0rt5
@TheyDidTheMath
[Request], chances of both players having same hand in 1v1 crib
https://redd.it/1qk4ruo
@TheyDidTheMath
Request Using Shannon entropy to measure portfolio diversity - is this the right approach?

I've been exploring cross-domain applications of information theory and wanted to share an interesting calculation: using Shannon entropy to quantify portfolio diversity.



The Mathematical Setup:



Given portfolio weights w = [w₁, w₂, ..., wₙ\] where Σwᵢ = 1:



H(w) = -Σ(wᵢ × log₂(wᵢ))



Normalized: H_norm = H(w) / log₂(n) × 100



Example Calculations:



\- Portfolio A: [0.60, 0.30, 0.10\] → H = 1.30 → Score: 82/100

\- Portfolio B: [0.33, 0.33, 0.34\] → H = 1.58 → Score: 100/100

\- Portfolio C: [0.85, 0.10, 0.05\] → H = 0.74 → Score: 47/100



Portfolio A has more concentration risk despite having the same number of positions as Portfolio B.



Questions:



1. Is Shannon entropy the right metric for measuring non-uniform distribution? Or would KL divergence from uniform be better?



2. Should weights be correlation-adjusted? (e.g., two highly correlated positions = less actual diversity)



3. For the Taylor series approximation of ln(x), is 20 iterations sufficient for accuracy?



I built a tool that does these calculations: https://3bvys-4aaaa-aaaap-qrfua-cai.icp0.io/



Is this mathematically sound? What would you improve?

https://redd.it/1qk5xuc
@TheyDidTheMath
[Request] What WOULD happen?
https://redd.it/1qk8ibd
@TheyDidTheMath
Request Could you build a house using TVs cheaper than a normal house?

OK. I'm going to cheat a bit on "house" on this one. But could you make a shell of a house cheaper using Black Friday deal TVs than you could build a similar square footage house?

No money is spent connecting the TVs to each other. We are shooting for a 1900 sq-ft house. TVs will be all walls and roof (shell only no interior walls).

What's the price per square foot as compared to just buying a house in different cities?

https://redd.it/1qk89ok
@TheyDidTheMath
When Tony Montana stuck his face in the pile of coke at the end of Scarface and snorted, was this enough to kill an average person? [request]
https://redd.it/1qkba0i
@TheyDidTheMath
[Meta] Americans will use anything but the metric system: Winter Storm edition
https://redd.it/1qkcu43
@TheyDidTheMath
This media is not supported in your browser
VIEW IN TELEGRAM
[Request] How much energy would the GTA train need to move all these vehicles?

https://redd.it/1qkceua
@TheyDidTheMath
[Request] how practical is buying the USA?
https://redd.it/1qkfexu
@TheyDidTheMath
This media is not supported in your browser
VIEW IN TELEGRAM
[Request] At which temperature freezing water become warmer than ambiant air?

https://redd.it/1qkdb9h
@TheyDidTheMath
[Request] How long would it take you to make 2 billion by choosing the second door?
https://redd.it/1qkkmza
@TheyDidTheMath
[Request] If the Switch was split in half with one cut, how much force did the mother apply with her cleaver?
https://redd.it/1qkmjg7
@TheyDidTheMath
This media is not supported in your browser
VIEW IN TELEGRAM
How much energy does it take for a similar weapon to work against humans? [Request]

https://redd.it/1qkmkwm
@TheyDidTheMath