Installing Mavericks on brand new Macbook with Yosemite?
Simple answer, I'm afraid - No.

Unless you buy a machine right on the cusp of a new OS release, it will never be able to boot from an OS that was released before that machine existed.
There are no hardware drivers for it, at the most basic level and it's a pretty dangerous thing to do according to Apple.