My understanding is that around 60-70% of the homeless in SF used to have a home/work and wish to be productive members of society but have fallen on hard times for one reason or another. So 30-40% are in the "wouldn't take the housing if you gave it to them" group.