Lucas Shen Y.S.

Brief Bio

Working Papers

Measuring Political Media Slant Using Text Data

October 2021
PDF Online Appendix Slides Code Speech topics viz.

1 / 2
Substring accuracy across time
2 / 2
Effect Sizes

International Trafficking in Persons and Global Health Security: Evidence from Two Modern Pandemics

February 2022
PDF Slides

1 / 2
Reduced form: Coastlines and Covid-19
2 / 2
Contact rate in SIRD, interactions by months

Deconstructing the MeToo Movement and the Blue Wave in the 2018 House Elections

November 2022
PDF Slides

1 / 3
Timeline of MeToo tweets (2018)
2 / 3
Conditional relationship b/w MeToo tweets and individual returns
3 / 3
Strategic candidacy of Democratic women challengers

Neighborhood Asymmetries and Visits

October 2022 (with LIM Jing Zhi)
PDF Slides

1 / 4
Scale & borders in the Singapore context
2 / 4
Two neighbourhoods (Mount Pleasant & Toa Payoh Central)
3 / 4
Asymmetries in mismatch and visits
4 / 4
EIP and increases in neighborhood visits

Residential proximity to transport facilities as urban determinants of individual-level per- and poly-fluoroalkyl substance (PFAS) exposures: Analysis of two longitudinal cohorts in Singapore

July 2024 (with Subhashni Raj, Youssef Oulhote, Damaskini Valvi, Sharon Ng, See Ling Loy, Shiao-yng Chan, Tarik Benmarhnia, and Jonathan Y. Huang)
PDF

Social Proof is in the Pudding: The (Non)-Impact of Social Proof on Software Downloads

August 2024 (with Gaurav Sood)
PDF

Parental engagement as early life modifiers of the effects of parks accessibility on childhood psychological resilience: A geospatial-temporal analysis in an urban prospective, longitudinal cohort

August 2024 (with Michelle Z.L Kee, Jian Huang, Ka Kei Sum, Keri McCrickerd, Gerard Chung, Evelyn Law, Fabian Yap, Yung Seng Lee, Yap Seng Chong, Keith M Godfrey, and Jonathan Y. Huang)
PDF

Peer-Reviewed Journal Articles

Does working from home work? A natural experiment from lockdowns

European Economic Review, 2023
PDF Published version (DOI) Online Appendix Slides

1 / 5
Change in output (tracked changes)
2 / 5
Sensitivity to geocoding
3 / 5
Standard vs local time
4 / 5
Local time by hour-of-day
5 / 5
Global rollout of lockdowns

Holier Than Thou? No Large Partisan Gaps in the Consumption of Pornography Online

(with Gaurav Sood)
Journal of Quantitative Description: Digital Media, 2024
PDF Published version (DOI) Replication package

1 / 3
Online consumption
2 / 3
W/o covariates
3 / 3
With covariates

A Measurement Gap? The Effect of Survey Instrument and Scoring on the Partisan Knowledge Gap

(with Gaurav Sood and Daniel Weitzel)
Public Opinion Quarterly, Conditionally Accepted
PDF Replication package

1 / 2
Knowledge gaps by different treatment groups and items
2 / 2
Weighted estimate of inflated partisan gaps

Work in Progress

Social Exposure Zones in a Small City

(with LIM Jing Zhi)
Slides Income/Experienced segregation indices viz.

Other Publications & Projects

Income and Productivity Trends of Guangdong: A Data-Driven Case Study of the Greater Bay Area

October 2022 (with LI Jingwei and ZHANG Xuyao)
PDF (latest version) PDF (ACI WP)

1 / 1
Permutation tests

Segregation Across Neighborhoods in a Small City

(with LEE Shu En, LIM Jing Zhi)
PDF (latest version)

[*Superceded by Neighborhood Asymmetries and Visits]

Unexpected Shocks to Movement and Job Search: Evidence from COVID-19 Policies in Singapore Using Google Data

PDF

1 / 3
Early changes (anomalies) in movement patterns
2 / 3
Lockdown announcement effect
3 / 3
Early changes in job searches

Report on Surveying the Singapore Urban Labour Market Using Online Job Postings

(with Terence Ho, LIM Jing Zhi)
PDF

Software

LexicalRichness: A module to compute textual lexical richness
LexicalRichness computes measures of lexical richness (aka lexical diversity or language sophistication) from textual data. Lexical richness refers to the ratio of different unique words to the total number of words in a text. Measures include MTLD and HD-D, which are resilient to varying text lengths.
Src PyPI ReadTheDocs DOI

runPyNB: Run Jupyter notebooks in command-line and Makefiles
runPyNB offers a command-line utility that runs (and time) Jupyter notebook files (.ipynb) without launching the IDEs (Jupyter notebooks or JupyterLab).
Src PyPI ReadTheDocs DOI

Forestplot: Make publication-ready but customizable coefficient plots
Forestplot makes publication-ready coefficient plots easy to make out-of-the-box. Other names for forest plots are: coefplots, coefficient plots, meta-analysis plots, dot-and-whisker plots, blobbograms, margins plots, regression plots, and ropeladder plots. Users provide a dataframe (e.g. from a spreadsheet) where rows correspond to a variable/study with columns including estimates, variable labels, and confidence interval limits.
Src PyPI ReadTheDocs DOI

Downloads

rbStata: CLI utility to roll back Stata data version
rbStata is a command-line interface to easily convert between (or, roll back) versions of Stata's .dta data files (which are not forward compatible).
Src PyPI ReadTheDocs DOI

Notes

Some notes on carpentry and teaching resources.

Since 2023, I've been writing notes broadly covering coding, meta-programming, and applied statistics in the context of empirical/data science. I'm mainly writing for myself. If you find some of these notes useful too, that's a bonus. Click the link above to see them.

[I use Continuous Integration (CI), including automated weekly checks, for deadlinks. However, if you can't find a resource you need, please don't hesitate to reach out.]

Contact


Email: lucas@lucasshen.com
lucas_shen@sics.a-star.edu.sg