Skip to content

brycewang-stanford/Auto-Empirical-Research-Skills / skills/18-jusi-aalto-stata-accounting-research

stata-accounting-research

Unverified

STATA code pattern library for empirical archival accounting research. Provides tested syntax from 126 peer-reviewed JAR (Journal of Accounting Research) replication files (2017-2025). Use when the user asks procedural questions like "How do I implement [method]?" or "Show me code for [technique]" — including: entropy balancing, propensity score matching (PSM), difference-in-differences (DiD), regression discontinuity (RDD), instrumental variables (IV), event studies (CAR/BHAR), survival analysis, Fama-MacBeth regressions, bootstrap, quantile regression, reghdfe/xtreg/areg, clustering standard errors, fixed effects, esttab/outreg2 table formatting, winsorization, leads/lags. Users can specify their variables (e.g., treatment, outcomes, controls) and receive adapted syntax. NOTE: This skill provides code patterns from published papers, not research design advice.

FileKindSize
README-original.mdmarkdown2.9 KB
SKILL.mdskill md4.8 KB
references/JAR_55_bbcl.doother59.1 KB
references/JAR_55_chaplinksy-hanley-moon.doother46.3 KB
references/JAR_55_clm.doother95.1 KB
references/JAR_55_elw.doother58.0 KB
references/JAR_55_hlsw.doother104.1 KB
references/JAR_55_kks.doother365.5 KB
references/JAR_55_lzz.doother25.5 KB
references/JAR_55_madsen.doother307.5 KB
references/JAR_55_mr.doother41.5 KB
references/JAR_56_al.doother75.3 KB
references/JAR_56_bch.doother13.5 KB
references/JAR_56_blv.doother24.6 KB
references/JAR_56_csmw.doother27.6 KB
references/JAR_56_en.doother21.2 KB
references/JAR_56_granja.doother107.9 KB
references/JAR_56_htw.doother18.6 KB
references/JAR_56_kmt.doother5.6 KB
references/JAR_56_ksvw.doother8.0 KB
references/JAR_56_llz.doother3.1 KB
references/JAR_56_ls.doother147.5 KB
references/JAR_56_lv2018.doother123.7 KB
references/JAR_57_bht.doother24.4 KB
references/JAR_57_bl.doother22.6 KB
references/JAR_57_bw.doother263.2 KB
references/JAR_57_cct.doother347.1 KB
references/JAR_57_cgw.doother195.8 KB
references/JAR_57_hcp.doother38.0 KB
references/JAR_57_honigsberg.doother99.5 KB
references/JAR_57_lehmann.doother112.8 KB
references/JAR_57_lm.doother85.5 KB
references/JAR_58_bsz.doother36.9 KB
references/JAR_58_ckm.doother52.3 KB
references/JAR_58_eyring.doother58.1 KB
references/JAR_58_gj.doother187.5 KB
references/JAR_58_gsz.doother121.6 KB
references/JAR_58_htyz.doother30.9 KB
references/JAR_58_jansen.doother99.5 KB
references/JAR_58_joshi.doother43.0 KB
references/JAR_58_kvy.doother19.5 KB
references/JAR_58_msz.doother35.0 KB
references/JAR_58_rauter.doother433.2 KB
references/JAR_58_wy.doother64.5 KB
references/JAR_58_zz.doother125.5 KB
references/JAR_59_breuer.doother826.9 KB
references/JAR_59_ctv.doother383.7 KB
references/JAR_59_dess.doother78.4 KB
references/JAR_59_hmo.doother351.6 KB
references/JAR_60_abkp.doother129.9 KB
references/JAR_60_alv.doother35.4 KB
references/JAR_60_at.doother38.5 KB
references/JAR_60_barrios.doother119.6 KB
references/JAR_60_bbin.doother72.9 KB
references/JAR_60_bdem.doother11.6 KB
references/JAR_60_bl.doother43.5 KB
references/JAR_60_bmsw.doother7.7 KB
references/JAR_60_cc.doother20.1 KB
references/JAR_60_cpss.doother15.4 KB
references/JAR_60_cstv.doother175.3 KB
references/JAR_60_dg.doother19.9 KB
references/JAR_60_duguay.doother8.0 KB
references/JAR_60_fhl.doother71.3 KB
references/JAR_60_gls.doother37.0 KB
references/JAR_60_hmryz.doother28.6 KB
references/JAR_60_hst.doother18.3 KB
references/JAR_60_kt.doother10.4 KB
references/JAR_60_mliu.doother28.3 KB
references/JAR_60_nrwx.doother14.6 KB
references/JAR_60_ptwy.doother26.6 KB
references/JAR_60_skim.doother14.7 KB
references/JAR_61_bcdr.doother524.9 KB
references/JAR_61_bkr.doother51.6 KB
references/JAR_61_bls.doother79.2 KB
references/JAR_61_bo.doother29.7 KB
references/JAR_61_ccm.doother48.7 KB
references/JAR_61_cdss.doother3.9 KB
references/JAR_61_cfhll.doother47.1 KB
references/JAR_61_cfmp.doother12.7 KB
references/JAR_61_ckor.doother77.5 KB
references/JAR_61_cllw.doother11.2 KB
references/JAR_61_clm.doother11.0 KB
references/JAR_61_deller.doother368.9 KB
references/JAR_61_dlrtw.doother30.6 KB
references/JAR_61_dlz.doother13.6 KB
references/JAR_61_drs.doother15.8 KB
references/JAR_61_ds.doother197.5 KB
references/JAR_61_glt.doother1.9 KB
references/JAR_61_gyz.doother7.5 KB
references/JAR_61_ll.doother89.3 KB
references/JAR_61_lszz.doother15.9 KB
references/JAR_61_os.doother128.9 KB
references/JAR_61_zureich.doother22.2 KB
references/JAR_62_1_bdsy_banerjee_etal.doother6.6 KB
references/JAR_62_1_bhs_bouwens_etal.doother59.7 KB
references/JAR_62_1_gsz_gu_sun_zhou.doother46.6 KB
references/JAR_62_2_dgzz_defranco_etal.doother1.8 KB
references/JAR_62_2_gmp_grewal_etal.doother37.2 KB
references/JAR_62_2_xyz_xin_etal.doother25.3 KB
references/JAR_62_3_bht_bloomfield_etal.doother16.0 KB
references/JAR_62_3_ccz_cheynel_etal.doother23.3 KB
references/JAR_62_3_kim.doother2.6 KB
references/JAR_62_3_rr_raghunandan_ruchti.doother15.5 KB
references/JAR_62_4_bd_breuer_dehaan.doother15.3 KB
references/JAR_62_4_cc_cadman_carrizosa.doother20.1 KB
references/JAR_62_4_kmsv_kohler_etal.doother91.5 KB
references/JAR_62_4_mps_marra_etal.doother68.0 KB
references/JAR_62_4_raghunandan.doother50.0 KB
references/JAR_62_4_stv_sran_etal.doother41.1 KB
references/JAR_62_4_xu.doother49.4 KB
references/JAR_62_5_aov_abraham_etal.doother418.9 KB
references/JAR_62_5_gibbons.doother80.1 KB
references/JAR_62_5_jiang.doother114.3 KB
references/JAR_62_5_kstz_krueger_etal.doother26.7 KB
references/JAR_62_5_llz_li_lou_zhang.doother6.2 KB
references/JAR_62_5_lrst_lins_etal.doother66.2 KB
references/JAR_62_5_lswy_lin_etal.doother85.2 KB
references/JAR_62_5_lw_li_wang.doother16.6 KB
references/JAR_63_1_blmv_bastiaansen_etal.doother18.5 KB
references/JAR_63_1_cvw_chen_etal.doother61.2 KB
references/JAR_63_1_fgr_frankel_etal.doother30.3 KB
references/JAR_63_1_hrsx_huang_etal.doother35.5 KB
references/JAR_63_1_jia.doother12.0 KB
references/JAR_63_2_bcrw_bakke_etal.doother271.3 KB
references/JAR_63_2_dlr_desimone_etal.doother83.5 KB
references/JAR_63_2_mqtz_mao_etal.doother94.2 KB
references/JAR_63_2_npstv_nessa_etal.doother7.0 KB
references/JAR_63_3_breuer.doother51.4 KB
references/REFERENCES.mdmarkdown30.7 KB

