Coder Social home page Coder Social logo

jamiembright / time-series-validation Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 10 KB

A Matlab tool that takes two corresponding time series and performs a thorough comparison following the four class system by Christian A. Gueymard in his 2014 publication titled A review of validation methodologies and statistical performance indicators for modeled solar radiation data : Towards a better bankability of solar projects

MATLAB 100.00%

time-series-validation's People

Contributors

jamiembright avatar

Watchers

 avatar  avatar

time-series-validation's Issues

Use of CDF in 'class C' indicators

Hello,

Thanks for the code. I was looking at the original paper by Espinar et.al (10.1016/j.solener.2008.07.009) on calculation of KSI and understand that the variable 'Dn' is the absolute difference between the two CDFs (Observed and Predicted) at each interval. However, the code calculates 'Dn' as the absolute difference between the two frequency distributions. Shouldn't lines 263-266 be changed as follows?

Od = cumsum(histc(O,xbins)./N);
Pd = cumsum(histc(P,xbins)./N);
% absolute difference between the two CDFs
Dn = abs(Od - Pd);

And the parameter OVER is the integration of (Dn-Vc) over the irradiance spectrum, Where Vc=1.63/sqrt(N). The code however considers all the points that are above Vc for integration, while setting the values below Vc to zero.

Please let me know if my thinking is correct.

Many thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.