With Green's function: local density of states (LDOS) and local density-density response (LDDR)