What would be a good proxy for time?
Ältere Kommentare anzeigen
In the previous post
I learned that one would need to consider confounding variables.
"Analysis reveals time to be the confounding variable: plotting both price and demand against time reveals the expected negative correlation over various periods, which then reverses to become positive if the influence of time is ignored by simply plotting demand against price."
So I want to use time as an indepedent variable of the regression.
I use dn=datenum(date) as a proxy. But is there any better method?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Price and Analyze Financial Instruments finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!