when do babies start waving hi/bye and clap hands etc?

FTM and some of the posts I've seen, people's babies are able to clap hands on cue and wave as well. I know all babies are different but is there a ballpark figure for when they are supposed to be able to do this? What can I do to encourage it?