in reply to Re^7: Data range detection?
in thread Data range detection?

$d is a reference to the array containing your data sets

I know that. But...

@data = map int( rand 100 ), 1 ..30;; ## THE DATA $d = \@data;; ## A REFERENCE TO +IT print 1.. @$d;; ## AN UNRELATED SE +QUENCE OF INTEGERS! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 +7 28 29 30

Look again!


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked

Replies are listed 'Best First'.
Re^9: Data range detection?
by hdb (Monsignor) on Apr 13, 2015 at 19:47 UTC

    I am doing a scatterplot of the data versus the sequence of integers. The latter is "linear" by definition. To this scatterplot I fit a straight line and measure how well the line fits. Then I try logs on the data or the integer sequence, fit again and see if the fit improves.