Dynamic analysis of regime shifts under uncertainty: Applications to hyperinflation and privatization — doctoral thesis by Peter Richard Orszag