Go Back   SoCalTrailRiders > Off topic > The Pub

The Pub Put your legs up, grab you favorite brew, and just hang out. Off topic.

Reply
 
Thread Tools
Old 03-19-2008, 08:44 PM   #1 (permalink)
I have UGI
 
dubjay's Avatar
 
Default Math Challenge

Ok - it's been a few years for me since I took a math class...so maybe you guys can help me figure this out

In our metrics system, we log video plays, along with associated success events (25% played, 50% played, etc).

So let's say we have one video that got:

25% played - 940 times
50% played - 698 times
75% played - 557 times
100% played - 398 times

What would the average % played be? And how did you go about doing that calculation?
dubjay is offline
Old 03-19-2008, 09:06 PM   #2 (permalink)
On the edge of chaos
 
Abui's Avatar
 
Default

940 * 25% = 235
698 * 50% = 349
557 * 75% = 418
398 * 100% = 398
_____________
2593 _____ 1400

Multiply Times by Percent and add the columns.
Then take 1400/2593 = 54%
Abui is offline
post thanked by:
Alex (03-19-2008), dubjay (03-19-2008)
Old 03-19-2008, 09:08 PM   #3 (permalink)
Gumby
 
sladnas's Avatar
 
Default

So when you say:

25% played - 940 times

There was some video that was viewed 940 times but that only represented 25% of the possible views?

Abui answered it the way I was going to...seriously
sladnas is offline
post thanked by:
dubjay (03-19-2008), PacMan (05-14-2008)
Old 03-19-2008, 09:15 PM   #4 (permalink)
I have UGI
 
dubjay's Avatar
 
Default

Quote:
Originally Posted by Abui View Post
940 * 25% = 235
698 * 50% = 349
557 * 75% = 418
398 * 100% = 398
_____________
2593 _____ 1400

Multiply Times by Percent and add the columns.
Then take 1400/2593 = 54%
Hmm..that's what I kind of tried doing but it didn't quite work out.

Let's say I have just 1 video that played to it's completion and 1 video that played halfway (50%)

2*.25=.50
2*.50=1
1*.75=.75
1*1=1
----------------
4_____3.25

That gives 81.25% - but it really should be 75%.



Quote:
Originally Posted by sladnas View Post
So when you say:

25% played - 940 times

There was some video that was viewed 940 times but that only represented 25% of the possible views?

Abui answered it the way I was going to...seriously
The video actually started playing 1694 times, but got to the 25% mark only 940 of those times.
dubjay is offline
Old 03-19-2008, 09:19 PM   #5 (permalink)
Gumby
 
sladnas's Avatar
 
Default

Ok, so the video got to the 25% mark 55.5% of the time. (940/1694).

Is the data orthogonal such that things are not counted twice? For example, if a video gets to 75%, is it ONLY counted in the 75% category, or is it counted in 25%, 50% and 75%?
sladnas is offline
post thanked by:
dubjay (03-19-2008), PacMan (05-14-2008)
Old 03-19-2008, 09:21 PM   #6 (permalink)
I have UGI
 
dubjay's Avatar
 
Default

Quote:
Originally Posted by sladnas View Post
Ok, so the video got to the 25% mark 55.5% of the time. (940/1694).

Is the data orthogonal such that things are not counted twice? For example, if a video gets to 75%, is it ONLY counted in the 75% category, or is it counted in 25%, 50% and 75%?
Yes.

If it gets to 75%, it's counted in every bucket (25%, 50%, 75%). It just adds a count to the database every time that point is reached.
dubjay is offline
post thanked by:
bighit8 (03-19-2008)
Old 03-19-2008, 09:25 PM   #7 (permalink)
STR Veteran
 
bighit8's Avatar
 
Default

What is the number of people playing said video?That adds an A+B=C problem
__________________
singletrack angel: is that a real hole Fred?
Mtbnbikefred: Yes,I have stuck all kind of things in it.
bighit8 is offline
Old 03-19-2008, 09:29 PM   #8 (permalink)
Roadie in Exile
 
OffRoadie's Avatar
 
Default

Quote:
Originally Posted by dubjay View Post
Hmm..that's what I kind of tried doing but it didn't quite work out.

Let's say I have just 1 video that played to it's completion and 1 video that played halfway (50%)

2*.25=.50
2*.50=1
1*.75=.75
1*1=1
----------------
4_____3.25

That gives 81.25% - but it really should be 75%.





The video actually started playing 1694 times, but got to the 25% mark only 940 of those times.
Oh, I see. So if a video plays 50%, it also gets counted in the 25% group. If that's the case, take Abui's method, but remove double counts.

Your example, 1 video, played to 50% and played to 100% would have:
2 at 25%
2 at 50%
1 at 75%
1 at 100%

The 1 at 100% is also counted in the 25%, 50% and 75% groups. Readjust counts in the those groups to remove the 100% played video:
1 at 25% (100% video removed)
1 at 50% (100% video removed)
0 at 75% (100% video removed)
1 at 100%

Next non-zero in the list is the 50% tape. It is also counted in 25% group. Readjust to remove double counts of 50% played tapes:
0 at 25% (100% and 50% video removed)
1 at 50% (100% video removed)
0 at 75% (100% video removed)
1 at 100%

Do calculation:
1*.50+1*1.00 = 1.50
1+1=2
1.5/2 = .75, or 75%
OffRoadie is offline
post thanked by:
Alex (03-19-2008), bighit8 (03-19-2008), dubjay (03-19-2008), Man blong Gaua (03-19-2008)
Old 03-19-2008, 09:30 PM   #9 (permalink)
I have UGI
 
