Free £25 Bet!
Free £200 Bet - Register on Saturday or Sunday
Free £25 Bet!

In association with Sports-Punter Free Bets Odds Comparison BetHelp Limso

We are the Official Forum of FreeBetting.net & FCBet.com


Sports News Sports Stats Live Scores OddsChecker Place Bets Suggest a Site


Go Back   The Punters Lounge - The World's Best Betting Forum > General Discussion > Tech & Gaming Forum

Tech & Gaming Forum This is the place for all your technical related questions about computers, programs or whatever...

Free £25 Bet at Jaxx!
UK & Irish Football Forum | Western European Football Forum | UEFA Cup & Champions League Football Forum | International Football Forum | Eastern & Southern European Football Forum | Nordic & Scandinavian Football Forum | Non European Football Forum | At The Races Forum | At The Races Systems Forum | Other Sports Forum | USA Sports Forum | Fantasy & Fun Comps Forum | Free Bets Forum | Systems & Strategy Forum | Glory Hunter's Forum | Tipster's Challenge Forum | Daily Racing Comp Forum | Euro & Worldwide Comp Forum | Poker Tourneys Forum | Poker Strategy Forum | Poker Chat Forum | Poker Live Forum | Poker Challenges Forum | Poker Staking Forum | e-Sport Poker League Forum | Bookmakers & Exchanges Forum | Punter's Tools/Betting Help Forum | General Chat Forum | Tech & Gaming Forum | Sports Banter Forum | Live Sports Feeds Forum

Reply
 
Thread Tools Display Modes
Old 22-04-2007, 13:10   #1 (permalink)
Sabbatical punter
 
PAULM03's Avatar
 
Join Date: 27 Nov 2000
Age: 29
Posts: 10,257
Default something on excel driving me nuts

I've simulated a gaussian distribution on excel using the 'normdist' function like this:
B1 = normdist(A1,0,1,false)

then in B1 to B60 i've got the numbers -3 - +3 in steps of 0.1.

When I plot A1 against B1 it's fine I get a normal curve.

But I'm having a problem with the standard deviation.
It was easy enough to calculate the mean (which should be zero) by doing C(x) = A(x)*B(x) (where x = row index) then the mean is just the average of column C.

But when I come to calculate the standard deviation I get a value of 0.153, when it should be 1. I know I'm overlooking something embarrasingly simple but what is it?
__________________

PAULM03 is offline   Reply With Quote
Old 22-04-2007, 13:24   #2 (permalink)
Junior Punter
 
slapdash's Avatar
 
Join Date: 30 Oct 2004
Posts: 11,910
Awards Showcase
Daily Horse Racing Competition Daily Horse Racing Competition Daily Horse Racing Competition 
Total Awards: 3
Default Re: something on excel driving me nuts

Quote:
Originally Posted by PAULM03 View Post
I've simulated a gaussian distribution on excel using the 'normdist' function like this:
B1 = normdist(A1,0,1,false)

then in B1 to B60 i've got the numbers -3 - +3 in steps of 0.1.

When I plot A1 against B1 it's fine I get a normal curve.
I think you've muddled A and B here, but I assume that's just a typo?
A goes from -3 to +3, and B is the height of the normal curve?

Quote:
But I'm having a problem with the standard deviation.
It was easy enough to calculate the mean (which should be zero) by doing C(x) = A(x)*B(x) (where x = row index) then the mean is just the average of column C.

But when I come to calculate the standard deviation I get a value of 0.153, when it should be 1. I know I'm overlooking something embarrasingly simple but what is it?
Could you post how you calculated the standard deviation?
slapdash is online now   Reply With Quote
Old 22-04-2007, 13:35   #3 (permalink)
Sabbatical punter
 
PAULM03's Avatar
 
Join Date: 27 Nov 2000
Age: 29
Posts: 10,257
Default Re: something on excel driving me nuts

Quote:
Originally Posted by slapdash View Post
I think you've muddled A and B here, but I assume that's just a typo?
A goes from -3 to +3, and B is the height of the normal curve?

Could you post how you calculated the standard deviation?
Sorry, yes it is just a typo.

Standard deviation was calculated 2 ways, 1 using the excel function:

D1 = stdev(column C), gives 0.153

secondly

D(x) = C(x)^2
E(x) = sqrt(sum(D)/60) = 0.153
__________________

PAULM03 is offline   Reply With Quote
Old 22-04-2007, 13:50   #4 (permalink)
Junior Punter
 
slapdash's Avatar
 
Join Date: 30 Oct 2004
Posts: 11,910
Awards Showcase
Daily Horse Racing Competition Daily Horse Racing Competition Daily Horse Racing Competition 
Total Awards: 3
Default Re: something on excel driving me nuts

Quote:
Originally Posted by PAULM03 View Post
Sorry, yes it is just a typo.

Standard deviation was calculated 2 ways, 1 using the excel function:

D1 = stdev(column C), gives 0.153

secondly

D(x) = C(x)^2
E(x) = sqrt(sum(D)/60) = 0.153
If the mean is zero, the standard deviation is the square root of the expected value of A(x)^2, so this is the average value of A(x)^2, weighted
by the probability distribution in column B, so what you should be
calculating is

sqrt[ (sum(A^2 * B) / sum(B) ]

sum(B) should turn out to be about 10, since you're using steps of 1/10.
slapdash is online now   Reply With Quote
Old 22-04-2007, 14:08   #5 (permalink)
Sabbatical punter
 
PAULM03's Avatar
 
Join Date: 27 Nov 2000
Age: 29
Posts: 10,257
Default Re: something on excel driving me nuts

Cheers
__________________

PAULM03 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts



All times are GMT. The time now is 09:32.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

Free £100 Bet!
Online Bookmakers
Free £100 Bet!

Recommended Bookies: Bet365 | BetDirect | | Blue Square | Canbet | Centrebet | Coral | Eurobet | Ladbrokes | Paddy Power | Party Bets | Pinnacle Sports | Skybet | SportingBet | Stan James | ToteSport | VCBet

Recommended Betting Exchanges: | Betfair | WBX

Recommended for Spread Betting: Sporting Index |
Partner Sites
Football Betting Tips Free Bets Australian Free Bets HOT Odds Comparison Soccer Punter
Bookmakers Livescore SoccerVista Asian Handicap Betting Guide

Contact Us | Disclaimer


© 2008 PuntersLounge.Com Ltd | Gambling Problems?

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.