https://profilbaru.com/ja/重み付き残差法