Diode compensation uses a diode connected across the base-emitter junction of a transistor amplifier to stabilize the operating point against variations in the transistor's current gain and leakage current due to temperature changes. As temperature increases, the diode's leakage current also increases, decreasing the base current and keeping the collector current constant. Thermistor compensation uses a thermistor in parallel with a resistor; as temperature rises, the thermistor's resistance decreases, increasing the current through it and another resistor to compensate for the increased collector current. Sensistor compensation similarly uses a sensistor with a positive temperature coefficient in series with a resistor such that increased resistance at higher temperatures decreases base current to offset increased collector current.