Pain had a stronger influence on the number of behavioral and psychiatric symptoms of dementia among those with severe cognitive impairment ( F@ ,@ = @ , P < @ ) compared with those with low to moderate cognitive impairment ( F@ ,@ = @ , P = @ . )