-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProb_Trial.py
More file actions
31 lines (28 loc) · 810 Bytes
/
Prob_Trial.py
File metadata and controls
31 lines (28 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
'''
Website basis: http://www.righto.com/2011/07/mathematics-of-volleyball.html
This is a beta version of probability testing
*The goal of this file is to be able to see patterns
Events:
Error
Kill
Sample Space:
{UB gaining a score, UB losing a score}
NOTE: SINCE OF THE RALLY POINT SYSTEM PROBABILITY OF SCORING WHEN A TEAM HAS THE BALL IN HAND IS HIGH
Formula? p(m,n) = p(m+1,n)+ p(m,n+1) / 2
'''
from DataUBVB import Data
import re
num_Outcome = 0 #the number of times this occurence occured
dataMatch = Data(2018)
def emotional_outcome(data):
'''
this is proof of wheter ub doesnt score when they are on the lead
:param data:
:return:
'''
def errors(data):
'''
This calculates areas where ub lost due to its number of errors
:param data:
:return:
'''