FaceKicker
Joined 17 years ago
Joined 17 years ago
Right, my point is that those costs are essentially fixed w.r.t miles driven, not that you wouldn't need those things. If you drive 36000 miles a year as a Lyft driver your car payment is still the same as someone who drives 12000 miles a year, whereas the author's model assumes the payment would be 3x as much. And re insurance, I know insurance companies take mileage into account in determining insurance premium, but it's certainly not the only thing in the formula.
Doesn't that $9100 a year median include a bunch of fixed costs (or at least costs that wouldn't grow linearly with the mileage driven)? e.g., the lease/cost of car itself, insurance, etc. I'm not saying this would take the profitability of being a Lyft driver from pretty terrible to great, but it does seem like a pretty significant oversight.
In matlab/octave you can write an empty range as a(i:i-1). Not to say that that's at all elegant or aesthetically appealing, but it does work. But I 100% agree with the sentiment; one of my favorite things about using NumPy rather than matlab in my research code is the vastly superior indexing, in large part due to the fact that it's 0-based. matlab's indexing really is painful and off-by-one-error prone for doing anything other than a(1:n).
Scenario B: The setup is (1) lose $100 (current state is -$100, 0 tickets). The choices are the same as above.
The final 'state' at the end of each setup is the same, and the choices are the same, so the argument is that a rational actor would make the same choice in both situations. Maybe there's an argument that the state should include more than just $ and tickets though?