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!
Related Posts with Storing Bootstrapped P-values
Problem with renaming variablesHi everyone, Using the code below, I am trying to rename the first 145 variables in my dataset and r…
Propensity Score Matching (PSM) + difference-in-difference (DID)Dear all, I am working on a study about estimate the effect of policy implementation. Now I have dat…
Figure of cure model (stpm2)Hello everyone. I am working on cure models using stpm2. I want to estimate the cure point and wrote…
teffects non-converegenceHi there, I seem to be having problems using the teffects ipwra command resulting in models leading…
Compare differences in WTPHello all, I am using STATA 15.1 and estimating mixed logit models using Hole's command. I have est…
Subscribe to:
Post Comments (Atom)
0 Response to Storing Bootstrapped P-values
Post a Comment