1

How can I create graphs similar to http://bitcoin.sipa.be, and blockchain.info for Namecoin?

For example this thread discusses how to analyze difficulty over time and provides this equation and correlation covering 4 difficulty adjustments.

I'd like to understand the math required to create such graphs so I can port the trending to other *coin usages. (which invariably have different values)

Murch
  • 71,155
  • 33
  • 180
  • 600
makerofthings7
  • 12,656
  • 11
  • 60
  • 129
  • 1
    Seems to me to be way too general and vague to be suitable for SE. Also, I don't think there's a shortcut - learn more math, especially in the areas of probability and statistics, and you'll have a better idea of what things can be analyzed and how to use different tools for it. – Meni Rosenfeld Dec 07 '12 at 06:51
  • @MeniRosenfeld Edited... what do you think? – makerofthings7 Dec 07 '12 at 13:09
  • Still feels a bit general, but maybe others will find a good way to answer. – Meni Rosenfeld Dec 08 '12 at 16:12

1 Answers1

1

The math behind those graphs is pretty simple, the main problem is crawling through the data and creating readable images automatically.

Difficulty (red line) can always be read from the generated Blocks, no problem there.

1/3/7/14/whatever-window estimates I assume are calculated by counting how many Blocks were generated in a given time period and at what difficulty. In general I guess it should be:

Estimate = (Difficulty * MeasurementTime) / (10 minutes * BlockCount)

ThePiachu
  • 42,931
  • 25
  • 138
  • 347