Code:
global wc_mvp = 10 regress percent_funded novelty_score if wc > $wc_mvp
invalid syntax
r(198);
r(198);
I should mention
Code:
regress percent_funded novelty_score if wc > 10
global wc_mvp = 10 regress percent_funded novelty_score if wc > $wc_mvp
regress percent_funded novelty_score if wc > 10
sysuse auto global x = 0 reg price mpg length if foreign > $x
. sysuse auto (1978 automobile data) . global x = 0 . reg price mpg length if foreign > $x Source | SS df MS Number of obs = 22 -------------+---------------------------------- F(2, 19) = 21.03 Model | 99446576.4 2 49723288.2 Prob > F = 0.0000 Residual | 44916636.3 19 2364033.49 R-squared = 0.6889 -------------+---------------------------------- Adj R-squared = 0.6561 Total | 144363213 21 6874438.7 Root MSE = 1537.5 ------------------------------------------------------------------------------ price | Coefficient Std. err. t P>|t| [95% conf. interval] -------------+---------------------------------------------------------------- mpg | -68.4809 66.64538 -1.03 0.317 -207.9713 71.00947 length | 135.5885 32.20197 4.21 0.000 68.18903 202.988 _cons | -14771.69 6626.241 -2.23 0.038 -28640.57 -902.8082 ------------------------------------------------------------------------------ .
Comment