iteration

  1. X

    Markov Decission Processes Discount /Reward

    Hello stats lovers! I am new to this forum and this will be my first thread:) Subject : Markov Decission Processes Utility sequences, Gamma indicates reward for every action. However when your Gamma is higher than 1 then it indicates you want your reward later instead of directly. Can someone...
  2. D

    Converting syntax between python and STATA

    Dear colleagues, Im converting a code written in PYTHON to STATA and I'm stuck at the point when have to apply the iterative procedure. Cannot find the way to write the loop so that it includes the initial value and generates an estimate for lat. Has any of you got any experience with that...
  3. L

    iteration using a loop in R

    Hi, I have two vectors as follows: popd = vector(mode='numeric', 100) popr = vector(mode='numeric', 100) These represent the initial distribution within 2 populations. I want to define these e.g. popd[]=0.01 popr[]=0.01 These populations will then transform according to the following...
  4. B

    Sports Forecasting - a million iterations

    Hello, I am working on a forecasting project and would like to create a script that automates the following steps: order data by X characteristic Create groupings 1...N. (Say deciles) run regression on the sample data for each decile group arranged by X Determine result. (A mathematical...