If you downloaded Mavericks or Yosemite from the Mac App Store, the installer is normally deleted once the installation is complete; until then, or if the installer doesn't get deleted, it'll be in the /Applications/Utilities/ folder.
If you got the OS with a Mac or from the recovery partition/Internet Recovery system, there is none.
(128513)