add reference for Holt's method

Former-commit-id: 256ee703242130509232553c8c6eea01a88e5439
This commit is contained in:
Michael T. Kelbaugh
2020-03-05 10:22:19 -05:00
parent e471c0395e
commit 902170b9f9

View File

@@ -15,6 +15,7 @@ def pop_sim(init_data, num_increments):
for key, county in init_data.items():
population = pd.Series(county)
# https://www.statsmodels.org/stable/examples/notebooks/generated/exponential_smoothing.html#Holt's-Method
fit1 = Holt(np.asarray(population)).fit(
smoothing_level=0.7, smoothing_slope=0.3
)