references/JAR_56_bch.do

View on GitHub
***Analysis for "Investor Behavior and the Benefits of Direct Stock Ownership"***
*Darren Bernard, Nicole Cade, and Frank Hodge
*Last updated with annotations December 2017

*Bring in data
use ""
*See dataset available on JAR website
 
set more off

****Clean up variables
*SingleName variable from survey instrument indicates absence of any direct stock ownership
replace NumberInvestments = 0 if SingleName == 0
*Missing for ShareCr (for sharing a credit card) actually indicates no shared credit card data
replace ShareCr = 0 if missing(ShareCr) & Finished == 1
*Reset OwnMoney DV to zero if participant never pays for anything at Starbucks
replace OwnMoney = 0 if Pay_Never == 100
*Reset OwnMoney_Alt (an alternative construction) DV to zero if participant never pays for anything at Starbucks
replace OwnMoney_Alt = 0 if Pay_Never == 100
*Reset NumVisits DV to zero if participant never pays for anything at Starbucks
replace NumVisits = 0 if Pay_Never == 100
*Sum cash payment and gift card proportions
gen Cash_GC_Pays = Pay_Cash + Pay_GiftCard
*Set OwnMoney, OwnMoney_Alt, and NumVisits to be missing when missing a lot of (untrackable) purchase data
replace OwnMoney = . if Cash_GC_Pays > 50 & !missing(Pay_Cash) & !missing(Pay_GiftCard)
replace OwnMoney_Alt = . if Cash_GC_Pays > 50 & !missing(Pay_Cash) & !missing(Pay_GiftCard)
replace NumVisits = . if Cash_GC_Pays > 50 & !missing(Pay_Cash) & !missing(Pay_GiftCard)
*Reset SelfReported to be zero if participant did not self report either CC purchases or App
replace SelfReported = 0 if SelfReported == .5
*Reset Include condition for a couple observations with invalid data
replace Include = 0 if missing(SingleName)

