jnordwick
Joined 11 years ago
Joined 11 years ago
Do the payout between 0 and 1 as the percentage of the amount.
With a range of 1 to 1 to pay off is obviously one
With a range of 1 to 2 the payout is .5
At three values it becomes more interesting. There are two strategies for the candidate either a binary search for the endpoints.
At four values you still have one level of binary search possible but after that it devolves down to the two value problem.
At five values. If the interviewer thinks the candidate would choose binary search and it becomes too too value problems on each side after removing the middle element.
There's definite problems with this but I wonder if he's already possible pay off matrix
My ta told me that everybody should take the class twice when you first come in and when you're graduating.
When you first take it especially if you know other languages like C at the time you don't get the full depth of the problems you're given a great introduction and you think you understand everything but you don't realize the depth of complexity. Message passing the metacircular evaluator, continuations as the basis of all flow control, etc
You think they are neat tricks that you understand the curriculum because you can do the homework you don't understand how those neat tricks are really the basis of everything else you'll do.
When you're graduating you've had time to go through all your classes you realize just how foundation was principles are and you get so much more out of the book.
Well I didn't take the class a second time I need help grade and TA for a couple semesters.
I work as a quant developer and in trading now and even though my field has nothing to do with that I still think it's the basis of me as a developer.
> In January 1999, the BLS began using a geometric mean formula in the CPI that reflects the fact that consumers shift their purchases toward products that have fallen in relative price. [It continues by saying it allows substitution withing categories and not between categories.]
This is exactly what I was saying. It has become a cost of living index, not a measure of inflation anymore. The hedonic adjustments can be laughably hand-wavy (it is a very difficult problem on how you measure inflation when using CPUs -- the real answer is you shouldn't and CPI's basked is a bad bad way to do it). That FAQ is always pretty funny and defensive (a lot of "give us a break -- it doesn't really affect anything much").
> Even for people who don't own their home, new york has rent control, which provides similar inflation protections compared to owning a home.
This is one of the huge issues. (1) Not sure if you live near NYC, but ask any new yorker about how much rent control has helped -- the answer is usually pretty low. don't have a heart attack looking at this rental rise in the last 5 years https://comptroller.nyc.gov/reports/spotlight-new-york-citys...
However that isn't the important part - rent control shouldn't effect measures of inflation -- this is precisely why CPI is bad. You can't legislate away inflation, you mere push the money around and prices rise asymmetrically but you still have the fundamental issue that CPI no longer even tries to measure -- too many dollas chasing too few goods. So you stop some of using those dollars on housing -- they just bid of something else instead.
CPI is a terrible horrible very bad measure of inflation. Its been that way since the 70s at least when the concept was turned on its head.
The first is you're using the Nationwide averages as opposed to the regional numbers for New York where a lot of these increases are much greater than on the nation.
The second thing is the way it includes housing is by using a thing called the owners imputed rent. And what that does is it tries to back out the rental from a housing unit. The problem is in New York City rent has been rising way faster than that.
30 is the cpi's consistently underestimated a number of its own provisions because of the way it does hedonics and substitution. It basically says that while meat might have risen 50% people switch to fish now and it uses in lower value for inflation.
The CPI over the last 30 years have been so massively game it's almost useless anymore