An investigation of behavioral contagion in groups