I am trying to implement this bootstrap method for my data, but with more variables, to correct my standard errors. Somewhere I am messing up though.
Cross-posted at