Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.

In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.

All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

Marksmanship's probabilities ?

  • Filter
  • Time
  • Show
Clear All
new posts

  • Marksmanship's probabilities ?

    Hi all !

    While chatting in a live game, I was told Marksmanship uses a true random distribution, while I was telling them it was a PRD, with the most obvious effect being to change the frequency of 2+ Marksmanship procs in a row.

    Having some doubts, I decided to launch the Demo Hero thing, get an Axe with some Hearts and armor, while I kept pummeling him with my level 6 Drow Ranger with 700 attack speed thanks to multiple Moon Shards, opening the combat log and manually reading the damage instances on 30-second periods to identify which ones were Markmanship procs. While I forgot to count the number of 30-second periods I checked, I did count how many time periods I had when I made the first measurements, so the total number of attacks, N1, could be approximated as 617-618. The number of Marksmanship procs in this case was N = 121, and the number of instances where 2 procs happened on 2 consecutive attacks was x = 12. As expected, N =~ 0.2*N1, but x/N =~ 0.1.

    To get more accurate probabilities, I did some more measurements, and ended up with N = 342 and x = 30. Note no strings of 3 or more Markmanship procs in a row were detected. So why do these numbers matter ?

    If Marksmanship followed a true random distribution, one would expect x to tend to 0.2*N, which is obviously not the case with my measurements. If it followed the PRD as known in Dota 2, it should have a C =~ 0.055704042949781851858398652 for a nominal probability p = 0.2, and since a Marksmanship proc should reset the probability for a proc on the next attack to the base value C, this should result in x tending to C*N1. But that's not the case either.

    If you play a bit with this binomial probability calculator, you'd realize the cumulative probabilities P(X <= x), either with the constant p = 0.2 for true randomness or with C =~ 0.0557 for normal PRD, would give values very far from 0.5, meaning they'd be such edge cases it's way more likely the null hypotheses that Markmanship follows true randomness or normal PRD are incorrect and therefore some other model of probability distribution is afoot.

    So is Marksmanship intentionally programmed differently from normal PRD, or is there some bug ?

    Also, is it possible to have the possibility to export the combat logs in some text files for easier reading ?

    See you
    Last edited by Kenshiro; 10-21-2019, 04:27 PM.

  • #2
    Anyone ?