| Statistics Toolbox | Search  Help Desk |
| polytool |
Interactive plot for prediction of fitted polynomials.
Syntax
polytool(x,y) polytool(x,y,n) polytool(x,y,n,alpha)
Description
polytool(x,y) fits a line to the column vectors,x and y, and displays an interactive plot of the result. This plot is graphic user interface for exploring the effects of changing the polynomial degree of the fit. The plot shows the fitted curve and 95% global confidence intervals on a new predicted value for the curve. Text with current predicted value of y and its uncertainty appears left of the y-axis.
polytool(x,y,n) initially fits a polynomial of order, n.
polytool(x,y,n,alpha) plots 100(1-alpha)% confidence intervals on the predicted values.
polytool fits by least-squares using the regression model,