The study on urinary tract infections was based in Southern California, but researchers said the findings may apply to communities across the United States.