A pairwise model of SIS epidemic models with a general transmission rate is formulated.
We obtained the epidemic threshold by the linear stability analysis.
We developed a method to judge the sign of the leading eigenvalue of a matrix.
The difference between SIS and SIR models on weighted networks is shown.