View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 1 Download (last 30 days) File Size: 1.77 KB File ID: #16551 Version: 1.1




24 Sep 2007 (Updated )

Linear Error Probability Space Score Test

| Watch this File

File Information

  [lepss] = lepstest(cumclimate,xo,xf,refprob)
  This code computes LEPS score
  LEPS: Linear Error Probability Space (Ward and Folland, 1991)
  lepss - Linear Error Probability Space Score
  xo - measured values: column vector or scalar
  xf - forecasted values: column vector or scalar
  cumclimate - long-term cumulative climatic data values
  refprob - Reference probability, usually median = 0.5
  Example :
  refprob = 0.5 ; rand('seed',931316785);
  cumclimate = weibrnd(0.0269,1.99,10000,1);
  xo = rand(5000,1) .* (max(cumclimate)-min(cumclimate))...
   + min(cumclimate);
  xf = rand(length(xo),1) .* (1.5-0.5) + .5;
  [lepss] = lepstest(xo,xf,cumclimate,refprob)
  lepss =
 Copy Right Ram C. Acharya & Hong Liu.
 Toronto, Canada. Sept 21, 2007

MATLAB release MATLAB 7.5 (R2007b)
Other requirements none
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
23 May 2009 1.1

I received feedback from J Timilsina that he couldn't run the file. So I have improved the script to make much friendlier.

Contact us