Install any skill in seconds. Free to start, no credit card required.
Get Started Free →brycewang-stanford/stats
Econometrics skill for descriptive statistics and summary tables. Activates when the user asks about: "descriptive statistics", "summary statistics", "summary table", "Table 1", "balance table", "means and standard deviations", "correlation matrix", "data summary", "sample characteristics", "variable distributions", "描述性统计", "描述统计", "汇总统计", "统计表", "均值标准差", "平衡性检验", "相关矩阵", "样本特征", "变量分布"
Passed 22 of 22 test cases with the skill, and 19 of 22 without it.
and 1 more in the full report
3 fixed19 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
Before running my main regression models in Python, I want to explore pairwise relationships between my numeric variables. Could you show me how to generate a correlation matrix DataFrame that includes statistical significance indicators or p-values for each pair?
| Checked | Without skill | With skill |
|---|---|---|
| Uses scipy.stats pearsonr to calculate correlation p-values. | Passed | Passed |
| Applies significance stars using thresholds * for p < 0.1, ** for p < 0.05, and *** for p < 0.01. | Missed | Passed |
The instructions your model reads when the skill loads.
This skill generates publication-quality summary statistics tables, balance tables, and correlation matrices — the essential "Table 1" found in every empirical economics paper.
# Python — publication-quality summary stats
import pandas as pd
# Basic summary stats
desc = df[['income', 'age', 'education', 'hours_worked']].describe().T
desc = desc[['count', 'mean', 'std', 'min', '25%', '50%', '75%', 'max']]
desc.columns = ['N', 'Mean', 'SD', 'Min', 'P25', 'Median', 'P75', 'Max']
print(desc.round(3).to_string())
# Using tableone for clinical/econ style Table 1
# pip install tableone
from tableone import TableOne
table1 = TableOne(df, columns=['income', 'age', 'education', 'hours_worked'],
categorical=['female', 'race'],
groupby='treatment', pval=True)
print(table1.tabulate(tablefmt="github"))
table1.to_excel("table1.xlsx")
# R — modelsummary::datasummary
library(modelsummary)
test cases passed, vs 19 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.