Category "montecarlo"

simR simulate within subjects data from between-subjects design

In my pilot study I applied a between-subjects design. For the follow-up study, a within-subjects manipulation seems more feasable. I want to conduct power anal

running a python script with ptemcee (a package of Monte Carlo) in SBATCH / SLURM

I need to run a python script using sbatch / slurm The script works until the step which it must use the ptemcee (i.e. runs a monte carlo markov chain). In this

How to I make my AI algorithm play 9 board tic-tac-toe?

In order to make it easy for others to help me I have put all the codes here https://pastebin.com/WENzM41k it will starts as 2 agents compete each other. I'm t

Pricing Barrier Option with Down and In

trying to price a Put Down In option, but i keep getting all my options values to 0. I'm trying to implement this model from a working Put Up Out model. I feel

Generating isotropic steps with lengths distributed as exp(-x/lambda)

I'm writing a code about radiation transportation and have generated isotropic vectors as shown by my code. I'm now unsure about how to generate isotropic steps