Skip to content
Universities of Wisconsin
Call Now608-262-2011 Call 608-262-2011 Request Info Request Info Search the UW Extended Campus website Search
Wisconsin Online Collaboratives
  • About Us
    • About Us
    • Accreditation
    • Our Campus Partners
  • Degrees & Programs
  • Admissions & Aid
    • How to Apply
    • Admission Pathways
    • Important Dates
    • Tuition & Financial Aid
    • Transferring Credits
    • Contact an Enrollment Adviser
  • Online Learning
    • About Online Learning
    • Online Learning Formats
    • Capstone Projects
    • Success Coaching
    • Technology Requirements
  • Stories & News
Home Home / Capstone Projects / Dollar Cost Averaging vs. Machine Learning Investing for GLD

Dollar Cost Averaging vs. Machine Learning Investing for GLD

Program: Data Science Master's Degree
Location: Not Specified (remote)
Student: Eric Knutson

This project sought to compare investing returns for two different strategies for investing in the exchange traded fund GLD.  It compared two machine learning model investing strategies to a dollar-cost averaging strategy (DCA).  Investors today might be interested in performance returns related to gold as we live in times of global and economic uncertainty.  GLD is an easily tradeable proxy for gold. 

Economic data was obtained from FRED (the Federal Reserve Economic Database) and market data was acquired from Yahoo and Google Finance services.  ElasticNet and RandomForest models were trained to predict weekly GLD close prices using a rolling 3-year (156 week) training window.  Recent lagged features of GLD were found to be the most influential features while money supply, silver prices, and interest rate features were moderately influential. 

Both models performed well- ElasticNet (RMSE $3.38, MAPE: 1.5%), RandomForest (RMSE $4.72, MAPE: 4.7%).  Simulated returns over the period Jan 27, 2016, to Apr 30, 2025, showed that ElasticNet had the highest total return at 94.77%.  DCA returned 94.54% and RandomForest returned 93.05%. These results show that machine learning models can be developed capable of beating dollar-cost averaging strategies. 

Let's Get Started Together

Apply Apply Schedule an Advising Call Schedule an Advising Call Request Info Request Info

This field is for validation purposes and should be left unchanged.
Are you interested in pursuing the degree or taking one or two courses?(Required)
Can we text you?(Required)

By selecting yes, I agree to receive updates about online degrees, events, and application deadlines from the Universities of Wisconsin.

Msg frequency varies depending on the activity of your record. Message and data rates may apply. Text HELP for help. You can opt out by responding STOP at any time. View our Terms and Conditions and Privacy Policy for more details.

Wisconsin Online Collaboratives will not share your personal information. Privacy Policy

Wisconsin Online Collaboratives

A Collaboration of the
Universities of Wisconsin

University of Wisconsin System

Pages

  • Our Degrees & Programs
  • How to Apply
  • Online Learning Formats
  • Our Campus Partners

Enrollment Advising

608-800-6762
learn@uwex.wisconsin.edu

Contact

780 Regent Street
Suite 130
Madison, WI 53715

Technical Support

1-877-724-7883
https://uwex.wisconsin.edu/technical-support/

Connect

  • . $name .facebook
  • . $name .linkedin
  • . $name .instagram
  • . $name .youtube

Copyright © 2026 Board of Regents of the University of Wisconsin System. | Privacy Policy