*Do continuous variable standardization
foreach var in OwnMoney OwnMoney_Alt NumVisits RegulatoryAlignment Influence_Purchasing Influence_Voting Affect Dissonance_Purchasing Dissonance_Voting Income Age NumberInvestments CoffeeTeaDrinks WorkGroupTime SBUXLinks FreqComments ToneComments NumberMeetings ReportingConfidence EarningsBeatLikelihood PerceivedConsistency Conservative Access {
	forvalues x = 1(1)3 {
		egen z_`var'`x' = std(`var') if University == `x' & Include == 1
		replace z_`var'`x' = 0 if missing(z_`var'`x')
	}
	gen z_`var' = z_`var'1 + z_`var'2 + z_`var'3
	replace z_`var' = . if missing(`var')
	drop z_`var'1 z_`var'2 z_`var'3
}

*Generate treatment interactions for potential moderators
foreach var in z_Income Female z_Age USNational z_NumberInvestments z_CoffeeTeaDrinks {
	gen T_`var' = Treatment*`var'
}

*Generate treatment interactions for mediation
foreach var in z_Influence_Purchasing z_Influence_Voting {
	gen T_`var' = Treatment*`var'
}

*Generate treatment interactions for social connections
foreach var in z_WorkGroupTime z_SBUXLinks {
	gen T_`var' = Treatment*`var'
}


***************************************************************
***CODE FOR MAIN TABLES***


