press Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: press.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Antonio Trujillo-Ortiz (View more)

press script description:



press is a Matlab script for Statistics and Probability scripts design by Antonio Trujillo-Ortiz. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
press - Prediction error sum of squares.

Publisher review:
press - Prediction error sum of squares. This m-file returns a useful residual scaling, the prediction error sum of squares (PRESS). To calculate PRESS, select an observation i. Fit the regression model to the remaining n-1 observations and use this equation to predict the withheld observation y_i. Denoting this predicted value by ye_(i), we may find the prediction error for point i as e_(i)=y_i - ye_(i). The prediction error is often called the ith PRESS residual. This procedure is repeated for each observation i = 1,2,...,n, producing a set of n PRESS residuals e_(1),e_(2),...,e_(n). Then the PRESS statistic is defined as the sum of squares of the n PRESS residuals as in,PRESS = i_Sum_n e_(i)^2 = i_Sum_n [y_i - ye_(i)]^2Thus PRESS uses such possible subset of n-1 observations as an estimation data set, and every observation in turn is used to form a prediction data set. In the construction of this m-file, we use this statistical approach.As we have seen that calculating PRESS requires fitting n different regressions, also it is possible to calculate it from the results of a single least squares fit to all n observations. It turns out that the ith PRESS residual is,e_(i) = e_i/(1 - h_ii)Thus, because PRESS is just the sum of the squares of the PRESS residuals, a simple computing formula isPRESS = i_Sum_n [e_i/(1 - h_ii)]^2It is easy to see that the PRESS residual is just the ordinary residual weighted according to the diagonal elements of the hat matrix h_ii. Also, for all the interested people, here we just indicate, in an inactive form, this statistical approaching.Data points for which h_ii are large will have large PRESS residuals. These observations will generally be high influence points. Generally, a large difference between the ordinary residual and the PRESS residual will indicate a point where the model fits the data well, but a model built without that point predicts poorly (.Syntax: function x = press(D)Inputs:D - matrix data (=[X Y]) (last column must be the Y-dependent variable).(X-independent variables).Output:x - prediction error sum of squares (PRESS). Requirements: · MATLAB Release: R14 · Statistics Toolbox
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

Samsung launched the Premium Music Hub

Samsung launched the Premium Music Hub

Samsung finally gives consumers multiple audio streaming countries promised a while. Premium Music Hub allows users access to over 19 million songs, along with other useful functions.

Posted on: 30 May 2012 13:02 by A. Brown

This could be the first photos of iPhone 5

This could be the first photos of iPhone 5

IPhone\'s case came online in a few pictures that confirm rumors of a larger screen. This could be the first photos of the next iPhone, but nothing is really safe to Apple announcement.

Posted on: 30 May 2012 12:58 by A. Brown

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

SPREAD THE WORD

User Rating

press
Rating: 3.0 out of 5
Based on 1 ratings. 1 user reviews.

  • Currently 3.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5