use "D:\daima\chapter1data_winsor.dta"
xtset code year
global var2 "i.year"
global var1a "lnasset liability_asset"
global var1b "board netprofit_asset mbratio indgrowth inddirectornetcentrality"
global var1c ""
local date "20230504"
sum2docx triangle10 trianglerate10 lninvention lnutility ///
lnasset liability_asset board netprofit_asset mbratio indgrowth inddirectornetcentrality ///
if !mi(board,mbratio,inddirectornetcentrality) ///
using 实证结果`date'.docx , replace stats(N mean(%9.4f) sd(%9.4f) min(%9.4f) max(%9.4f)) ///
title("表1 主要变量描述性统计")
结果显示too few ')' or ']'