optimizing

  1. C

    Determination of optimum bin size

    Dear all If I have a sparse data set and wanting to bin the data points such that there are enough data points in a bin, is there theories/journal which states statistically which is the best way to determine the best bin size? From the left figure showing the...
  2. M

    Optimization of While and For loops

    Hi I am relatively new to R and have been using an algorithm for a project. I is in this case about 400 million. It is taking a rather long time to run ~20 - 30 minutes, and I was curious if there was a better way of running this? dPNProbExpand is a vector of probabilities, 1 row...