RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post

Recently Published

R Lab 4 Function Sheet
R Lab 6 Function Sheet
Plot
Project3/STAT353
by Zoljargal Enkhbayar
Document
Code Along
Exploring Economic Trends: A Comparison of U.S. Diffusion Index and CFNAIDIFF
This analysis compares a self-constructed U.S. economic diffusion index—based on employment, industrial production, and consumer sentiment—with the Chicago Fed National Activity Diffusion Index (CFNAIDIFF). Using a 7-month rolling average, the diffusion index reveals economic expansion and contraction trends, while CFNAIDIFF offers a national perspective. Key insights include: Diffusion Index: Highlights significant fluctuations and recent economic weakening due to declines in key variables. CFNAIDIFF: Displays steadier trends, reflecting broader national stability. Correlation: Weak (0.157), indicating the diffusion index's sensitivity to localized shifts compared to CFNAIDIFF's national scope.
Document
HC_09