Dear Statalist users,
I'm preparing my master thesis, with the objective to assess the impact of factor on internationl patent collaborations, with a dataset for 14 countries, along 23 years (panel). I would like to estimate it with ppml estimator but I do not know how to include ppml and panel data together.
I have run the following codes:
gen code=0
replace code=1 if country=="CA"
replace code=2 if country=="CN"
replace code=3 if country=="DE"
replace code=4 if country=="GB"
replace code=5 if country=="HK"
replace code=6 if country=="IL"
replace code=7 if country=="IN"
replace code=8 if country=="JP"
replace code=9 if country=="KR"
replace code=10 if country=="MY"
replace code=11 if country=="NL"
replace code=12 if country=="SG"
replace code=13 if country=="TH"
replace code=14 if country=="US"
xtset code year
(1) ppml dep.var. indep.var. year dummies. country dummies.
(2) ppml dep.var. indep.var. year dummies.
(3) ppml dep.var. indep.var.
I’m wondering whether the (1) ,(2) and (3) is correct, or maybe there have other code.
Thank you all in advance.
Best regards,
Jason Hsu
I'm preparing my master thesis, with the objective to assess the impact of factor on internationl patent collaborations, with a dataset for 14 countries, along 23 years (panel). I would like to estimate it with ppml estimator but I do not know how to include ppml and panel data together.
I have run the following codes:
gen code=0
replace code=1 if country=="CA"
replace code=2 if country=="CN"
replace code=3 if country=="DE"
replace code=4 if country=="GB"
replace code=5 if country=="HK"
replace code=6 if country=="IL"
replace code=7 if country=="IN"
replace code=8 if country=="JP"
replace code=9 if country=="KR"
replace code=10 if country=="MY"
replace code=11 if country=="NL"
replace code=12 if country=="SG"
replace code=13 if country=="TH"
replace code=14 if country=="US"
xtset code year
(1) ppml dep.var. indep.var. year dummies. country dummies.
(2) ppml dep.var. indep.var. year dummies.
(3) ppml dep.var. indep.var.
I’m wondering whether the (1) ,(2) and (3) is correct, or maybe there have other code.
Thank you all in advance.
Best regards,
Jason Hsu
Comment