Vitalik Buterin
@vitalik.eth
Medians are vulnerable to some interesting statistical paradoxes that means are not. For example, consider this scenario: * The median family owns $100k in real estate * The median family owns $100k in DOGE * The median family net worth is $100k * Nobody has any debt This is possible! Challenge: figure out how.
17 replies
62 recasts
206 reactions
Vitalik Buterin
@vitalik.eth
Challenge 2: the median family also owns $100k in stocks. Median net worth is still $100k. Figure out how.
3 replies
0 recast
1 reaction
Vitalik Buterin
@vitalik.eth
Challenge 3: generalize to an arbitrary number of asset classes.
2 replies
1 recast
11 reactions
Steve
@stevehere.eth
@nor's is the most generalizable solution given, IMO: For n assets, where the median is $y: 1) Create (n-1) families with $(y+1) of each asset type 2) For each asset type, create 1 family with ONLY $y of that asset An odd # of families (n - 1 + n) is always created via this method.
1 reply
0 recast
0 reaction
Steve
@stevehere.eth
EDIT: The $(y+1) defined in step (1) could be substituted for $y, as it still gives the desired outcome. In its most relaxed form, $(y+1) can be substituted for $p, wherein p >= y.
0 reply
0 recast
0 reaction