times argument in the
createdatapartition function used to create monte Carlo simulations?
I mean when we use a value of more than 1
It's resampling which I guess could be considered a Monte Carlo simulation. It is making different variations of the data set using the original data (i.e. not purely simulated by sampling a theoretical distribution).
Thanks, Max for the reply
this is another form of Monte Carlo simulation where I can have control of the number of simulations, correct?
iris_sub <- iris %>% sample_n(size = 50, replace = TRUE)
That is bootstrapping.
Do you know a way which can perform Monte Carlo simulation in a way which controls the sample size?
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.