Author Topic: Math & Statistics Question  (Read 1302 times)

Offline AAJagerX

  • Gold Member
  • *****
  • Posts: 2339
Re: Math & Statistics Question
« Reply #15 on: April 12, 2011, 12:01:09 AM »
Just substitute .00000000000000001 for your deaths in that catagory.  Close enough right?
AAJagerX - XO - AArchAAngelz

trainers.hitechcreations.com

Offline Ardy123

  • Gold Member
  • *****
  • Posts: 3417
Re: Math & Statistics Question
« Reply #16 on: April 12, 2011, 12:23:31 AM »
That is fascinating Ardy

Otherwise known as deaths +1....lol

no one gets my stupid humor...(except for hoff, maybe (can't tell if its at me or because of me)
« Last Edit: April 12, 2011, 12:28:00 AM by Ardy123 »
Yeah, that's right, you just got your rear handed to you by a fuggly puppet!
==Army of Muppets==
(Bunnies)

Offline Hoff

  • Copper Member
  • **
  • Posts: 124
Re: Math & Statistics Question
« Reply #17 on: April 12, 2011, 12:24:59 AM »
K/D would be infinity if you substituted a small number like that. Doing the averaging the way you want to do it is going to cause error in your final calculation. The best thing you can do is make, for example, 2/0 and 2/1 k/d the same. This is obviously not the same, but for whatever reason you need that specific ratio. Your best bet is to do what you are saying, just use an IF statement to make 0 = 1 for death purposes.


@ardy, it was at you, I was hoping you were being facetious  :aok.

Offline Ardy123

  • Gold Member
  • *****
  • Posts: 3417
Re: Math & Statistics Question
« Reply #18 on: April 12, 2011, 12:27:21 AM »
K/D would be infinity if you substituted a small number like that. Doing the averaging the way you want to do it is going to cause error in your final calculation. The best thing you can do is make, for example, 2/0 and 2/1 k/d the same. This is obviously not the same, but for whatever reason you need that specific ratio. Your best bet is to do what you are saying, just use an IF statement to make 0 = 1 for death purposes.


@ardy, it was at you, I was hoping you were being facetious  :aok.

seriously you don't have to divide it.. you can just have it as a fraction and reduce it as much as possible... so  5/0 or 5/1 (10 kills 2 deaths), etc..

Yeah, that's right, you just got your rear handed to you by a fuggly puppet!
==Army of Muppets==
(Bunnies)

Offline Jayhawk

  • Gold Member
  • *****
  • Posts: 3909
Re: Math & Statistics Question
« Reply #19 on: April 12, 2011, 12:34:01 AM »
Just substitute .00000000000000001 for your deaths in that catagory.  Close enough right?

5 / .00000000000000001 = 500000000000000000
LOOK EVERYBODY!  I GOT MY NAME IN LIGHTS!

Folks, play nice.

Offline AAJagerX

  • Gold Member
  • *****
  • Posts: 2339
Re: Math & Statistics Question
« Reply #20 on: April 12, 2011, 12:42:05 AM »
5 / .00000000000000001 = 500000000000000000

I know.  That was a poor attempt at humor. 

Really though, if there's a zero in your K/D table, just cut out the middle man...  Take out the values in the spreadsheet and substitute your total kills in the sum area.  You don't need real-time calculations do you?
AAJagerX - XO - AArchAAngelz

trainers.hitechcreations.com

Offline Jayhawk

  • Gold Member
  • *****
  • Posts: 3909
Re: Math & Statistics Question
« Reply #21 on: April 12, 2011, 12:50:43 AM »
Substituting a 5/0 K/D with 5 would be equivalent to substituting a 5/1 K/D.  Would it have an effect on your results, yes, how big of an effect, well that depends on how much data you've got.
LOOK EVERYBODY!  I GOT MY NAME IN LIGHTS!

Folks, play nice.

Offline AAJagerX

  • Gold Member
  • *****
  • Posts: 2339
Re: Math & Statistics Question
« Reply #22 on: April 12, 2011, 12:55:52 AM »
Substituting a 5/0 K/D with 5 would be equivalent to substituting a 5/1 K/D.  Would it have an effect on your results, yes, how big of an effect, well that depends on how much data you've got.

It wouldn't affect it at all if he was running his own spreadsheet (which I think was what he was trying to do).  All you'd have to do is go through and change the sums of your flights without a kill to the total of your kills in that plane.  Depending on how many 0 death planes you have for that tour, it wouldn't be difficult.

If he's talking about changing the K/D +1 in the AH score tables, that's a totally different story.
AAJagerX - XO - AArchAAngelz

trainers.hitechcreations.com

Offline Ardy123

  • Gold Member
  • *****
  • Posts: 3417
Re: Math & Statistics Question
« Reply #23 on: April 12, 2011, 12:56:09 AM »
Substituting a 5/0 K/D with 5 would be equivalent to substituting a 5/1 K/D.  Would it have an effect on your results, yes, how big of an effect, well that depends on how much data you've got.

no treat it as a fraction then do math on that fraction... but keep it in fraction form.
Yeah, that's right, you just got your rear handed to you by a fuggly puppet!
==Army of Muppets==
(Bunnies)

Offline Jayhawk

  • Gold Member
  • *****
  • Posts: 3909
Re: Math & Statistics Question
« Reply #24 on: April 12, 2011, 12:58:56 AM »
no treat it as a fraction then do math on that fraction... but keep it in fraction form.

Except we don't know what he's doing for sure.
LOOK EVERYBODY!  I GOT MY NAME IN LIGHTS!

Folks, play nice.

Offline Hoff

  • Copper Member
  • **
  • Posts: 124
Re: Math & Statistics Question
« Reply #25 on: April 12, 2011, 01:03:08 AM »
It sounds like he's trying to average his K/D by averaging each individual plane K/D together, which doesn't make sense to me. Someone might have a 100/1 K/D in the 262 but if in their main ride, say a P51D, they have a 5000/4000 K/D then the averages are going to be way off if you average the two K/D's together instead of total kills divided by total deaths (50.625 vs. 1.275).

Offline Vinkman

  • Gold Member
  • *****
  • Posts: 2884
Re: Math & Statistics Question
« Reply #26 on: April 12, 2011, 07:28:41 AM »
Setting it to K will add 1 to your deaths when there really wasn't a death. I don't know what you're trying to do, but if you're just trying to average kills/death then you just need to take all kills and divide by all deaths. You can't really average an average since they have different scales. You might be 25/1 in one plane and 90/90 in another. If you just went by K/D averages this would come out to be 13, but if you went by total kills/total deaths it would be 1.26.

It would be easier to help you out if I knew exactly what you were trying to do. If, for some reason, you want to average the averages, then you could just use an IF statement for when D = 0 make it D+1 (which can be easily done in excel).

This  :aok
Who is John Galt?

Offline MrRiplEy[H]

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 11633
Re: Math & Statistics Question
« Reply #27 on: April 12, 2011, 07:48:38 AM »
Just substitute .00000000000000001 for your deaths in that catagory.  Close enough right?

Umm you MIGHT want to rethink that a little.. :D

5 kills divided by .000000000000001 is how much again? :)
Definiteness of purpose is the starting point of all achievement. –W. Clement Stone

Offline Dead Man Flying

  • Platinum Member
  • ******
  • Posts: 6301
Re: Math & Statistics Question
« Reply #28 on: April 12, 2011, 08:38:36 AM »
I want to calculate a Kill/Death ratio average across X blocks of data. Each block of data will produce its own unique value for K, and for D

Just out of curiosity, what are you hoping to achieve by averaging the quotients?  In almost all cases, it's better to sum the divisors and the dividends and obtain an aggregated K/D score as you did in the last row.




Offline hitech

  • Administrator
  • Administrator
  • *****
  • Posts: 12425
      • http://www.hitechcreations.com
Re: Math & Statistics Question
« Reply #29 on: April 12, 2011, 09:31:08 AM »
oneway it makes no statistical sense to have a K/D and then trying to magically change the D in special situations. The output of this method would be meaningless because if you change it to 1 when it is zero you would get the same results for 5 kills zero death and 5 kills 1 death.

It may seem to you that your are upsetting the stats by using kill to life, but you are not. What you are seeing is the difference in number of sorties and simple variations do to sample size. And with a small sample size your results are statistically meaningless no matter what you do.

2nd what is it you are trying to accomplish?


HiTechb
« Last Edit: April 12, 2011, 01:07:11 PM by hitech »