
 
 winsor2  OR ,replace cuts(1 99)

 *****Descriptive statistics table

 sum   overwork  digital  lnasset AD CK OC ROA
 
 
 ****Benchmark regression
****Binary regression
 reg lnoverwork lndigital  i.year ,robust cluster(id)
 estimates store a1
 
***Introduce control variables
reg lnoverwork  lndigital  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store a2


***********explained variable
***Distinguish between weekends and non-weekends
reg lnovework_nw  lndigital  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store a3


reg lnovework_nw  lndigital  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store a4

esttab a1 a2  a3 a4 using a.rtf,replace b(%10.4f)  se scalars(N r2) star(* 0.1 ** 0.05 *** 0.01)


*****endogeneity treatment
*****Digital attention of the local government

xi:ivreg2 lnoverwork lnasset AD CK OC ROA i.year ( lndigital = GC  ),cluster(id) robust first

estimates store b1
*****Public digital attention in the city

xi:ivreg2 lnoverwork  lnasset AD CK OC ROA i.year ( lndigital = PC  ),cluster(id) robust first

estimates store b2
***Deduction for digital empowerment in the same city, excluding the enterprise itself

xi:ivreg2 lnoverwork lnasset AD CK OC ROA i.year ( lndigital = lndigital_city  ),cluster(id) robust first

estimates store b3
******Deduction of digital empowerment from the same industry, excluding the enterprise itself

xi:ivreg2 lnoverwork lnasset AD CK OC ROA i.year ( lndigital = lndigital_ind  ),cluster(id) robust first

estimates store b4

esttab b1 b2 b3 b4  using b.rtf,replace b(%10.4f)  se scalars(N r2) star(* 0.1 ** 0.05 *** 0.01)

*******Discussion on internal mechanisms
*****Expanding the enterprise market, thereby demanding more overtime work

reg income   lndigital  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store c1

reg lnturnover  lndigital  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store c2

********Incentivizing digital innovation in enterprises, thereby demanding more overtime work
reg lnpatent_a  lndigital  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store c3

reg lnpatent  lndigital  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store c4

*******The increase in personnel size, especially the increase in scientific and technological personnel

reg lnworker  lndigital  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store c5

reg lnRDPerson  lndigital  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store c6

esttab c1 c2 c3 c4  using c14.rtf,replace b(%10.4f)  se scalars(N r2) star(* 0.1 ** 0.05 *** 0.01)
esttab c5 c6   using c56.rtf,replace b(%10.4f)  se scalars(N r2) star(* 0.1 ** 0.05 *** 0.01)


*******************Scalability discussion

******Have you received corresponding compensation for the overtime work due to digitization
reg lnwage  lndigital    lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store d1

reg lnwage  lndigital  lndigital_overtime  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store d2

reg lnawage  lndigital  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store d3

reg lnawage  lndigital  lndigital_overwork  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store d4
esttab d1 d2 d3 d4  using d.rtf,replace b(%10.4f)  se scalars(N r2) star(* 0.1 ** 0.05 *** 0.01)

************The impact of corporate strategy and external environment?


*****Robust Analytical Quality
reg lnoverwork lndigital  lnasset AD CK OC ROA  i.year  if strategy<12 & strategy!=. ,robust cluster(id)
estimates store e1

*****Proactive and Enterprising Type
reg lnoverwork lndigital  lnasset AD CK OC ROA  i.year  if strategy>=12 & strategy!=.,robust cluster(id)
estimates store e2

****Highly competitive environment
reg lnoverwork lndigital  lnasset AD CK OC ROA  i.year  if HHI<HHI_mean ,robust cluster(id)
estimates store e3
****Low competitive environment
reg lnoverwork lndigital  lnasset AD CK OC ROA  i.year  if HHI>=HHI_mean ,robust cluster(id)
estimates store e4
esttab e1 e2 e3 e4  using e.rtf,replace b(%10.4f)  se scalars(N r2) star(* 0.1 ** 0.05 *** 0.01)




************The overall atmosphere of the company

******Positive and negative attitudes

reg lnoverwork  lndigital  positive i.year ,robust cluster(id)
estimates store f1

reg lnoverwork  lndigital  positive  lnasset AD CK OC ROA  i.year ,robust cluster(id)
estimates store f2


reg lnoverwork  lndigital  negative   i.year ,robust cluster(id)

estimates store f3

reg lnoverwork  lndigital  negative  lnasset AD CK OC ROA  i.year ,robust cluster(id)

estimates store f4

esttab f1 f2 f3 f4  using f.rtf,replace b(%10.4f)  se scalars(N r2) star(* 0.1 ** 0.05 *** 0.01)
