There was a decrease in HOMA2 percent beta-cell function ( -2.9 % , p = 0.72 ) and increase in HOMA2 insulin resistance ( +14 % , p = 0.16 ) in the atorvastatin group as compared with baseline , but the difference was not statistically significant .