Dear all,
I am trying to replicate the code provided from the paper (RACIAL DISCRIMINATION AMONG NBA REFEREES by JOSEPH PRICE AND JUSTIN WOLFERS).
From the code in difference-in-difference, I got the error
how should I solve it?
below is the beginning of code and the error :
got the error:
Best
I am trying to replicate the code provided from the paper (RACIAL DISCRIMINATION AMONG NBA REFEREES by JOSEPH PRICE AND JUSTIN WOLFERS).
From the code in difference-in-difference, I got the error
Code:
varlist not allowed
below is the beginning of code and the error :
Code:
clear * set mem 600m set more off cap log close log using logs\diffindiff.log, replace use "/Users/fuzhanghaifan/Desktop/Data/individual_data.dta", clear keep if sample==1 & min>0 gen mean=1 reg fouls_rate mean outreg mean using "Results\DiffinDiff", se coefastr 3aster replace
got the error:
Code:
. outreg mean using "Results\DiffinDiff", se coefastr 3aster replace varlist not allowed r(101); end of do-file r(101);
Best
Comment