Hi everyone,
I'm trying to obtain bootstrapped p-values for a regression, and store the p-values for each coefficient for each rep. Code is similar to what follows:

sysuse auto, clear
bootstrap p=r(pvalue), rep(50) size(50) saving (bsauto, replace): regress mpg weight foreign

I get the following error here:

'r(pvalue)' evaluated to missing in full sample

I'm not sure what's going wrong here- can anyone please help me out?

Thanks a bunch!