Comparative statics is a method used in economics to analyze how changes in exogenous variables affect endogenous variables in a model. It involves comparing the equilibrium values of the endogenous variables before and after a change in the exogenous variables. This allows economists to understand the direction and magnitude of the effects of changes in the economy.