skewed coin toss simulator

Discussion in 'Automated Trading' started by hilmy83, Aug 21, 2022.

  1. hilmy83

    hilmy83

    i'm trying to simulate skewed coin toss on google sheets.

    heads=95%
    tails =5%

    i was trying this but it gives error.

    =PROB(1,2,{0.95,0.05})
     
  2. Real Money

    Real Money

    Just use =Rand() in one of the cells and then use =If([cell reference]<0.05, 0, 1) to create a boolean for the heads result. If the second cell is 1 then its heads. You can hold the F9 key to simulate trials.
     
    rb7 and hilmy83 like this.
  3. hilmy83

    hilmy83

    when i use rand() it randoms from 0-1.
    upload_2022-8-21_17-25-3.png
    upload_2022-8-21_17-25-33.png

    i have to do randbetween(1,2)
     
  4. DaveV

    DaveV

    hilmy83 and Real Money like this.
  5. hilmy83

    hilmy83

    ah, nevermind got it lol

    upload_2022-8-21_17-34-38.png
     
  6. toss this guy, he comes up tails every time, his fave position

    upload_2022-8-22_16-36-31.png