***TABLE 1: Descriptive statistics***
matrix descriptives = J(29,5,0)
local n = 0
foreach var in OwnMoney OthersMoney RegulatoryAlignment Influence_Purchasing Influence_Voting Affect Dissonance_Purchasing Dissonance_Voting Income Female Age USNational NumberInvestments CoffeeTeaDrinks WorkGroupTime SBUXLinks NumberMeetings FreqComments ToneComments ReportingConfidence PerceivedConsistency EarningsBeatLikelihood SelfReported ShareCr Conservative Coffee_YN Access {
	local n = `n' + 1
	qui su `var' if Include == 1, detail
	matrix descriptives[`n',1] = `r(p25)'
	matrix descriptives[`n',2] = `r(p50)'
	matrix descriptives[`n',3] = `r(p75)'
	matrix descriptives[`n',4] = `r(mean)'
	matrix descriptives[`n',5] = `r(N)'
}
matrix list descriptives


***TABLE 2: Comparisons across experimental conditions of OwnMoney, OthersMoney, and Regulatory Alignment***
*Panel A: OwnMoney
ttest z_OwnMoney if Include == 1, by(Treatment)
*Panel B: OthersMoney
tabulate OthersMoney Treatment if Include == 1, chi2
su OthersMoney if Treatment == 1 & Include == 1
su OthersMoney if Treatment == 0 & Include == 1
*Panel C: RegulatoryAlignment
ttest z_RegulatoryAlignment if Include == 1, by(Treatment)


***TABLE 3 ORIGINAL: Mediation analyses for OwnMoney, OthersMoney, and RegulatoryAlignment***
*Panel A: OwnMoney
reg z_OwnMoney Treatment T_z_Influence_Purchasing z_Affect z_Dissonance_Purchasing if Include == 1
*Panel B: OthersMoney
logit OthersMoney Treatment T_z_Influence_Purchasing z_Affect z_Dissonance_Purchasing if Include == 1
*Panel C: RegulatoryAlignment
reg z_RegulatoryAlignment Treatment T_z_Influence_Voting z_Affect z_Dissonance_Voting if Include == 1


***TABLE 3 ALTERNATIVE (DUE TO NULL RESULTS): Comparisons across experimental conditions of mediation variables***
corr z_OwnMoney z_Influence_Purchasing if Include == 1 & Treatment == 1
pwcorr z_OwnMoney z_Influence_Purchasing if Include == 1 & Treatment == 1, sig
corr z_OwnMoney z_Influence_Purchasing if Include == 1 & Treatment == 0
pwcorr z_OwnMoney z_Influence_Purchasing if Include == 1 & Treatment == 0, sig
reg z_OwnMoney Treatment z_Influence_Purchasing T_z_Influence_Purchasing if Include == 1
 /*
*Check results using "cortesti" command
cortesti 0.0999 106 -0.0672 115
*/
corr OthersMoney z_Influence_Purchasing if Include == 1 & Treatment == 1
pwcorr OthersMoney z_Influence_Purchasing if Include == 1 & Treatment == 1, sig
corr OthersMoney z_Influence_Purchasing if Include == 1 & Treatment == 0
pwcorr OthersMoney z_Influence_Purchasing if Include == 1 & Treatment == 0, sig
reg OthersMoney Treatment z_Influence_Purchasing T_z_Influence_Purchasing if Include == 1

corr z_RegulatoryAlignment z_Influence_Voting if Include == 1 & Treatment == 1
pwcorr z_RegulatoryAlignment z_Influence_Voting if Include == 1 & Treatment == 1, sig
corr z_RegulatoryAlignment z_Influence_Voting if Include == 1 & Treatment == 0
pwcorr z_RegulatoryAlignment z_Influence_Voting if Include == 1 & Treatment == 0, sig
reg z_RegulatoryAlignment Treatment z_Influence_Voting T_z_Influence_Voting if Include == 1

ttest z_Affect if Include == 1, by(Treatment)
ttest z_Dissonance_Purchasing if Include == 1, by(Treatment)
ttest z_Dissonance_Voting if Include == 1, by(Treatment)


***TABLE 4: Individual characteristics as potential moderators***
*Panel A: OwnMoney
reg z_OwnMoney Treatment z_Income T_z_Income if Include == 1
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(1) replace
reg z_OwnMoney Treatment Female T_Female if Include == 1
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(2) 
reg z_OwnMoney Treatment z_Age T_z_Age if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(3) 
reg z_OwnMoney Treatment USNational T_USNational if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(4) 
reg z_OwnMoney Treatment z_NumberInvestments T_z_NumberInvestments if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(5) 
reg z_OwnMoney Treatment z_CoffeeTeaDrinks T_z_CoffeeTeaDrinks if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(6) 
reg z_OwnMoney Treatment z_Income Female z_Age USNational z_NumberInvestments z_CoffeeTeaDrinks T_z_Income T_Female T_z_Age T_USNational T_z_NumberInvestments T_z_CoffeeTeaDrinks if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(7) 
*Panel B: OthersMoney
logit OthersMoney Treatment z_Income T_z_Income if Include == 1
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(1) replace
logit OthersMoney Treatment Female T_Female if Include == 1
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(2) 
logit OthersMoney Treatment z_Age T_z_Age if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(3) 
logit OthersMoney Treatment USNational T_USNational if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(4) 
logit OthersMoney Treatment z_NumberInvestments T_z_NumberInvestments if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(5) 
logit OthersMoney Treatment z_CoffeeTeaDrinks T_z_CoffeeTeaDrinks if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(6) 
logit OthersMoney Treatment z_Income Female z_Age USNational z_NumberInvestments z_CoffeeTeaDrinks T_z_Income T_Female T_z_Age T_USNational T_z_NumberInvestments T_z_CoffeeTeaDrinks if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(7) 
*Panel C: RegulatoryAlignment
reg z_RegulatoryAlignment Treatment z_Income T_z_Income if Include == 1
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(1) replace
reg z_RegulatoryAlignment Treatment Female T_Female if Include == 1
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(2) 
reg z_RegulatoryAlignment Treatment z_Age T_z_Age if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(3) 
reg z_RegulatoryAlignment Treatment USNational T_USNational if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(4) 
reg z_RegulatoryAlignment Treatment z_NumberInvestments T_z_NumberInvestments if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(5) 
reg z_RegulatoryAlignment Treatment z_CoffeeTeaDrinks T_z_CoffeeTeaDrinks if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(6) 
reg z_RegulatoryAlignment Treatment z_Income Female z_Age USNational z_NumberInvestments z_CoffeeTeaDrinks T_z_Income T_Female T_z_Age T_USNational T_z_NumberInvestments T_z_CoffeeTeaDrinks if Include == 1 
outreg2 using table4_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(7) 


***TABLE 5: The effects of social connections***
*Panel A: Field Measures of Social Connections
reg z_OwnMoney Treatment z_WorkGroupTime T_z_WorkGroupTime if Include == 1
outreg2 using table5_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(1) replace
reg z_OwnMoney Treatment z_SBUXLinks T_z_SBUXLinks if Include == 1
outreg2 using table5_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(2) 
logit OthersMoney Treatment z_WorkGroupTime T_z_WorkGroupTime if Include == 1
outreg2 using table5_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(3)
logit OthersMoney Treatment z_SBUXLinks T_z_SBUXLinks if Include == 1
outreg2 using table5_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(4)
reg z_RegulatoryAlignment Treatment z_WorkGroupTime T_z_WorkGroupTime if Include == 1
outreg2 using table5_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(5)
reg z_RegulatoryAlignment Treatment z_SBUXLinks T_z_SBUXLinks if Include == 1
outreg2 using table5_reg, stats(coef tstat) bdec(3) tdec(2) excel ctitle(6)

*Panel B: Self-Reported Measures of Social Connections
ttest z_NumberMeetings if Include == 1, by(Treatment)
ttest z_FreqComments if Include == 1, by(Treatment)
ttest z_ToneComments if Include == 1, by(Treatment)


***TABLE 6: Other investor preferences and perceptions***
ttest z_ReportingConfidence if Include == 1, by(Treatment)
ttest z_PerceivedConsistency if Include == 1, by(Treatment)
ttest z_EarningsBeatLikelihood if Include == 1, by(Treatment)


***TABLE 7: Bayesian analysis***
set seed 14
bayesmh OwnMoney Treatment if Include == 1, likelihood(normal({var})) prior({OwnMoney: _cons}, flat) prior ({OwnMoney: Treatment}, normal(0,10)) prior({var}, jeffreys)
bayesgraph diagnostics _all
set seed 14
bayesmh OwnMoney Treatment if Include == 1, likelihood(normal({var})) prior({OwnMoney: _cons}, flat) prior ({OwnMoney: Treatment}, normal(0,100)) prior({var}, jeffreys)
bayesgraph diagnostics _all
set seed 14
bayesmh OwnMoney Treatment if Include == 1, likelihood(normal({var})) prior({OwnMoney: _cons}, flat) prior ({OwnMoney: Treatment}, normal(40,10)) prior({var}, jeffreys)
bayesgraph diagnostics _all
set seed 14
bayesmh OwnMoney Treatment if Include == 1, likelihood(normal({var})) prior({OwnMoney: _cons}, flat) prior ({OwnMoney: Treatment}, normal(40,100)) prior({var}, jeffreys)
bayesgraph diagnostics _all

set seed 14
bayesmh OthersMoney Treatment if Include == 1, likelihood(logit) prior({OthersMoney: _cons}, flat) prior ({OthersMoney: Treatment}, normal(0,0.01)) 
bayesgraph diagnostics _all
set seed 14
bayesmh OthersMoney Treatment if Include == 1, likelihood(logit) prior({OthersMoney: _cons}, flat) prior ({OthersMoney: Treatment}, normal(0,0.1)) 
bayesgraph diagnostics _all
set seed 14
bayesmh OthersMoney Treatment if Include == 1, likelihood(logit) prior({OthersMoney: _cons}, flat) prior ({OthersMoney: Treatment}, normal(0.2,0.01)) 
bayesgraph diagnostics _all
set seed 14
bayesmh OthersMoney Treatment if Include == 1, likelihood(logit) prior({OthersMoney: _cons}, flat) prior ({OthersMoney: Treatment}, normal(0.2,0.1)) 
bayesgraph diagnostics _all

set seed 14
bayesmh RegulatoryAlignment Treatment if Include == 1, likelihood(normal({var})) prior({RegulatoryAlignment: _cons}, flat) prior ({RegulatoryAlignment: Treatment}, normal(0,10)) prior({var}, jeffreys)
bayesgraph diagnostics _all
set seed 14
bayesmh RegulatoryAlignment Treatment if Include == 1, likelihood(normal({var})) prior({RegulatoryAlignment: _cons}, flat) prior ({RegulatoryAlignment: Treatment}, normal(0,100)) prior({var}, jeffreys)
bayesgraph diagnostics _all
set seed 14
bayesmh RegulatoryAlignment Treatment if Include == 1, likelihood(normal({var})) prior({RegulatoryAlignment: _cons}, flat) prior ({RegulatoryAlignment: Treatment}, normal(20,10)) prior({var}, jeffreys)
bayesgraph diagnostics _all
set seed 14
bayesmh RegulatoryAlignment Treatment if Include == 1, likelihood(normal({var})) prior({RegulatoryAlignment: _cons}, flat) prior ({RegulatoryAlignment: Treatment}, normal(20,100)) prior({var}, jeffreys)
bayesgraph diagnostics _all



brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 323kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall