Go Back > Prime Search Projects > Twin Prime Search

Thread Tools
Old 2012-01-25, 01:16   #1
roger's Avatar
Oct 2006

22×5×13 Posts
Default Standard deviation for twin prime data

I tried to do a standard deviation list to see how the variance changes as does n, but I can't seem to get it right. It's been a long time since I did this high school math.

Maybe I've gone wrong somewhere:

I'm using the square root of the variance as the standard deviation.
Calculating the range of one standard deviation should be simply the average -, and average +, right?
Unfortunately, I'm getting lots of answers for that are well above the average, and so giving ranges of a single standard deviation starting well below zero.

I've been doing the calculations of the twin prime search twins in groups of 100 to give a somewhat accurate view of the range of variance and how it changes over time in relation to n.

Any suggestions? I've doublechecked my steps, and just don't know why the numbers don't make sense.
roger is offline   Reply With Quote
Old 2012-01-25, 19:23   #2
ccorn's Avatar
Apr 2010

22×37 Posts

I am not involved in the twin prime search and I am not familiar with its data. However...

Originally Posted by roger View Post
Unfortunately, I'm getting lots of answers for that are well above the average, and so giving ranges of a single standard deviation starting well below zero.
This is generally possible, particularly if your data (i. e. the sampled random variable values) have a lower bound (e. g. zero) dictated by their very nature (e. g. positiveness) but no fundamental upper bound.

Of course, this then means that the probability distribution of your dataset cannot be expected to be direction-independent around its mean value, or around any other value for that matter.

In such cases, it might be more meaningful to compute stats on logarithms of the sampled values instead: Choose one reference value to your liking (it need not occur in the dataset), then divide all sampled values by that reference value, then take some logarithm with convenient base B (e.g. B=2, B=e, or B=10) of the resulting ratios. A negative result then just means that the original sampled value is less than the chosen reference value.
Of course, the interpretation changes accordingly: The arithmetic mean of the logarithms is not the logarithm of the arithmetic mean but the logarithm of the geometric mean, and adding/subtracting one standard deviation of the logarithms means multiplying/dividing the original values by some factor (namely by the base-B exponential of the standard deviation).

Last fiddled with by ccorn on 2012-01-25 at 19:43
ccorn is offline   Reply With Quote
Old 2012-01-26, 04:45   #3
roger's Avatar
Oct 2006

22·5·13 Posts

Thanks, I'll give it a try!
roger is offline   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Highest Prime is also a twin prime... NOT hydeer Lone Mersenne Hunters 9 2018-04-03 22:54
Twin Prime Days, Prime Day Clusters cuBerBruce Puzzles 3 2014-12-01 18:15
Top-10 twin prime found! gd_barnes Twin Prime Search 3 2007-10-12 08:30
If you find a twin prime... MooooMoo Twin Prime Search 2 2006-05-11 23:38
Standard Deviation Problem jinydu Puzzles 5 2004-01-10 02:12

All times are UTC. The time now is 11:50.

Sun Oct 25 11:50:10 UTC 2020 up 45 days, 9:01, 0 users, load averages: 1.54, 1.50, 1.51

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.