<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cohort | Philip J Clare</title><link>https://www.philipclare.com/tags/cohort/</link><atom:link href="https://www.philipclare.com/tags/cohort/index.xml" rel="self" type="application/rss+xml"/><description>Cohort</description><generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright> © Philip J Clare 2026</copyright><image><url>https://www.philipclare.com/img/icon-192.png</url><title>Cohort</title><link>https://www.philipclare.com/tags/cohort/</link></image><item><title>Household Income and Labour Dynamics Australia (HILDA) cohort Analysis Code</title><link>https://www.philipclare.com/code/hilda/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.philipclare.com/code/hilda/</guid><description>
&lt;p&gt;This repository contains R and Stata code used in articles using the HILDA cohort.&lt;/p&gt;
&lt;h2 id=&#34;trends-in-loneliness-and-social-isolation-in-australia&#34;&gt;Trends in loneliness and social isolation in Australia&lt;/h2&gt;
&lt;p&gt;Code for all analysis in the article examining trends in loneliness and social isolation in Australia (Ding et al 2025).&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;R Code&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1 - Data extraction - pull relevant variables from HILDA data and combine into single dataset.&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/philipclare/HILDA/blob/master/Code/2025/1_Data_combine.do&#34; target=&#34;_blank&#34;&gt;Data extraction&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2 - Create summary of missing data.&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/philipclare/HILDA/blob/master/Code/2025/2_Missing_data.R&#34; target=&#34;_blank&#34;&gt;Missing data&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3 - Test linearity of trends.&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/philipclare/HILDA/blob/master/Code/2025/3_Linearity_tests.do&#34; target=&#34;_blank&#34;&gt;Linearity&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4 - Calculate observed, unadjusted prevalence.&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/philipclare/HILDA/blob/master/Code/2025/4_Raw_trends.do&#34; target=&#34;_blank&#34;&gt;Raw trends&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5 - Model trends in prevalence over time.&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/philipclare/HILDA/blob/master/Code/2025/5_Modeled_trends.do&#34; target=&#34;_blank&#34;&gt;Modeled trends&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6 - Create overall plots of prevalence.&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/philipclare/HILDA/blob/master/Code/2025/6_Create_plots.R&#34; target=&#34;_blank&#34;&gt;Create plots&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7 - Create plots stratified by levels of sociodemographic variables.&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/philipclare/HILDA/blob/master/Code/2025/7_Create_plots_by_demographics.R&#34; target=&#34;_blank&#34;&gt;Demographic plots&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8 - Calculate p-values of interaction terms.&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/philipclare/HILDA/blob/master/Code/2025/8_Demographic_interaction_pvalues.do&#34; target=&#34;_blank&#34;&gt;Interaction p-values&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9 - Test linearity, allowing for trend to change due to COVID.&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/philipclare/HILDA/blob/master/Code/2025/9_Linearity_tests_of_COVID_impact.do&#34; target=&#34;_blank&#34;&gt;COVID linearity&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10 - Model trends, allowing for trend to change due to COVID.&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/philipclare/HILDA/blob/master/Code/2025/10_Modeled_trends_of_COVID_impact.do&#34; target=&#34;_blank&#34;&gt;COVID models&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;11 - Create plots for trends, allowing for trend to change due to COVID.&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/philipclare/HILDA/blob/master/Code/2025/11_Test_COVID_impact_figure.R&#34; target=&#34;_blank&#34;&gt;COVID plots&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;</description></item></channel></rss>