...bạn có thể sử dụng thư viện `StatSmodels`.Mã sau đây cho thấy cách tạo biểu đồ QQ gồm hai bộ dữ liệu:
`` `Python
Nhập statsmodels.graphics.qqplot dưới dạng qqplot
# Tạo hai bộ dữ liệu
data1 = np.random.ntoral (loc = 0, scale = 1, size = 100)
data2 = np.random.ntoral (loc = 0, scale = 2...