# Forecast with cubic spline

Printable View

• December 14th 2012, 06:25 AM
igorbaldacci
Forecast with cubic spline
Hi all,
I have a simple question: is it possible to make forecast with cubic spline? And, if yes, how?

Frecast, for me, meens that I can understend the value of my interpolation function OUTSIDE the data field that I have.

Thank you, every help will be appreciated. (Itwasntme)
Igor
• December 14th 2012, 09:06 AM
hollywood
Re: Forecast with cubic spline
I think the word you're looking for is extrapolate. It means (in one dimension) that you are given f(x) for various x in [a,b] and want to estimate f(x) for some x>b or some x<a.

Of course, you can use any method, and the accuracy you get depends on the situation. If I understand correctly, a cubic spline would end up being just a cubic function approximation, and so would assume the third derivative of the function is approximately constant. Your accuracy will depend on how well this actually fits the situation.

As an example, here

Taylor series - Wikipedia, the free encyclopedia

there is a graph of various polynomial approximations to the function $\sin{x}$. You can see that the cubic approximation is pretty good for $-\frac{\pi}{2}<x<\frac{\pi}{2}$ but really gets bad as you go further from 0.

- Hollywood
All times are GMT -8. The time now is 05:23 PM.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 2, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9193077683448792, "perplexity_flag": "middle"}