Polynomial Interpolation using large set of data.












0












$begingroup$


I have a large set of {$x_i$}$_{i=1}^n$ and corresponding values of the function {$f(x_i)$}$_{i=1}^n$. My aim is to estimate the function $f(x)$. Therefore, I think that appropriate technique is Lagrange Polynomial Interpolation. The problem is: as I mentioned I have large set of observations (e.g. 100), then using Lagrange Polynomial Interpolation we will find a $n-1$ degree polynomial, which is meaningless to write explicitly.
Please guide me in order to pick up the correct technique or use some modification (if any) to estimate the function, which could be written explicitly.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Lagrange interpolant is probably a bad idea for a given set of points $(x_i)_i$, see en.wikipedia.org/wiki/Runge%27s_phenomenon. Explain what properties the interpolant should have (or what it will be used for).
    $endgroup$
    – Joce
    Dec 18 '18 at 12:40










  • $begingroup$
    The aim is to estimate a function form the given dataset. In other words, derive from the data the functional form corresponding to $x_i$ and$f(x_i)$. (Kind of regression analysis)
    $endgroup$
    – David
    Dec 18 '18 at 12:50












  • $begingroup$
    But what will you do with this function? Integrate it, evaluate it outside of the $x_i$'s,...?
    $endgroup$
    – Joce
    Dec 18 '18 at 12:59






  • 1




    $begingroup$
    Have a look at this : en.wikipedia.org/wiki/Polynomial_regression
    $endgroup$
    – nicomezi
    Dec 18 '18 at 14:23






  • 1




    $begingroup$
    You can use Cross Validation. Split your data in two sets, determine the polynom over one set and compute the generalization error over the other set. Repeat the process multiple times for every degree. Finally, choose the degree where the generalization error is minimum (in mean). Once you have chosen a degree, compute the final polynom with the whole data set and you are done. Also, since you know that $f(0)=0$, you can get rid of the constant coefficient.
    $endgroup$
    – nicomezi
    Dec 18 '18 at 14:54


















0












$begingroup$


I have a large set of {$x_i$}$_{i=1}^n$ and corresponding values of the function {$f(x_i)$}$_{i=1}^n$. My aim is to estimate the function $f(x)$. Therefore, I think that appropriate technique is Lagrange Polynomial Interpolation. The problem is: as I mentioned I have large set of observations (e.g. 100), then using Lagrange Polynomial Interpolation we will find a $n-1$ degree polynomial, which is meaningless to write explicitly.
Please guide me in order to pick up the correct technique or use some modification (if any) to estimate the function, which could be written explicitly.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Lagrange interpolant is probably a bad idea for a given set of points $(x_i)_i$, see en.wikipedia.org/wiki/Runge%27s_phenomenon. Explain what properties the interpolant should have (or what it will be used for).
    $endgroup$
    – Joce
    Dec 18 '18 at 12:40










  • $begingroup$
    The aim is to estimate a function form the given dataset. In other words, derive from the data the functional form corresponding to $x_i$ and$f(x_i)$. (Kind of regression analysis)
    $endgroup$
    – David
    Dec 18 '18 at 12:50












  • $begingroup$
    But what will you do with this function? Integrate it, evaluate it outside of the $x_i$'s,...?
    $endgroup$
    – Joce
    Dec 18 '18 at 12:59






  • 1




    $begingroup$
    Have a look at this : en.wikipedia.org/wiki/Polynomial_regression
    $endgroup$
    – nicomezi
    Dec 18 '18 at 14:23






  • 1




    $begingroup$
    You can use Cross Validation. Split your data in two sets, determine the polynom over one set and compute the generalization error over the other set. Repeat the process multiple times for every degree. Finally, choose the degree where the generalization error is minimum (in mean). Once you have chosen a degree, compute the final polynom with the whole data set and you are done. Also, since you know that $f(0)=0$, you can get rid of the constant coefficient.
    $endgroup$
    – nicomezi
    Dec 18 '18 at 14:54
















0












0








0


2



$begingroup$


I have a large set of {$x_i$}$_{i=1}^n$ and corresponding values of the function {$f(x_i)$}$_{i=1}^n$. My aim is to estimate the function $f(x)$. Therefore, I think that appropriate technique is Lagrange Polynomial Interpolation. The problem is: as I mentioned I have large set of observations (e.g. 100), then using Lagrange Polynomial Interpolation we will find a $n-1$ degree polynomial, which is meaningless to write explicitly.
Please guide me in order to pick up the correct technique or use some modification (if any) to estimate the function, which could be written explicitly.










share|cite|improve this question











$endgroup$




I have a large set of {$x_i$}$_{i=1}^n$ and corresponding values of the function {$f(x_i)$}$_{i=1}^n$. My aim is to estimate the function $f(x)$. Therefore, I think that appropriate technique is Lagrange Polynomial Interpolation. The problem is: as I mentioned I have large set of observations (e.g. 100), then using Lagrange Polynomial Interpolation we will find a $n-1$ degree polynomial, which is meaningless to write explicitly.
Please guide me in order to pick up the correct technique or use some modification (if any) to estimate the function, which could be written explicitly.







lagrange-interpolation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 18 '18 at 12:17







David

















asked Dec 18 '18 at 12:06









DavidDavid

408




