# lofrtest 1.0

OS : Windows / Linux / Mac OS / BSD / Solaris

Script Licensing :

Created : Sep 19, 2007

Downloads : 1

Thank you for voting...

## This m-file provides a statistical test that gives ...

This m-file provides a statistical test that gives information on the form of the model under consideration. A significant lack-of-fit suggest that there may be some systematic variation unaccounted for in the hypothesized model (chosen model does not well describe the data). It arises when there are exact replicate values of the independent variable in the model that provide an estimate of pure error. Pure error is in essence the amount of error that cannot be accounted for by any model. Then allows a test on whether there is error present aside from pure error.

- slope and intercept or common regression model (two parameters)

- separate means for each x-value or one-way ANOVA (many parameters).

So, the pure error is the error of the separate means on ANOVA and the total error in the residual resulting in the regression analysis. So, the lack-of-fit results to be the difference between this two sources of error,

SS(LOF) = SSR(Model) - SSE(ANOVA).

It needs to input D-matrix data (=[X Y]) (last column must be the Y-dependent variable). (X-independent variable entry can be for a simple [X], multiple [X1, X2, X3, . . . Xp] or polynomial [X, X^2, X^3, . . . , X^p] regression model. ), and alpha-significance level (default = 0. 05).

It outputs a complete summary (table) of analysis of variance partitioning sources of variation for testing lack-of-fit.

**For the construction of the lack-of-fit test we need to examine three common types of linear models:**

- single mean (one parameter)- slope and intercept or common regression model (two parameters)

- separate means for each x-value or one-way ANOVA (many parameters).

So, the pure error is the error of the separate means on ANOVA and the total error in the residual resulting in the regression analysis. So, the lack-of-fit results to be the difference between this two sources of error,

SS(LOF) = SSR(Model) - SSE(ANOVA).

It needs to input D-matrix data (=[X Y]) (last column must be the Y-dependent variable). (X-independent variable entry can be for a simple [X], multiple [X1, X2, X3, . . . Xp] or polynomial [X, X^2, X^3, . . . , X^p] regression model. ), and alpha-significance level (default = 0. 05).

It outputs a complete summary (table) of analysis of variance partitioning sources of variation for testing lack-of-fit.

**• MATLAB Release: R11**

**Demands:****lofrtest 1.0 scripting tags:**model, variable, lackoffit, matlab lofrtest, regression, statistics probability, matlab statistics, error.

**What is new in lofrtest 1.0 software script?**- Unable to find lofrtest 1.0 news.

**What is improvements are expecting?**Newly-made lofrtest 1.1 will be downloaded from here. You may download directly. Please write the reviews of the lofrtest. License limitations are unspecified.