I'm trying to estimate confidence intervals for my gradients after performing a kernel reegression in STATA. I created a mock dataset:
Code:
*create dataset with 1000 obs and 3 variables (random residuals, random regressors, *non-random dep var; seed 1) set obs 1000 set seed 1 gen e = rnormal(0,1) gen x = rnormal(5,8) gen y = 78 + 7*x^2 + e
Code:
npregress kernel y x
Regards,
Tobias
0 Response to Confidence intervals for gradients in npregress
Post a Comment