408












  • $begingroup$
    Lagrange interpolant is probably a bad idea for a given set of points $(x_i)_i$, see en.wikipedia.org/wiki/Runge%27s_phenomenon. Explain what properties the interpolant should have (or what it will be used for).
    $endgroup$
    – Joce
    Dec 18 '18 at 12:40










  • $begingroup$
    The aim is to estimate a function form the given dataset. In other words, derive from the data the functional form corresponding to $x_i$ and$f(x_i)$. (Kind of regression analysis)
    $endgroup$
    – David
    Dec 18 '18 at 12:50












  • $begingroup$
    But what will you do with this function? Integrate it, evaluate it outside of the $x_i$'s,...?
    $endgroup$
    – Joce
    Dec 18 '18 at 12:59






  • 1




    $begingroup$
    Have a look at this : en.wikipedia.org/wiki/Polynomial_regression
    $endgroup$
    – nicomezi
    Dec 18 '18 at 14:23






  • 1




    $begingroup$
    You can use Cross Validation. Split your data in two sets, determine the polynom over one set and compute the generalization error over the other set. Repeat the process multiple times for every degree. Finally, choose the degree where the generalization error is minimum (in mean). Once you have chosen a degree, compute the final polynom with the whole data set and you are done. Also, since you know that $f(0)=0$, you can get rid of the constant coefficient.
    $endgroup$
    – nicomezi
    Dec 18 '18 at 14:54




















  • $begingroup$
    Lagrange interpolant is probably a bad idea for a given set of points $(x_i)_i$, see en.wikipedia.org/wiki/Runge%27s_phenomenon. Explain what properties the interpolant should have (or what it will be used for).
    $endgroup$
    – Joce
    Dec 18 '18 at 12:40










  • $begingroup$
    The aim is to estimate a function form the given dataset. In other words, derive from the data the functional form corresponding to $x_i$ and$f(x_i)$. (Kind of regression analysis)
    $endgroup$
    – David
    Dec 18 '18 at 12:50












  • $begingroup$
    But what will you do with this function? Integrate it, evaluate it outside of the $x_i$'s,...?
    $endgroup$
    – Joce
    Dec 18 '18 at 12:59






  • 1




    $begingroup$
    Have a look at this : en.wikipedia.org/wiki/Polynomial_regression
    $endgroup$
    – nicomezi
    Dec 18 '18 at 14:23






  • 1




    $begingroup$
    You can use Cross Validation. Split your data in two sets, determine the polynom over one set and compute the generalization error over the other set. Repeat the process multiple times for every degree. Finally, choose the degree where the generalization error is minimum (in mean). Once you have chosen a degree, compute the final polynom with the whole data set and you are done. Also, since you know that $f(0)=0$, you can get rid of the constant coefficient.
    $endgroup$
    – nicomezi
    Dec 18 '18 at 14:54


















$begingroup$
Lagrange interpolant is probably a bad idea for a given set of points $(x_i)_i$, see en.wikipedia.org/wiki/Runge%27s_phenomenon. Explain what properties the interpolant should have (or what it will be used for).
$endgroup$
– Joce
Dec 18 '18 at 12:40




$begingroup$
Lagrange interpolant is probably a bad idea for a given set of points $(x_i)_i$, see en.wikipedia.org/wiki/Runge%27s_phenomenon. Explain what properties the interpolant should have (or what it will be used for).
$endgroup$
– Joce
Dec 18 '18 at 12:40












$begingroup$
The aim is to estimate a function form the given dataset. In other words, derive from the data the functional form corresponding to $x_i$ and$f(x_i)$. (Kind of regression analysis)
$endgroup$
– David
Dec 18 '18 at 12:50






$begingroup$
The aim is to estimate a function form the given dataset. In other words, derive from the data the functional form corresponding to $x_i$ and$f(x_i)$. (Kind of regression analysis)
$endgroup$
– David
Dec 18 '18 at 12:50














$begingroup$
But what will you do with this function? Integrate it, evaluate it outside of the $x_i$'s,...?
$endgroup$
– Joce
Dec 18 '18 at 12:59




$begingroup$
But what will you do with this function? Integrate it, evaluate it outside of the $x_i$'s,...?
$endgroup$
– Joce
Dec 18 '18 at 12:59




1




1




$begingroup$
Have a look at this : en.wikipedia.org/wiki/Polynomial_regression
$endgroup$
– nicomezi
Dec 18 '18 at 14:23




$begingroup$
Have a look at this : en.wikipedia.org/wiki/Polynomial_regression
$endgroup$
– nicomezi
Dec 18 '18 at 14:23




1




1




$begingroup$
You can use Cross Validation. Split your data in two sets, determine the polynom over one set and compute the generalization error over the other set. Repeat the process multiple times for every degree. Finally, choose the degree where the generalization error is minimum (in mean). Once you have chosen a degree, compute the final polynom with the whole data set and you are done. Also, since you know that $f(0)=0$, you can get rid of the constant coefficient.
$endgroup$
– nicomezi
Dec 18 '18 at 14:54






$begingroup$
You can use Cross Validation. Split your data in two sets, determine the polynom over one set and compute the generalization error over the other set. Repeat the process multiple times for every degree. Finally, choose the degree where the generalization error is minimum (in mean). Once you have chosen a degree, compute the final polynom with the whole data set and you are done. Also, since you know that $f(0)=0$, you can get rid of the constant coefficient.
$endgroup$
– nicomezi
Dec 18 '18 at 14:54












0






active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3045091%2fpolynomial-interpolation-using-large-set-of-data%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3045091%2fpolynomial-interpolation-using-large-set-of-data%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...