dubjay's Avatar
 
Default

Man..you guys are good. I've been thinking about it for 4 hours (on/off of course).

Thanks..beers on me next time!
dubjay is offline
Old 03-19-2008, 09:36 PM   #10 (permalink)
Gumby
 
sladnas's Avatar
 
Default

Cool. Yeah, I just re-factored your data and stripped the double counts so I got:

25% - 242 times
50% - 141 times
75% - 159 times
100% - 398 times

Now you should be able to use traditional methods:

.25 * 242 +
.50 * 141 +
.75 * 159 +
1.0 * 398

= 719.25

We know there were 940 total plays, so the average was 719.25/940 = 76.5%
sladnas is offline
post thanked by:
Alex (03-19-2008), bighit8 (03-19-2008), dubjay (03-19-2008), PacMan (05-14-2008), Wrecker (03-20-2008)
Old 03-19-2008, 09:55 PM   #11 (permalink)
STR Veteran
 
bighit8's Avatar
 
Default

Since on subject here.I suck at math but enjoy a challenge.
3x+5>7
__________________
singletrack angel: is that a real hole Fred?
Mtbnbikefred: Yes,I have stuck all kind of things in it.
bighit8 is offline
Old 03-19-2008, 09:57 PM   #12 (permalink)
Gumby
 
sladnas's Avatar
 
Default

Quote:
Originally Posted by bighit8 View Post
Since on subject here.I suck at math but enjoy a challenge.
3x+5>7
3x > 2
x < 2/3
sladnas is offline
post thanked by:
PacMan (05-14-2008)
Old 03-19-2008, 10:00 PM   #13 (permalink)
STR Veteran
 
bighit8's Avatar
 
Default

Quote:
Originally Posted by sladnas View Post
3x > 2
x < 2/3
yes but x>2/3
__________________
singletrack angel: is that a real hole Fred?
Mtbnbikefred: Yes,I have stuck all kind of things in it.
bighit8 is offline
Old 03-19-2008, 10:02 PM   #14 (permalink)
Gumby
 
sladnas's Avatar
 
Default

Quote:
Originally Posted by bighit8 View Post
yes but x>2/3
Whoops, flew through that one too quick.
sladnas is offline
post thanked by:
bighit8 (03-19-2008), PacMan (05-14-2008)
Old 03-19-2008, 10:41 PM   #15 (permalink)
I build jumps
 
destroyer's Avatar
 
Default


⌡x3^x^2 dx


More fun!

Edit:

That's supposed to be a integration symbol.
destroyer is offline
post thanked by:
Alex (03-20-2008)
Old 03-19-2008, 10:49 PM   #16 (permalink)
underwear folder
 
strobelite's Avatar
 
Default

i just thought of a new extreme reality show, mtb and the geek!
__________________
Shin guards are for whoosies!

JoeTruth:I could never trust stiff wood between my legs!
strobelite is offline
post thanked by:
Wrecker (03-20-2008)
Old 03-19-2008, 11:15 PM   #17 (permalink)
STR Veteran
 
bighit8's Avatar
 
Default

ok i have to go to bed but....2xSquared (not sure how to put in th other 2)+ 7x= - 6
__________________
singletrack angel: is that a real hole Fred?
Mtbnbikefred: Yes,I have stuck all kind of things in it.
bighit8 is offline
Old 03-19-2008, 11:55 PM   #18 (permalink)
I build jumps
 
destroyer's Avatar
 
Default

Quote:
Originally Posted by bighit8 View Post
ok i have to go to bed but....2xSquared (not sure how to put in th other 2)+ 7x= - 6
You mean:

2x^2 + 7x = -6

Put into standard form:
2x^2 + 7x +6 = 0


Quadratic formula says:



x = [-7 +/- (7^2 - 4(2)(6))^(1/2)] / 2(2)

x = [-7 +/- (49 - 48)^(1/2)] / 4

x = (-7 +/- 1) / 4

x = -6/4 and -8


:drunk:
destroyer is offline
post thanked by:
Alex (03-20-2008)
Old 03-20-2008, 04:51 AM   #19 (permalink)
Don't taze me bro
 
emfc's Avatar
 
Default

This thread makes my brain hurt.
__________________
el_d00der1no
I busted a nut
MTBMaven
The salty flavor really hit the spot.
emfc is offline
post thanked by:
Letyrides (03-20-2008)
Old 03-20-2008, 05:17 AM   #20 (permalink)
On the edge of chaos
 
Abui's Avatar
 
Default

Quote:
Originally Posted by Abui View Post
940 * 25% = 235
698 * 50% = 349
557 * 75% = 418
398 * 100% = 398
_____________
2593 _____ 1400

Multiply Times by Percent and add the columns.
Then take 1400/2593 = 54%
Double Counting! Why didn't you say so.

That makes it easier.

Add all plays--

940
698
557
398
____
2593

Take 25% of total = 648.25

Compute % 648.25 / 2593 = .6896
or 69% in round numbers


note: dubjay's simple example
add the categories:
2
2
1
1
__
6 * 25% = 1.5
1.5/2 = 75% walla!

(sladnas had a good method but a calculator error)
Abui is offline
post thanked by:
Alex (03-20-2008), dubjay (03-20-2008)
STR sponsored links
Reply
  SoCalTrailRiders > Off topic > The Pub

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not