Essays on Dynamic Unobservable Heterogeneity