I want to make a profit parameter p(i,j) and another parameter y(i,j)
p(i,j) is equal to 2 if i + j is even, and is equal to 1 if i + j is even
y(i,j) is to 0 with probability 0.8 and 50 with probability 0.2
How do I write both parameters?
Search found 6 matches
Re: Help
Thanks Michael!
It looks like your code displays all the umpires who umpired that matchup. I believe this is because of the index. Could you repost the last block of code fixing this problem please?
It looks like your code displays all the umpires who umpired that matchup. I believe this is because of the index. Could you repost the last block of code fixing this problem please?
Re: Help
I'm having a problem where every single umpire who has umpired that game gets thrown into the best_umpire set. I thought removing the index part would fix that but it did not. Any ideas? This is what I have right now: parameter scores(umpire,home,away); scores(umpire,home,away) = correct_calls_above...
Re: Help
Thanks! That's exactly what I needed. I'm curious about an extension to this problem. What if you weren't given the scores parameter but given several other parameters such as: correct_calls_above_expected(index,umpire,home,away) accuracy_above_expected(index,umpire,home,away) consistency(index,umpi...
Re: Help
scores(index, umpire, home, away) is a parameter.
for example: scores(1,'Mike Smith','ATL','LAD') = 1.24
scores has all the data for the last 18000+ MLB games
What I want is all the best umpires for each home and away matchup somehow displayed.
Hopefully that clears things up.
for example: scores(1,'Mike Smith','ATL','LAD') = 1.24
scores has all the data for the last 18000+ MLB games
What I want is all the best umpires for each home and away matchup somehow displayed.
Hopefully that clears things up.
Help
I'm trying to display the umpires with the best score for each home and away team. The way I have it set up is a two-dimensional set with home and away teams in the matchup set. The best scores set has all the best scores for each type of home and away team. The scores parameter has a value attached...