I'd like to create, say, B=100 bootstrapped samples of a dataset. I was a little surprised to learn that the -bsample- command won't do that. -bsample- will only create one boostrapped sample, with a sample size no bigger than _N. And who would want just one bootstrapped sample?
I can create 100 bootstrapped sample by putting -bsample- inside loop, but it doesn't seem like users should have to do that. Is there a command that can create 100 bootstrapped samples with a single of code?
(I do know that the -bootstrap-: prefix will generate the samples and analyze them automatically, but I have a slightly different use for the bootstrap, so that's not going to solve my problem.
Related Posts with Creating multiple bootstrapped samples
Diff-in-diff graphI am currently running a diff-in-diff analysis on stop and frisk policies in new york city using New…
Social-Network Peer Effect Regression AnalysisI am estimating peer effect of students on their GPA score using Friendship network model. The model…
How to create groups of observations based on shared characteristics and create variables around that.So I'm doing some work with election data. The data I have is formatted like this: Code: * Example…
Generates averages for partial observationsHi everyone! My dataset is composed of 4122 observations: 83 cities and for each observation to 190…
What is intreg? What is the theory behind it?The UCLA IDRE website has an article on -intreg- to estimate models with interval dependent variable…
Subscribe to:
Post Comments (Atom)
0 Response to Creating multiple bootstrapped samples
Post a Comment