# 变量说明 / Variable Dictionary

本文件说明复现包中的数据文件 `analysis_data.dta` 所含变量。
This document describes the variables in the replication dataset `analysis_data.dta`.

论文题目 / Paper: *Does Artificial Intelligence Promote Corporate Green Transformation? — Empirical Evidence from the "AI Innovation and Application Pilot Zone"*

---

## 数据概览 / Dataset Overview

| 项目 / Item | 说明 / Description |
|---|---|
| 样本区间 / Period | 2010–2023 |
| 观测数 / Observations | 30,582 个公司-年 / 30,582 firm-year observations |
| 公司数 / Firms | 3,560 家 / 3,560 firms |
| 软件 / Software | Stata 18.0（.dta 格式 / .dta format） |

> 说明：数据中变量名采用拼音缩写（与代码一致），下表给出每个变量对应的中文含义、
> 手稿英文缩写（如适用）及定义。变量名在代码中保持不变，以便代码与数据一一对应。
>
> Note: Variable names in the dataset use pinyin abbreviations (consistent with the code).
> The table below gives the Chinese meaning, the manuscript English abbreviation (where
> applicable), and the definition of each variable. Variable names are kept unchanged so
> that the code and the dataset correspond one-to-one.

---

## 一、被解释变量与核心解释变量 / Dependent & Core Explanatory Variables

| 变量名 | 中文含义 | 手稿英文 / Manuscript | 定义 / Definition |
|---|---|---|---|
| `LSZX` | 企业绿色转型 | CGT (Corporate Green Transformation) | 企业绿色全要素生产率，基于非径向 SBM-ML 指数测算 / Green total factor productivity via a non-radial SBM-ML index |
| `inter` | AI 先导区（政策效应） | inter | 处理组与政策时点的交互项 Treat×Post / Interaction Treat × Post |
| `treat` | 政策分组虚拟变量 | Treat | =1 表示注册地位于 AI 先导区城市 / =1 if registered in an AI pilot-zone city |
| `post` | 政策时点虚拟变量 | Post | =1 表示城市获批当年及以后年份 / =1 for years at/after the approval year |

---

## 二、中介变量 / Mediating Variables

| 变量名 | 中文含义 | 手稿英文 / Manuscript | 定义 / Definition |
|---|---|---|---|
| `ZYPZ` | 资源配置效率 | RAE (Resource Allocation Efficiency) | 基于 Richardson(2006) 投资效率模型估计的投资偏离残差 / investment-efficiency residual from Richardson (2006) |
| `AC1`–`AC5` | 代理成本（多种度量） | AC (Agency Costs) | 代码使用 `AC2`（管理费用率）；其余为备选度量 / code uses `AC2` (management expense ratio); others are alternatives |
| `Flex1`–`Flex2` | 信贷可得性 | Flex (Credit Availability) | 代码使用 `Flex2`＝(长期借款＋短期借款)/总资产 / code uses `Flex2` = (long-term + short-term loans) / total assets |
| `CXSL` | 绿色创新数量 | GIN (Green Innovation Number) | 当年绿色专利申请数量 / number of green patent applications |
| `CXXL` | 绿色创新质量 | GIQ (Green Innovation Quality) | 绿色专利被引次数 / number of green patent citations |
| `LSTZ` | 绿色投资 | GI (Green Investment) | 在建环保工程/期末总资产 / environmental construction in progress / total assets |

---

## 三、调节变量 / Moderating Variables

| 变量名 | 中文含义 | 手稿英文 / Manuscript | 定义 / Definition |
|---|---|---|---|
| `ESG` | ESG 评级 | ESG | 华证 ESG 评分 / Huazheng ESG score |
| `NK` | 内部控制水平 | LIC (Level of Internal Control) | 迪博内部控制指数 / Dibo internal-control index |
| `HHI` | 行业竞争度 | HHI | 赫芬达尔-赫希曼指数 / Herfindahl–Hirschman Index |
| `LSJR` | 绿色金融发展水平 | GF (Green Finance Development Level) | 熵值法测算 / entropy evaluation method |
| `DCG` | 企业数字化转型 | DCG (Digital Corporate Transformation) | 年报中 76 个数字化相关词频的对数 / log frequency of 76 digital-related words in annual reports |
| `SZJJ` | 数字经济发展水平 | LDE (Level of Digital Economy) | 数字普惠金融指数对数 / digital inclusive-finance index (logged) |
| `RLZB` | 人力资本 | — | 人力资本水平（部分回归中作为调节/分组） |
| `LSRZ` | 绿色认知 | — | 高管绿色认知水平（部分回归中作为分组） |
| `LSBJ` | 绿色背景 | — | 高管是否具有绿色背景（亦作分组虚拟变量） |
| `SZHBJ` | 数字化背景 | — | 高管是否具有数字化背景（亦作分组虚拟变量） |
| `GZHJGZ` | 公众环境关注 | — | 公众环境关注度（亦作分组变量 `gzhjgz`） |
| `HJGZ` | 环境规制 | — | 环境规制强度（备选中介） |
| `SCH` | 市场化 | — | 市场化程度（备选中介） |

