1. A method of analyzing distortion in a circuit, comprising: determining an operating point for the circuit, the circuit having a linear offset and a nonlinear offset for analyzing distortion at the operating point; determining first-order output values by using the linear offset to relate an input having an input frequency with the first-order output values; specifying one or more devices for analyzing the circuit; determining first nonlinear-offset values for the one or more devices at twice the input frequency and at a zero frequency by evaluating the nonlinear offset at values based on the first-order output values; determining second-order output values for the one or more devices at twice the input frequency and at the zero frequency by using the linear offset to relate the second-order output values with the first nonlinear-offset values; determining second nonlinear-offset values for the one or more devices at the input frequency by evaluating the nonlinear offset at values based on the first order-order output values and the second-order output values; determining third-order output values for the one or more devices at the input frequency by using the linear offset to relate the third-order output values with the second nonlinear-offset values; and saving at least some values based on the output values in a computer-readable medium.