Patent firm-year by GVKEY¶
patent_firm_year.parquet is the reusable KPSS patent-outcome panel at the
Compustat company-year grain. Its key is gvkey, year.
flowchart LR
kpss[(KPSS patents + PERMNO links)] --> build[Assign issue-date GVKEY<br/>and aggregate timing measures]
ccm[(Project-raw vendor CCM Parquet)] --> build
build --> output[(Patent firm-year by GVKEY)]
classDef source fill:#e8eef7,stroke:#52739e,stroke-width:2px
classDef process fill:#fff0cc,stroke:#a66b00,stroke-width:2px
classDef reusable fill:#e2f2e7,stroke:#3b7a4b,stroke-width:2px
class kpss,ccm source
class build process
class output reusable
Inputs
| Dataset | Location |
|---|---|
| KPSS patent data | /data/patents/KPSS_2025.csv; /data/patents/Match_patent_permco_permno_2025.csv |
| Project-raw CCM links | /data/full/raw/ccm_linktable.parquet |
Build
| Component | Location |
|---|---|
| Builder | shared/data/build_datasets/patent_panel.py |
| Runtime | hct-tower-model-cuda-… |
| Entry point | python -m shared.data.build_datasets.patent_panel --config shared/config/config_full.yaml |
Output
| Dataset | File / location | Grain | Key and variables |
|---|---|---|---|
| Patent firm-year panel | patent_firm_year.parquet in /data/full/processed/ |
GVKEY-year | Key: gvkey, year; filed and issued patent counts, forward-citation sums, and nominal/real value sums |
The builder assigns each patent to the single standard CCM link valid on its
issue date: LINKTYPE is LU or LC and LINKPRIM is P or C. A
patent with no valid issuance-date link is excluded; an ambiguous valid link is
an error. This issuance-date identity is used for both outcome timings.
| Timing | Variables | Meaning |
|---|---|---|
| Filing year | patents_filed, cites_filed, value_nominal_filed, value_real_filed |
Totals for patents filed in the calendar year |
| Issue year | patents_issued, cites_issued, value_nominal_issued, value_real_issued |
Totals for patents issued in the calendar year |
cites_* is the sum of KPSS forward citations, not a weighted statistic.
value_nominal_* and value_real_* are the corresponding sums of KPSS patent
values. The product intentionally stores totals only; analyses may form
per-patent averages when appropriate. Patents with an unavailable or
filing-after-issue date remain in issue-year totals but cannot contribute to
filing-year totals.
The legacy patent_firm_year_permno.parquet product is retired. Downstream
code that joins patent data by permno-year must use this gvkey-year
product instead.