Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Node Tension

by Roy Johnson (Monsignor)
on Nov 18, 2005 at 17:25 UTC ( [id://509880]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Node Tension
in thread Node Tension

I get pleasing results with this formula:
sub tension { my ($hi, $lo) = @_; $lo or return 0; 2 * log($lo)/log($hi + .1); }
where $hi is the higher number of votes (whichever direction) and $lo is the number of votes in the other direction. Any result above 1 represents an interesting amount of tension, IMO. Here's a table of results:
Hi #Lo #Tension
3 31.9420
8 31.0504
8 81.9881
20 30.7322
20 81.3860
20201.9967
50 30.5614
50 81.0626
50201.5308
50501.9990
90 30.4882
90 80.9240
90201.3312
90501.7383
90901.9995

Caution: Contents may have been coded under pressure.

Replies are listed 'Best First'.
Re^4: Node Tension
by mojotoad (Monsignor) on Nov 18, 2005 at 17:56 UTC
    That looks pretty good, except it seems to lose the magnitude of the tension. 3 vs 3, 8 vs 8, 50 vs 50 all have similar results.

    (of course that's probably just me visually eyeballing sig figs along a log curve...)

    Cheers,
    Matt

      You're right. My notion was only to distinguish interesting from non-interesting. You regain the magnitude if you drop a log: I'd call < 1.3 low tension, 1.3-2 moderate, >2 strong.

      Caution: Contents may have been coded under pressure.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://509880]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-03-19 07:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found