Statistical analysis of locally stationary processes