Analyzing Contingencies of Behavioral and Cultural Selection