---

## 四、控制变量 / Control Variables

| 变量名 | 中文含义 | 手稿英文 / Manuscript | 定义 / Definition |
|---|---|---|---|
| `CASH` | 现金持有 | CASH | 经营活动净现金流/总资产 / net operating cash flow / total assets |
| `SIZE` | 企业规模 | SIZE | 年末总资产对数 / ln(total assets) |
| `LEV` | 资产负债率 | LEV | 年末总负债/总资产 / total liabilities / total assets |
| `ROA` | 资产收益率 | ROA | 净利润/总资产 / net profit / total assets |
| `DUAL` | 两职合一 | DUAL | =1 表示董事长与总经理同一人 / =1 if chairman and CEO are the same person |
| `AGE` | 企业年龄 | AGE | ln(当年-成立年+1) / ln(current year − establishment year + 1) |
| `TOP` | 股权集中度 | TOP | 第一大股东持股比例 / top shareholder's ownership ratio |
| `GDP` | 地区 GDP | GDP | 城市 GDP 对数 / ln(city GDP) |
| `CYJG` | 产业升级 | RIU (Regional Industrial Upgrading) | 地区第三产业增加值/第二产业增加值 / tertiary / secondary industry value added |
| `MBOARD` | 董事会规模 | — | 董事会人数（仅用于稳健性检验的额外控制变量） |
| `GROWTH` | 成长性 | — | 营业收入增长率（仅用于稳健性检验的额外控制变量） |

---

## 五、异质性分组虚拟变量 / Heterogeneity Grouping Dummies

| 变量名 | 中文含义 | 取值 / Values |
|---|---|---|
| `SOE` | 企业性质 | 1=国有，0=非国有 / 1 = SOE, 0 = non-SOE |
| `SMZQ` | 生命周期 | 1=成长期，2=成熟期，3=衰退期 / 1 = growth, 2 = mature, 3 = recession |
| `TECH` | 科技属性 | 1=高科技，0=非高科技 / 1 = high-tech, 0 = otherwise |
| `WR` | 污染属性 | 1=高污染行业，0=非高污染 / 1 = high-pollution, 0 = otherwise |
| `CSXJ` | 城市线级 | 1=一线城市，0=非一线 / 1 = first-tier city, 0 = otherwise |
| `LSBJ` | 绿色背景 | 1=有，0=无 / 1 = with green background, 0 = without |
| `SZHBJ` | 数字化背景 | 1=有，0=无 / 1 = with digital background, 0 = without |
| `gzhjgz` | 公众环境关注 | 1=高，0=低 / 1 = high, 0 = low |
| `PLACE` | 区位（备用） | 区位分组虚拟变量（备选） |
| `MJX` | 敏感性（备用） | 敏感性分组（备选） |
| `ZYX` | 资源型（备用） | 1=资源型城市（备选异质性） |
| `hjgz` / `sch` / `rlzb` / `lsrz` | 分组版本 | 分别为 `HJGZ`/`SCH`/`RLZB`/`LSRZ` 的分组化虚拟变量 |

---

## 六、衍生变量（已预先生成）/ Derived Variables (Pre-computed)

| 变量名 | 说明 / Description |
|---|---|
| `treated_1`–`treated_10` | 事件研究交互项（相对政策年份），基期 `treated_5` 已剔除 / event-study interaction dummies; base period `treated_5` dropped |
| `yrdum1`–`yrdum10` | 相对年份虚拟变量（由 `tab Year, gen(yrdum)` 生成）/ relative-year dummies |
| `c_inter`、`c_RLZB`、`c_ESG` 等 | 中心化变量（`center` 命令生成）/ centered variables |
| `RLZB_inter`、`ESG_inter` 等 | 交互项（`c_inter × c_*`）/ interaction terms |
| `z`、`z1`、`z3`、`A`、`Year` | 构造 `treated_*` 的中间变量 / intermediate variables used to construct `treated_*` |
| `_est_reg` | `est store`/`coefplot` 的残留变量，未用于任何回归 / residue from `est store`/`coefplot`, unused in regressions |

---

## 七、标识变量 / Identifier Variables

| 变量名 | 中文含义 | 说明 / Description |
|---|---|---|
| `id` | 公司代码 | 公司唯一标识（面板个体）/ firm identifier (panel unit) |
| `year` | 年份 | 年度（面板时间）/ year (panel time) |
| `股票简称` | 股票简称 | A 股上市简称 / A-share ticker name |
| `省份` | 省份 | 注册地所在省份 / province of registration |
| `城市` | 城市 | 注册地所在城市 / city of registration |
| `城` | 城市（备用） | 城市字段的重复/备用列 / duplicate/auxiliary city field |
