Interesting node, Matt, particularly the notion of reporting on tension in threads. For kicks, I threw together a little code to see how well the
binomial standard deviation would work as a measure of an individual post's tension.
# Binomial standard deviation, from PerlMonks node [477227]
# Standard deviation = SQR{(N*p*(1-p)}
# Represent upvotes as 1, downvotes as 0 (or vice-versa)
sub b_stddev {
my $N = @_ or return 0;
my $p = (grep $_, @_) / $N;
sqrt($N * $p * (1-$p));
}
my @samples = (1, 3, 8, 20);
for (map {my $x=$_; map [$x, $_], grep $x >= $_, @samples} @samples) {
printf "%2d %2d: %3.4f\n", @$_, b_stddev((1) x $_->[0], (0) x $_->[1
+]);
}
The results didn't appeal to me, because a lot of votes in one direction and just a few in the other can make for a comparatively high result. So using the stddev of reps in a thread as a measure of tension in the thread probably wouldn't appeal, either.
Possibly counter-intuitively, it is the nodes of low tension (and low rep) that I would like to have warnings for, while I think that threads of high tension are most likely to include trolls.
Caution: Contents may have been coded under pressure.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.