<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>ready4 – Use - utility mapping</title>
    <link>/tags/use-utility-mapping/</link>
    <description>Recent content in Use - utility mapping on ready4</description>
    <generator>Hugo -- gohugo.io</generator>
    <lastBuildDate>Fri, 20 Oct 2023 00:00:00 +0000</lastBuildDate>
    
	  <atom:link href="/tags/use-utility-mapping/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docs: Examples</title>
      <link>/docs/examples/</link>
      <pubDate>Thu, 05 Jan 2017 00:00:00 +0000</pubDate>
      
      <guid>/docs/examples/</guid>
      <description>
        
        
        &lt;p&gt;An scientific summary of the ready4 prototype software framework and its early application in youth mental health is &lt;a href=&#34;https://doi.org/10.1007/s40273-024-01378-8&#34;&gt;available as an open-access article in PharmacoEconomics&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Additional information is available from the project website of &lt;a href=&#34;https://readyforwhatsnext.com/&#34;&gt;readyforwhatsnext - a modular and open source economic model of youth mental health&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Model health utility</title>
      <link>/docs/model/analyses/replication-code/map-utility/</link>
      <pubDate>Thu, 05 Jan 2017 00:00:00 +0000</pubDate>
      
      <guid>/docs/model/analyses/replication-code/map-utility/</guid>
      <description>
        
        
        
      </description>
    </item>
    
    <item>
      <title>Docs: Explore candidate utility mapping models</title>
      <link>/docs/model/modules/using-modules/people/explore-models/</link>
      <pubDate>Fri, 20 Oct 2023 00:00:00 +0000</pubDate>
      
      <guid>/docs/model/modules/using-modules/people/explore-models/</guid>
      <description>
        
        
        

&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;This below section renders a vignette article from the specific library. You can use the following links to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://ready4-dev.github.io/specific/articles/V_01.html&#34;&gt;view the vignette on the library website (adds useful hyperlinks to code blocks)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/specific/blob/main/vignettes/V_01.Rmd&#34;&gt;view the source file&lt;/a&gt; from that article, and;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/specific/edit/main/vignettes/V_01.Rmd&#34;&gt;edit its contents&lt;/a&gt; (requires a GitHub account).&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;p&gt;Note: &lt;strong&gt;This vignette uses fake data&lt;/strong&gt; - it is for illustrative purposes only and should not be used to inform decision making. The &lt;code&gt;specific&lt;/code&gt; package includes &lt;a href=&#34;https://www.ready4-dev.com/docs/framework/implementation/modularity/#ready4-model-modules&#34;&gt;ready4 framework model modules&lt;/a&gt; that form part of &lt;a href=&#34;https://www.ready4-dev.com/docs/model/&#34;&gt;the ready4 youth mental health economic model&lt;/a&gt;. Currently, these modules are not optimised to be used directly, but are instead intended for use in other model modules. For example, the &lt;a href=&#34;https://ready4-dev.github.io/TTU/index.html&#34;&gt;TTU package&lt;/a&gt; includes modules that extend &lt;code&gt;specific&lt;/code&gt; modules to help implement &lt;a href=&#34;https://www.ready4-dev.com/docs/model/modules/using-modules/people/map-to-utility/&#34;&gt;utility mapping studies&lt;/a&gt;. However, to illustrate the main features of &lt;code&gt;specific&lt;/code&gt; modules this vignette demonstrates how &lt;code&gt;specific&lt;/code&gt; modules could be used independently. In practice, workflow illustrated in this article would probably need to be performed iteratively in order to identify the optimal model types, predictors and covariates and to update default values to ensure model convergence.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/&#39;&gt;ready4&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/scorz/&#39;&gt;scorz&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/specific/&#39;&gt;specific&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;h2 id=&#34;set-consent-policy&#34;&gt;Set consent policy&lt;/h2&gt;
&lt;p&gt;By default, modules in the &lt;code&gt;specific&lt;/code&gt; package will request your consent before writing files to your machine. This is the safest option. However, as there are many files that need to be written locally for this program to execute, you can overwrite this default by supplying the value &amp;ldquo;Y&amp;rdquo; to methods with a &lt;code&gt;consent_1L_chr&lt;/code&gt; argument.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;&#34;&lt;/span&gt; &lt;span class=&#39;c&#39;&gt;# Default value - asks for consent prior to writing each file.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;h2 id=&#34;import-data&#34;&gt;Import data&lt;/h2&gt;
&lt;p&gt;We start by ingesting our data. As this example uses EQ-5D data, we import a &lt;code&gt;ScorzEuroQol5&lt;/code&gt; &lt;a href=&#34;https://ready4-dev.github.io/ready4/articles/V_01.html&#34;&gt;ready4 framework module&lt;/a&gt; (created using the steps described in &lt;a href=&#34;https://ready4-dev.github.io/scorz/articles/V_02.html&#34;&gt;this vignette from the scorz pacakge&lt;/a&gt;) into a &lt;code&gt;SpecificConverter&lt;/code&gt; Module and then apply the &lt;code&gt;metamorphose&lt;/code&gt; method to convert it into a &lt;code&gt;SpecificModel&lt;/code&gt; module.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/specific/reference/SpecificConverter-class.html&#39;&gt;SpecificConverter&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;a_ScorzProfile &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;ready4use&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4use/reference/Ready4useRepos-class.html&#39;&gt;Ready4useRepos&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;gh_repo_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;ready4-dev/scorz&#34;&lt;/span&gt;, &lt;/span&gt;
&lt;span&gt;                                                                  gh_tag_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Documentation_0.0&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;                         &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/ingest-methods.html&#39;&gt;ingest&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;fls_to_ingest_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;ymh_ScorzEuroQol5&#34;&lt;/span&gt;,  metadata_1L_lgl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;F&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt; &lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/metamorphose-methods.html&#39;&gt;metamorphose&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/class.html&#39;&gt;class&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;SpecificModels&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; attr(,&#34;package&#34;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;specific&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 id=&#34;inspect-data&#34;&gt;Inspect data&lt;/h2&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;p&gt;The dataset we are using has a total of 1786 records at two timepoints on 1068 study participants. The first six records are reproduced below.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;caption&gt;
Dataset
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Unique identifier
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Data collection round
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Date of data collection
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Age
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Gender (grouped)
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Sex at birth
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Sexual orientation
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Relationship status
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Aboriginal or Torres Strait Islander
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Culturally And Linguistically Diverse
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Region of residence (metropolitan or regional)
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Education and employment status
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
EQ5D - Mobility domain score
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
EQ5D - Self-Care domain score
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
EQ5D - Usual Activities domain score
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
EQ5D - Pain / Discomfort domain score
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
EQ5D - Anxiety / Depression domain score
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Kessler Psychological Distress - 10 Item Total Score
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Overall Wellbeing Measure (Winefield et al. 2012)
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
EuroQol (EQ-5D) - (weighted total)
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
EuroQol (EQ-5D) - (unweighted total)
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
BL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2019-10-22
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
14
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Male
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Male
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Heterosexual
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
In a relationship
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
No
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
No
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Metro
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Not studying or working
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
11
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
87
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.879
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
6
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
2
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
BL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2019-10-17
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
19
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Female
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Female
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Heterosexual
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
In a relationship
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Yes
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Yes
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Regional
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Studying only
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
14
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
65
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.846
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
6
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
2
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
FUP
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2020-02-14
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
19
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Female
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Female
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Heterosexual
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
In a relationship
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Yes
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Yes
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Regional
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Studying only
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
3
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
10
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
71
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.850
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
7
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
3
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
BL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2020-02-15
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
21
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Female
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Female
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Other
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Not in a relationship
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Metro
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Studying only
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
3
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
13
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
74
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.883
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
7
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
3
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
FUP
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2020-06-14
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
21
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Female
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Female
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Other
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Not in a relationship
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Metro
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Studying only
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
10
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
64
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.906
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
6
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
4
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
BL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2019-12-14
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
12
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Female
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Female
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Heterosexual
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
In a relationship
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Yes
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Yes
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Metro
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Not studying or working
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
3
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
18
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
40
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.796
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
7
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;To source dataset of &lt;code&gt;X&lt;/code&gt; is contained in the &lt;code&gt;a_YouthvarsProfile&lt;/code&gt; slot and is a &lt;code&gt;YouthvarsSeries&lt;/code&gt; module. For more information about methods that can be used to explore this dataset, &lt;a href=&#34;https://ready4-dev.github.io/youthvars/articles/V_02.html&#34;&gt;read this vignette from the youthvars package&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;specify-parameters&#34;&gt;Specify parameters&lt;/h2&gt;
&lt;p&gt;In preparation for exploring our dataset, we need to declare a set of model parameters in a &lt;code&gt;b_SpecificParameters&lt;/code&gt; slot of &lt;code&gt;X&lt;/code&gt;. This can be done in one step, or in sequential steps. In this example, we will proceed sequentially.&lt;/p&gt;
&lt;h3 id=&#34;dependent-variable&#34;&gt;Dependent variable&lt;/h3&gt;
&lt;p&gt;The dependent variable (total EQ-5D utility score) has already been specified when we imported the data from the &lt;code&gt;ScorzEuroQol5&lt;/code&gt; module.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procureSlot-methods.html&#39;&gt;procureSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@depnt_var_nm_1L_chr&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;eq5d_total_w&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We can now add details of the allowable range of dependent variable values.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renewSlot-methods.html&#39;&gt;renewSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@depnt_var_min_max_dbl&#34;&lt;/span&gt;, &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;-&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;1&lt;/span&gt;,&lt;span class=&#39;m&#39;&gt;1&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;candidate-predictors&#34;&gt;Candidate predictors&lt;/h3&gt;
&lt;p&gt;We can now specify the names of candidate predictor variables.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renewSlot-methods.html&#39;&gt;renewSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@candidate_predrs_chr&#34;&lt;/span&gt;, &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;K10_int&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;Psych_well_int&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We next add meta-data about each candidate predictor variable in the form of a &lt;code&gt;specific_predictors&lt;/code&gt; object.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renewSlot-methods.html&#39;&gt;renewSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@predictors_lup&#34;&lt;/span&gt;, class_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;integer&#34;&lt;/span&gt;, class_fn_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;youthvars::youthvars_k10_aus&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;as.integer&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, covariate_lgl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;F&lt;/span&gt;, increment_dbl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;m&#39;&gt;1&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;               long_name_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;Kessler Psychological Distress - 10 Item Total Score&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;Overall Wellbeing Measure (Winefield et al. 2012)&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, max_val_dbl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;50&lt;/span&gt;,&lt;span class=&#39;m&#39;&gt;90&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, min_val_dbl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;10&lt;/span&gt;,&lt;span class=&#39;m&#39;&gt;18&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, mdl_scaling_dbl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;m&#39;&gt;0.01&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;               short_name_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;K10_int&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;Psych_well_int&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The &lt;code&gt;specific_predictors&lt;/code&gt; object that we have added to &lt;code&gt;X&lt;/code&gt; can be inspected using the &lt;code&gt;exhibitSlot&lt;/code&gt; method.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/exhibitSlot-methods.html&#39;&gt;exhibitSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@predictors_lup&#34;&lt;/span&gt;, scroll_box_args_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/list.html&#39;&gt;list&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;width &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;100%&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Variable
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Description
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Minimum
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Maximum
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Class
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Increment
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Function
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Scaling
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Covariate
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
K10_int
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Kessler Psychological Distress - 10 Item Total Score
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
50
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
integer
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
youthvars::youthvars_k10_aus
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.01
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
FALSE
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Psych_well_int
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Overall Wellbeing Measure (Winefield et al. 2012)
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
18
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
90
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
integer
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
as.integer
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.01
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
FALSE
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;covariates&#34;&gt;Covariates&lt;/h3&gt;
&lt;p&gt;We also specify the covariates that we aim to explore in conjunction with each candidate predictor.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renewSlot-methods.html&#39;&gt;renewSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@candidate_covars_chr&#34;&lt;/span&gt;, &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;d_sex_birth_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_age&#34;&lt;/span&gt;,  &lt;span class=&#39;s&#39;&gt;&#34;d_sexual_ori_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_studying_working&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;descriptive-variables&#34;&gt;Descriptive variables&lt;/h3&gt;
&lt;p&gt;We also specify variables that we will use for generating descriptive statistics about the dataset.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renewSlot-methods.html&#39;&gt;renewSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@descv_var_nms_chr&#34;&lt;/span&gt;, &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;d_age&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;Gender&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;d_relation_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_sexual_ori_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;Region&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_studying_working&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;temporal-variables&#34;&gt;Temporal variables&lt;/h3&gt;
&lt;p&gt;The name of the dataset variable for data collection timepoint and all of its unique values were imported when converting the &lt;code&gt;ScorzEuroQol5&lt;/code&gt; module.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procureSlot-methods.html&#39;&gt;procureSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;a_YouthvarsProfile@timepoint_var_nm_1L_chr&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;Timepoint&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procureSlot-methods.html&#39;&gt;procureSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;a_YouthvarsProfile@timepoint_vals_chr&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;BL&#34;  &#34;FUP&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;However, we also need to specify the name of the variable that contains the datestamp for each dataset record.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renewSlot-methods.html&#39;&gt;renewSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@msrmnt_date_var_nm_1L_chr&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;data_collection_dtm&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;candidate-models&#34;&gt;Candidate models&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;X&lt;/code&gt; was created with a default set of candidate models, stored as a &lt;code&gt;specific_models&lt;/code&gt; sub-module, which can be inspected using the &lt;code&gt;exhibitSlot&lt;/code&gt; method.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/exhibitSlot-methods.html&#39;&gt;exhibitSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@candidate_mdls_lup&#34;&lt;/span&gt;, scroll_box_args_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/list.html&#39;&gt;list&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;width &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;100%&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;caption&gt;
Model types lookup table
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Reference
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Name
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Control
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Familty
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Function
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Start
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Predict
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Transformation
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Binomial
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Acronym (Fixed)
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Acronymy (Mixed)
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Type (Mixed)
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
With
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
OLS_NTF
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Ordinary Least Squares (no transformation)
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
lm
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NTF
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
FALSE
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
OLS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
LMM
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
linear mixed model
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
no transformation
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
OLS_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Ordinary Least Squares (log transformation)
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
lm
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
FALSE
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
OLS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
LMM
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
linear mixed model
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
log transformation
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
OLS_LOGIT
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Ordinary Least Squares (logit transformation)
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
lm
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
LOGIT
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
FALSE
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
OLS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
LMM
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
linear mixed model
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
logit transformation
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
OLS_LOGLOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Ordinary Least Squares (log log transformation)
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
lm
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
LOGLOG
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
FALSE
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
OLS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
LMM
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
linear mixed model
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
log log transformation
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Ordinary Least Squares (complementary log log transformation)
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
lm
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
FALSE
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
OLS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
LMM
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
linear mixed model
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
complementary log log transformation
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Generalised Linear Model with Gaussian distribution and log link
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
gaussian(log)
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
glm
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
-0.1,-0.1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
response
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NTF
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
FALSE
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
GLM
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
GLMM
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
generalised linear mixed model
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Gaussian distribution and log link
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
BET_LGT
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Beta Regression Model with Binomial distribution and logit link
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
betareg::betareg.control
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
betareg::betareg
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
-0.5,-0.1,3
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
response
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NTF
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
FALSE
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
GLM
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
GLMM
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
generalised linear mixed model
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Binomial distribution and logit link
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
BET_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Beta Regression Model with Binomial distribution and complementary log log link
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
betareg::betareg.control
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NA
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
betareg::betareg
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
-0.5,-0.1,3
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
response
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
NTF
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
FALSE
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
GLM
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
GLMM
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
generalised linear mixed model
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Binomial distribution and complementary log log link
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;We can choose to select just a subset of these to explore using the &lt;code&gt;renewSlot&lt;/code&gt; method. As this is an illustrative example, we have restricted the models we will explore to just four types, passing the relevant row numbers to the &lt;code&gt;slice_indcs_int&lt;/code&gt; argument.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renewSlot-methods.html&#39;&gt;renewSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@candidate_mdls_lup&#34;&lt;/span&gt;, slice_indcs_int &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;1L&lt;/span&gt;,&lt;span class=&#39;m&#39;&gt;5L&lt;/span&gt;,&lt;span class=&#39;m&#39;&gt;7L&lt;/span&gt;,&lt;span class=&#39;m&#39;&gt;8L&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;other-parameters&#34;&gt;Other parameters&lt;/h3&gt;
&lt;p&gt;Depending on the type of analysis we plan on undertaking, we can also specify parameters such as the number of folds to use in cross validation, the maximum number of model runs to allow and a seed to ensure reproducibility of results. In this case we are going to use the default values generated when we first created &lt;code&gt;X&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procureSlot-methods.html&#39;&gt;procureSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@folds_1L_int&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] 10&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procureSlot-methods.html&#39;&gt;procureSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@max_mdl_runs_1L_int&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] 300&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procureSlot-methods.html&#39;&gt;procureSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@seed_1L_int&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] 1234&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 id=&#34;model-testing&#34;&gt;Model testing&lt;/h2&gt;
&lt;p&gt;Before we start to use the data stored in &lt;code&gt;X&lt;/code&gt; to undertake modelling, we must first validate that it contains all necessary (and internally consistent) data by using the &lt;code&gt;ratify&lt;/code&gt; method. The call to &lt;code&gt;ratify&lt;/code&gt; will update any variable names that are likely to cause problems when generating reports (e.g. through inclusion of characters like &amp;ldquo;_&amp;rdquo; in the variable name that can cause problems when rendering LaTeX documents).&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/ratify-methods.html&#39;&gt;ratify&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;set-up-workspace&#34;&gt;Set-up workspace&lt;/h3&gt;
&lt;p&gt;We add details of the directory to which we will write all output. In this example we create a temporary directory (&lt;a href=&#34;https://rdrr.io/r/base/tempfile.html&#34;&gt;&lt;code&gt;tempdir()&lt;/code&gt;&lt;/a&gt;), but in practice this would be an existing directory on your local machine.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renewSlot-methods.html&#39;&gt;renewSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;paths_chr&#34;&lt;/span&gt;, &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/tempfile.html&#39;&gt;tempdir&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;It can be useful to save fake data (useful for demonstrating the generalisability and replicability of an analysis) and real data (required for write-up and reproducibility) is distinctly labelled directories. By default, &lt;code&gt;X&lt;/code&gt; is created with a flag to save all output in a sub-directory &amp;ldquo;Real&amp;rdquo;. As we are using fake data, we can override this value.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renewSlot-methods.html&#39;&gt;renewSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@fake_1L_lgl&#34;&lt;/span&gt;, &lt;span class=&#39;kc&#39;&gt;T&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We can now write a number of sub-directories to our specified output directory.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;workspace&#34;&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; New directories created:&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; C:\Users\mham0053\AppData\Local\Temp\RtmpQBtivk/Fake&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; C:\Users\mham0053\AppData\Local\Temp\RtmpQBtivk/Fake/Markdown&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; C:\Users\mham0053\AppData\Local\Temp\RtmpQBtivk/Fake/Output&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; C:\Users\mham0053\AppData\Local\Temp\RtmpQBtivk/Fake/Reports&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; C:\Users\mham0053\AppData\Local\Temp\RtmpQBtivk/Fake/Output/_Descriptives&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; C:\Users\mham0053\AppData\Local\Temp\RtmpQBtivk/Fake/Output/H_Dataverse&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;descriptives&#34;&gt;Descriptives&lt;/h3&gt;
&lt;p&gt;The first set of outputs we write to our output directories is a set of descriptive tables and plots.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, digits_1L_int &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;m&#39;&gt;3L&lt;/span&gt;,  what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;descriptives&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;model-comparisons&#34;&gt;Model comparisons&lt;/h3&gt;
&lt;p&gt;The &lt;code&gt;investigate&lt;/code&gt; method can now be used to compare the candidate models we have specified earlier. In so doing it will transform &lt;code&gt;X&lt;/code&gt; into a &lt;code&gt;SpecificPredictors&lt;/code&gt; object.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/investigate-methods.html&#39;&gt;investigate&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, depnt_var_max_val_1L_dbl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;m&#39;&gt;0.99&lt;/span&gt;, session_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/utils/sessionInfo.html&#39;&gt;sessionInfo&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/class.html&#39;&gt;class&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;SpecificPredictors&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; attr(,&#34;package&#34;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;specific&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The &lt;code&gt;investigate&lt;/code&gt; method will write each model to be tested to a new sub-directory of our output directory.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;p&gt;The &lt;code&gt;investigate&lt;/code&gt; method also outputs a table summarising the performance of each of the candidate models.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/exhibit-methods.html&#39;&gt;exhibit&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;mdl_cmprsn&#34;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;results&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;table class=&#34; lightable-paper lightable-hover&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0;&#34;&gt;
&lt;caption&gt;
Comparison of candidate models using highest correlated predictor
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;empty-cells: hide;&#34; colspan=&#34;1&#34;&gt;
&lt;/th&gt;
&lt;th style=&#34;padding-bottom:0; padding-left:3px;padding-right:3px;text-align: center; &#34; colspan=&#34;3&#34;&gt;
&lt;div style=&#34;TRUE&#34;&gt;
&lt;p&gt;Training model fit (averaged over 10 folds)&lt;/p&gt;
&lt;/div&gt;
&lt;/th&gt;
&lt;th style=&#34;padding-bottom:0; padding-left:3px;padding-right:3px;text-align: center; &#34; colspan=&#34;3&#34;&gt;
&lt;div style=&#34;TRUE&#34;&gt;
&lt;p&gt;Testing model fit (averaged over 10 folds)&lt;/p&gt;
&lt;/div&gt;
&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Model
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
R-Squared
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
RMSE
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
MAE
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
R-Squared
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
RMSE
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
MAE
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Beta Regression Model with Binomial distribution and logit link
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.4318533
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0742448
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0587307
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.4128497
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0741236
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0587733
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Beta Regression Model with Binomial distribution and complementary log log link
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.4174181
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0751836
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0593447
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.3996947
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0750880
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0594047
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Ordinary Least Squares (no transformation)
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.4106104
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0756222
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0596955
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.3933147
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0755461
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0597672
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Ordinary Least Squares (complementary log log transformation)
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.4105040
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0756284
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0597793
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.3913360
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0755268
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0598295
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;We can now identify the highest performing model in each category of candidate model based on the testing R&lt;sup&gt;2&lt;/sup&gt; statistic.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procure-methods.html&#39;&gt;procure&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;prefd_mdls&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;BET_LGT&#34; &#34;OLS_NTF&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We can override these automated selections and instead incorporate other considerations (possibly based on judgments informed by visual inspection of the plots and the desirability of constraining predictions to a maximum value of one). We do this in the following command, specifying new preferred model types, in descending order of preference.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, new_val_xx &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;BET_LGT&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;OLS_CLL&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;results&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;prefd_mdls&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;use-most-preferred-model-to-compare-all-candidate-predictors&#34;&gt;Use most preferred model to compare all candidate predictors&lt;/h3&gt;
&lt;p&gt;We can now compare all of our candidate predictors (with and without candidate covariates) using the most preferred model type.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/investigate-methods.html&#39;&gt;investigate&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/class.html&#39;&gt;class&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;SpecificFixed&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; attr(,&#34;package&#34;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;specific&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Now, we compare the performance of single predictor models of our preferred model type (in our case, a Beta Regression Model with Binomial distribution and logit link) for each candidate predictor. The last call to the &lt;code&gt;investigate&lt;/code&gt; saved the tested models along with model plots in a sub-directory of our output directory. These results are also viewable as a table.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/exhibit-methods.html&#39;&gt;exhibit&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, scroll_box_args_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/list.html&#39;&gt;list&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;width &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;100%&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;results&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;predr_cmprsn&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;caption&gt;
Comparison of all candidate predictors using preferred model
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
predr_chr
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
%IncMSE
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
IncNodePurity
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
K10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0066197
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
3.888246
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Psychwell
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0011094
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
2.342784
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The most recent call to the &lt;code&gt;investigate&lt;/code&gt; method also saved single predictor R model objects (one for each candidate predictors) along with the two plots for each model in a sub-directory of our output directory. The performance of each single predictor model can also be summarised in a table.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/exhibit-methods.html&#39;&gt;exhibit&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;results&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;fxd_sngl_cmprsn&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;table class=&#34; lightable-paper lightable-hover&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0;&#34;&gt;
&lt;caption&gt;
Preferred single predictor model performance by candidate predictor
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;empty-cells: hide;&#34; colspan=&#34;1&#34;&gt;
&lt;/th&gt;
&lt;th style=&#34;padding-bottom:0; padding-left:3px;padding-right:3px;text-align: center; &#34; colspan=&#34;3&#34;&gt;
&lt;div style=&#34;TRUE&#34;&gt;
&lt;p&gt;Training model fit (averaged over 10 folds)&lt;/p&gt;
&lt;/div&gt;
&lt;/th&gt;
&lt;th style=&#34;padding-bottom:0; padding-left:3px;padding-right:3px;text-align: center; &#34; colspan=&#34;3&#34;&gt;
&lt;div style=&#34;TRUE&#34;&gt;
&lt;p&gt;Testing model fit (averaged over 10 folds)&lt;/p&gt;
&lt;/div&gt;
&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Model
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
R-Squared
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
RMSE
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
MAE
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
R-Squared
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
RMSE
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
MAE
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
K10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.4318533
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.0742448
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0587307
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.4128497
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0741236
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.0587733
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Psychwell
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.1507472
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.0907813
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0699606
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.1341090
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0909203
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.0700686
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;Updated versions of each of the models in the previous step (this time with covariates added) are saved to a new subdirectory of the output directory and we can summarise the performance of each of the updated models, along with all signficant model terms, in a table.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/exhibit-methods.html&#39;&gt;exhibit&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, scroll_box_args_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/list.html&#39;&gt;list&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;width &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;100%&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;results&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;fxd_full_cmprsn&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We can now identify which, if any, of the candidate covariates we previously specified are significant predictors in any of the models.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procure-methods.html&#39;&gt;procure&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;results&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;signt_covars&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] NA&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We can override the covariates to select, potentially because we want to select only covariates that are significant for all or most of the models. However, in the below example we have opted not to do so and continue to use no covariates as selected by the algorithm in the previous step.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;c&#39;&gt;# X &amp;lt;- renew(X, new_val_xx = c(&#34;COVARIATE OF YOUR CHOICE&#34;, &#34;ANOTHER COVARIATE&#34;), type_1L_chr = &#34;results&#34;, what_1L_chr = &#34;prefd_covars&#34;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;test-preferred-model-with-preferred-covariates-for-each-candidate-predictor&#34;&gt;Test preferred model with preferred covariates for each candidate predictor&lt;/h3&gt;
&lt;p&gt;We now conclude our model testing by rerunning the previous step, except confining our covariates to those we prefer.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/investigate-methods.html&#39;&gt;investigate&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/class.html&#39;&gt;class&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;SpecificMixed&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; attr(,&#34;package&#34;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;specific&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The previous call to the &lt;code&gt;write_mdls_with_covars_cmprsn&lt;/code&gt; function saves the tested models along with two plots for each model in the &amp;ldquo;E_Predrs_W_Covars_Sngl_Mdl_Cmprsn&amp;rdquo; sub-directory of &amp;ldquo;Output&amp;rdquo;.&lt;/p&gt;
&lt;h2 id=&#34;apply-preferred-model-types-and-predictors-to-longitudinal-data&#34;&gt;Apply preferred model types and predictors to longitudinal data&lt;/h2&gt;
&lt;p&gt;The next main step is to use the preferred model types and covariates identified from the preceding analysis of cross-sectional data in longitudinal analysis.&lt;/p&gt;
&lt;h3 id=&#34;longitudinal-mixed-modelling&#34;&gt;Longitudinal mixed modelling&lt;/h3&gt;
&lt;p&gt;Prior to undertaking longitudinal mixed modelling, we need to check the appropriateness of the default values for modelling parameters that are stored in &lt;code&gt;X&lt;/code&gt;. These include the number of model iterations, and any custom control parameters and priors (by default, empty lists).&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procureSlot-methods.html&#39;&gt;procureSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@iters_1L_int&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] 4000&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;In many cases there will be no need to specify any custom control parameters or priors and using the defaults may speed up execution.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procureSlot-methods.html&#39;&gt;procureSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@control_ls&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [[1]]&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; list()&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procureSlot-methods.html&#39;&gt;procureSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@prior_ls&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [[1]]&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; list()&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;However, in this example using the default control parameters would result in warning messages suggesting a change to the adapt_delta control value (default = 0.8). Modifying the &lt;code&gt;adapt_delta&lt;/code&gt; control parameter value can address this issue.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renewSlot-methods.html&#39;&gt;renewSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;b_SpecificParameters@control_ls&#34;&lt;/span&gt;, new_val_xx &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/list.html&#39;&gt;list&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;adapt_delta &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;m&#39;&gt;0.99&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/investigate-methods.html&#39;&gt;investigate&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/class.html&#39;&gt;class&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;SpecificMixed&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; attr(,&#34;package&#34;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; [1] &#34;specific&#34;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The last call to &lt;code&gt;investigate&lt;/code&gt; function wrote the models it tests to a sub-directory of the output directory along with plots for each model.&lt;/p&gt;
&lt;h2 id=&#34;create-shareable-outputs&#34;&gt;Create shareable outputs&lt;/h2&gt;
&lt;p&gt;The model objects created by the preceding analysis are not suitable for sharing as they contain duplicates of the source dataset. To create model objects that can be shared (where dataset copies are replaced with fake data) use the &lt;code&gt;authorData&lt;/code&gt; method.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/authorData-methods.html&#39;&gt;authorData&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 id=&#34;purge-dataset-copies&#34;&gt;Purge dataset copies&lt;/h2&gt;
&lt;p&gt;For the purposes of efficient computation, multiple objects containing copies of the source dataset were saved to our output directory during the analysis process. We therefore need to delete all of these copies by supplying &amp;ldquo;purge_write&amp;rdquo; to the &lt;code&gt;type_1L_chr&lt;/code&gt; argument of the &lt;code&gt;author&lt;/code&gt; method.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;X&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;purge_write&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;!-- ## Share output --&gt;
&lt;!-- We can now publicly share our dataset and its associated metadata, using `Ready4useRepos` and its `share` method [as described in a vignette from the ready4use package](https://ready4-dev.github.io/ready4use/articles/V_01.html). --&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;p&gt;A copy of the module &lt;code&gt;X&lt;/code&gt; is available for download as the file &lt;code&gt;eq5d_ttu_SpecificMixed.RDS&lt;/code&gt; from the &lt;a href=&#34;https://github.com/ready4-dev/specific/releases/tag/Documentation_0.0&#34;&gt;&amp;ldquo;Documentation_0.0&amp;rdquo; release of the specific package&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Implement a utility mapping study</title>
      <link>/docs/model/modules/using-modules/people/map-to-utility/</link>
      <pubDate>Fri, 20 Oct 2023 00:00:00 +0000</pubDate>
      
      <guid>/docs/model/modules/using-modules/people/map-to-utility/</guid>
      <description>
        
        
        

&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;This below section renders a vignette article from the TTU library. You can use the following links to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://ready4-dev.github.io/TTU/articles/V_01.html&#34;&gt;view the vignette on the library website (adds useful hyperlinks to code blocks)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/TTU/blob/main/vignettes/V_01.Rmd&#34;&gt;view the source file&lt;/a&gt; from that article, and;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/TTU/edit/main/vignettes/V_01.Rmd&#34;&gt;edit its contents&lt;/a&gt; (requires a GitHub account).&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;p&gt;Note: &lt;strong&gt;This vignette uses fake data&lt;/strong&gt; - it is for illustrative purposes only and should not be used to inform decision making. This vignette outlines the workflow for developing utility mapping models using longitudinal data. The workflow for developing utility mapping models is broadly similar, with some minor modifications. An example of developing models using cross-sectional data is available at &lt;a href=&#34;https://doi.org/10.5281/zenodo.8098595&#34;&gt;https://doi.org/10.5281/zenodo.8098595&lt;/a&gt; .&lt;/p&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;p&gt;Health services do not typically collect health utility data from their clients, which makes it more difficult to place an economic values on outcomes attained in these services. One strategy for addressing this gap is to use data from similar samples of patients that contain both health utility and the types of outcome measures that are collected in clinical services. The TTU package provides a toolkit for conducting and reporting a utility mapping (or Transfer to Utility) study.&lt;/p&gt;
&lt;h2 id=&#34;implementation&#34;&gt;Implementation&lt;/h2&gt;
&lt;p&gt;The TTU package contains &lt;a href=&#34;https://www.ready4-dev.com/docs/framework/implementation/modularity/&#34;&gt;modules&lt;/a&gt; of the &lt;a href=&#34;https://www.ready4-dev.com/docs/model/&#34;&gt;ready4 youth mental health economic model&lt;/a&gt; that combine and extend model modules for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;labeling, validating and summarising youth mental health datasets (from the &lt;a href=&#34;https://ready4-dev.github.io/youthvars/&#34;&gt;youthvars&lt;/a&gt; package);&lt;/li&gt;
&lt;li&gt;scoring health utility (from the &lt;a href=&#34;https://ready4-dev.github.io/scorz/&#34;&gt;scorz&lt;/a&gt; package);&lt;/li&gt;
&lt;li&gt;specifying and testing statistical models (from the &lt;a href=&#34;https://ready4-dev.github.io/specific/&#34;&gt;specific&lt;/a&gt; package);&lt;/li&gt;
&lt;li&gt;generating reproducible analysis reports (from the &lt;a href=&#34;https://ready4-dev.github.io/ready4show/&#34;&gt;ready4show&lt;/a&gt; package); and&lt;/li&gt;
&lt;li&gt;sharing data via online data repositories (from the &lt;a href=&#34;https://ready4-dev.github.io/ready4use/&#34;&gt;ready4use&lt;/a&gt; package).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Additionally, TTU relies on two RMarkdown programs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ttu_mdl_ctlg: Generate a Template Utility Mapping (Transfer to Utility) Model Catalogue (&lt;a href=&#34;https://doi.org/10.5281/zenodo.5936870&#34;&gt;https://doi.org/10.5281/zenodo.5936870&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;ttu_lng_ss: Create a Draft Scientific Manuscript For A Utility Mapping Study (&lt;a href=&#34;https://doi.org/10.5281/zenodo.5976987&#34;&gt;https://doi.org/10.5281/zenodo.5976987&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Outputs generated by the TTU package are designed to be compatible with health economic models developed with the &lt;a href=&#34;https://www.ready4-dev.com&#34;&gt;ready4 framework&lt;/a&gt;).&lt;/p&gt;
&lt;h2 id=&#34;workflow&#34;&gt;Workflow&lt;/h2&gt;
&lt;h3 id=&#34;background-and-citation&#34;&gt;Background and citation&lt;/h3&gt;
&lt;p&gt;The following workflow illustrates (&lt;strong&gt;using fake data&lt;/strong&gt;) the same steps we used in a real world study, a summary of which is available at &lt;a href=&#34;https://doi.org/10.1101/2021.07.07.21260129&#34;&gt;https://doi.org/10.1101/2021.07.07.21260129&lt;/a&gt;). Citation information for that study is:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;@article {Hamilton2021.07.07.21260129,
    author = {Hamilton, Matthew P and Gao, Caroline X and Filia, Kate M and Menssink, Jana M and Sharmin, Sonia and Telford, Nic and Herrman, Helen and Hickie, Ian B and Mihalopoulos, Cathrine and Rickwood, Debra J and McGorry, Patrick D and Cotton, Sue M},
    title = {Predicting Quality Adjusted Life Years in young people attending primary mental health services},
    elocation-id = {2021.07.07.21260129},
    year = {2021},
    doi = {10.1101/2021.07.07.21260129},
    publisher = {Cold Spring Harbor Laboratory Press},
    URL = {https://www.medrxiv.org/content/early/2021/07/12/2021.07.07.21260129},
    eprint = {https://www.medrxiv.org/content/early/2021/07/12/2021.07.07.21260129.full.pdf},
    journal = {medRxiv}
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The program applied in that study, which this workflow closely resembles is available at &lt;a href=&#34;https://doi.org/10.5281/zenodo.6116077&#34;&gt;https://doi.org/10.5281/zenodo.6116077&lt;/a&gt; and can be cited as follows:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;@software{hamilton_matthew_2022_6212704,
  author       = {Hamilton, Matthew and
                  Gao, Caroline},
  title        = {{Complete study program to reproduce all steps from 
                   data ingest through to results dissemination for a
                   study to map mental health measures to AQoL-6D
                   health utility}},
  month        = feb,
  year         = 2022,
  note         = {{Matthew Hamilton and Caroline Gao  (2022). 
                   Complete study program to reproduce all steps from
                   data ingest through to results dissemination for a
                   study to map mental health measures to AQoL-6D
                   health utility. Zenodo.
                   https://doi.org/10.5281/zenodo.6116077. Version
                   0.0.9.3}},
  publisher    = {Zenodo},
  version      = {0.0.9.3},
  doi          = {10.5281/zenodo.6212704},
  url          = {https://doi.org/10.5281/zenodo.6212704}
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;load-required-packages&#34;&gt;Load required packages&lt;/h3&gt;
&lt;p&gt;We begin by loading our required packages.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/&#39;&gt;ready4&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4show/&#39;&gt;ready4show&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4use/&#39;&gt;ready4use&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthvars/&#39;&gt;youthvars&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/scorz/&#39;&gt;scorz&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/TTU/&#39;&gt;TTU&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;set-consent-policy&#34;&gt;Set consent policy&lt;/h3&gt;
&lt;p&gt;By default, methods associated with TTU modules will request your consent before writing files to your machine. This is the safest option. However, as there are many files that need to be written locally for this program to execute, you can overwrite this default by supplying the value &amp;ldquo;Y&amp;rdquo; to methods with a &lt;code&gt;consent_1L_chr&lt;/code&gt; argument.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;&#34;&lt;/span&gt; &lt;span class=&#39;c&#39;&gt;# Default value - asks for consent prior to writing each file.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;h3 id=&#34;add-dataset-metadata&#34;&gt;Add dataset metadata&lt;/h3&gt;
&lt;p&gt;We use the Ready4useDyad and Ready4useRepos modules to &lt;a href=&#34;https://ready4-dev.github.io/ready4use/articles/V_01.html&#34;&gt;retrieve and ingest&lt;/a&gt; and to then &lt;a href=&#34;_https://ready4-dev.github.io/ready4use/articles/V_02.html&#34;&gt;pair a dataset and its data dictionary&lt;/a&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4use/reference/Ready4useDyad-class.html&#39;&gt;Ready4useDyad&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;ds_tb &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4use/reference/Ready4useRepos-class.html&#39;&gt;Ready4useRepos&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;dv_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;fakes&#34;&lt;/span&gt;, dv_ds_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;https://doi.org/10.7910/DVN/HJXYKQ&#34;&lt;/span&gt;, dv_server_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;dataverse.harvard.edu&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;                     &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/ingest-methods.html&#39;&gt;ingest&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;fls_to_ingest_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;ymh_clinical_tb&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, metadata_1L_lgl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;F&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;youthvars&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthvars/reference/transform_raw_ds_for_analysis.html&#39;&gt;transform_raw_ds_for_analysis&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                   dictionary_r3 &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4use/reference/Ready4useRepos-class.html&#39;&gt;Ready4useRepos&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;dv_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;TTU&#34;&lt;/span&gt;, dv_ds_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;https://doi.org/10.7910/DVN/DKDIB0&#34;&lt;/span&gt;, dv_server_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;dataverse.harvard.edu&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;                     &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/ingest-methods.html&#39;&gt;ingest&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;fls_to_ingest_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;dictionary_r3&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, metadata_1L_lgl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;F&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;label&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We use the YouthvarsSeries module to &lt;a href=&#34;https://ready4-dev.github.io/youthvars/articles/V_02.html&#34;&gt;supply metadata about our longitudinal dataset vignette&lt;/a&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthvars/reference/YouthvarsSeries-class.html&#39;&gt;YouthvarsSeries&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;a_Ready4useDyad &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, id_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;fkClientID&#34;&lt;/span&gt;, timepoint_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;round&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                     timepoint_vals_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/levels.html&#39;&gt;levels&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/procureSlot-methods.html&#39;&gt;procureSlot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;ds_tb&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;$&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;round&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;score-health-utility&#34;&gt;Score health utility&lt;/h3&gt;
&lt;p&gt;We next use the ScorzAqol6Adol module to &lt;a href=&#34;https://ready4-dev.github.io/scorz/articles/V_01.html&#34;&gt;score adolescent AQoL-6D health utility&lt;/a&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/TTU/reference/TTUProject-class.html&#39;&gt;TTUProject&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;a_ScorzProfile &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/scorz/reference/ScorzAqol6Adol-class.html&#39;&gt;ScorzAqol6Adol&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;a_YouthvarsProfile &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;utility&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; Joining with `by = join_by(fkClientID, match_var_chr)`&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;evaluate-candidate-models&#34;&gt;Evaluate candidate models&lt;/h3&gt;
&lt;p&gt;Over the next few steps we will use modules from the specific package to &lt;a href=&#34;https://ready4-dev.github.io/specific/articles/V_01.html&#34;&gt;specify and assess a number of candidate utility mapping models&lt;/a&gt;.&lt;/p&gt;
&lt;h4 id=&#34;specify-modelling-parameters&#34;&gt;Specify modelling parameters&lt;/h4&gt;
&lt;p&gt;We begin by specifying the parameters we will use in our modelling project. The initial step is to ensure the fields in &lt;code&gt;A&lt;/code&gt; for storing parameter values are internally consistent with the data we have entered in the previous steps.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;parameters&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We next ingest a lookup table of metadata about the variables we plan to explore as candidate predictors. In this case, we are sourcing the lookup table from an online data repository.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;use_renew_mthd&#34;&lt;/span&gt;, fl_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;predictors_r3&#34;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;predictors_lup&#34;&lt;/span&gt;, &lt;/span&gt;
&lt;span&gt;           y_Ready4useRepos &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4use/reference/Ready4useRepos-class.html&#39;&gt;Ready4useRepos&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;dv_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;TTU&#34;&lt;/span&gt;, dv_ds_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;https://doi.org/10.7910/DVN/DKDIB0&#34;&lt;/span&gt;, &lt;/span&gt;
&lt;span&gt;                                             dv_server_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;dataverse.harvard.edu&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;           what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;parameters&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We can inspect the metadata on candidate predictors that we have just ingested.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/exhibit-methods.html&#39;&gt;exhibit&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, scroll_box_args_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/list.html&#39;&gt;list&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;width &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;100%&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We add additional metadata about variables in our dataset that will be used in exploratory modelling.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;0.03&lt;/span&gt;,&lt;span class=&#39;m&#39;&gt;1&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;range&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;parameters&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;BADS&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;GAD7&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;K6&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;OASIS&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;PHQ9&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;SCARED&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;        type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;predictors_vars&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;parameters&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;d_sex_birth_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_age&#34;&lt;/span&gt;,  &lt;span class=&#39;s&#39;&gt;&#34;d_sexual_ori_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_studying_working&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;c_p_diag_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;c_clinical_staging_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;SOFAS&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,     &lt;/span&gt;
&lt;span&gt;        type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;covariates&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;parameters&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;d_age&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;Gender&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;d_relation_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_sexual_ori_s&#34;&lt;/span&gt; ,&lt;span class=&#39;s&#39;&gt;&#34;Region&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_studying_working&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;c_p_diag_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;c_clinical_staging_s&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;SOFAS&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, &lt;/span&gt;
&lt;span&gt;        type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;descriptives&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;parameters&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;d_interview_date&#34;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;temporal&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;parameters&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We record that the data we are working with is fake (this step can be skipped if working with real data).&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, &lt;span class=&#39;kc&#39;&gt;T&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;is_fake&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;parameters&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We update &lt;code&gt;A&lt;/code&gt; for internal consistency with the values we have previously supplied and create a local workspace to which output files will be written.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, paths_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/tempfile.html&#39;&gt;tempdir&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;project&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We now generate tables and charts that describe our dataset. These are saved in a sub-directory of our output data directory, and are &lt;a href=&#34;https://github.com/ready4-dev/TTU/releases/download/Documentation_0.0/_Descriptives.zip&#34;&gt;available for download&lt;/a&gt;. One of the plots is also reproduced here.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, digits_1L_int &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;m&#39;&gt;3L&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;descriptives&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;img src=&#34;figs/unnamed-chunk-16-1.png&#34; width=&#34;700px&#34; style=&#34;display: block; margin: auto;&#34; /&gt;
&lt;/div&gt;
&lt;p&gt;We next compare the performance of different model types. We perform this step using the &lt;code&gt;investigate&lt;/code&gt; method. This is the first of several times that we use this method. Each time the method is called &lt;code&gt;A&lt;/code&gt; is updated to that the next time the method is called, a different algorithm will be used. The sequence of calls to &lt;code&gt;investigate&lt;/code&gt; is therefore important (it should be in the same order as outlined in this example and you should not attempt to repeat a call to &lt;code&gt;investigate&lt;/code&gt; to redo a prior step).&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/investigate-methods.html&#39;&gt;investigate&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, depnt_var_max_val_1L_dbl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;m&#39;&gt;0.9999&lt;/span&gt;, session_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/utils/sessionInfo.html&#39;&gt;sessionInfo&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The outputs of the previous command are saved into a sub-directory of our output directory. An example of this output is &lt;a href=&#34;https://github.com/ready4-dev/TTU/releases/download/Documentation_0.0/A_Candidate_Mdls_Cmprsn.zip&#34;&gt;available for download&lt;/a&gt;). Once we inspect this output, we can then specify the preferred model types to use from this point onwards.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;GLM_GSN_LOG&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;OLS_CLL&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;models&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;results&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Next we assess multiple versions of our preferred model type - one single predictor model for each of our candidate predictors and the same models with candidate covariates added.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/investigate-methods.html&#39;&gt;investigate&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The previous step saved output into a sub-directory of our output directory. Example output is available for download: (&lt;a href=&#34;https://github.com/ready4-dev/TTU/releases/download/Documentation_0.0/B_Candidate_Predrs_Cmprsn.zip&#34;&gt;single predictor comparisons&lt;/a&gt;) and &lt;a href=&#34;https://github.com/ready4-dev/TTU/releases/download/Documentation_0.0/C_Predrs_Sngl_Mdl_Cmprsn.zip&#34;&gt;multivariate model comparisons&lt;/a&gt;. After reviewing this output, we can specify the covariates we wish to add to the models we will assess from this point forward.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;SOFAS&#34;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;covariates&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;results&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We can now assess the multivariate models.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/investigate-methods.html&#39;&gt;investigate&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;As a result of the previous step, more model objects and plot files have been saved to a sub-directory of our output directory. Examples of this output are available for download &lt;a href=&#34;https://github.com/ready4-dev/TTU/releases/download/Documentation_0.0/D_Predr_Covars_Cmprsn.zip&#34;&gt;here&lt;/a&gt; and &lt;a href=&#34;https://github.com/ready4-dev/TTU/releases/download/Documentation_0.0/E_Predrs_W_Covars_Sngl_Mdl_Cmprsn.zip&#34;&gt;here&lt;/a&gt;. Once we inspect this output we can reformulate the models we finalised in the previous step so that they are suitable for modelling longitudinal change. For our primary analysis, we use a mixed model formulation of the models that we previously selected. A series of large model files are written to the local output data directory.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/investigate-methods.html&#39;&gt;investigate&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;For our secondary analyses, we specify alternative combinations of predictors and covariates.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/investigate-methods.html&#39;&gt;investigate&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                 scndry_anlys_params_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/specific/reference/make_scndry_anlys_params.html&#39;&gt;make_scndry_anlys_params&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;candidate_predrs_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;SOFAS&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                                                   candidate_covar_nms_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;d_sex_birth_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_age&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_sexual_ori_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_studying_working&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                                                   prefd_covars_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;NA_character_&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;                   &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/specific/reference/make_scndry_anlys_params.html&#39;&gt;make_scndry_anlys_params&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;candidate_predrs_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;SCARED&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;OASIS&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;GAD7&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                            candidate_covar_nms_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;PHQ9&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;SOFAS&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_sex_birth_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_age&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_sexual_ori_s&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;d_studying_working&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                            prefd_covars_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;PHQ9&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;report-findings&#34;&gt;Report findings&lt;/h3&gt;
&lt;h4 id=&#34;create-shareable-models&#34;&gt;Create shareable models&lt;/h4&gt;
&lt;p&gt;The model objects created and saved in our working directory by the preceding steps are not suitable for public dissemination. They are both too large in file size and, more importantly, include copies of our source dataset. We can overcome these limitations by creating shareable versions of the models. Two types of shareable version are created - copies of the original model objects in which fake data overwrites the original source data and summary tables of model coefficients.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;models&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h4 id=&#34;specify-study-reporting-metadata&#34;&gt;Specify study reporting metadata&lt;/h4&gt;
&lt;p&gt;We update &lt;code&gt;A&lt;/code&gt; so that we can begin use it to render and share reports.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We add metadata relevant to the reports that we will be generating to these fields. Note that the data we supply to the Ready4useRepos object below must relate to a repository to which we have write permissions (otherwise subsequent steps will fail).&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, &lt;span class=&#39;nf&#39;&gt;ready4show&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4show/reference/authors_tb.html&#39;&gt;authors_tb&lt;/a&gt;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;authors&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;ready4show&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4show/reference/institutes_tb.html&#39;&gt;institutes_tb&lt;/a&gt;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;institutes&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;3L&lt;/span&gt;,&lt;span class=&#39;m&#39;&gt;3L&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;digits&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;PDF&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;PDF&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;formats&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;A hypothetical utility mapping study using fake data&#34;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;title&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4show/reference/ready4show_correspondences.html&#39;&gt;ready4show_correspondences&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, old_nms_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;PHQ9&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;GAD7&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, new_nms_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;PHQ-9&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;GAD-7&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;changes&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4use/reference/Ready4useRepos-class.html&#39;&gt;Ready4useRepos&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;dv_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;fakes&#34;&lt;/span&gt;, dv_ds_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;https://doi.org/10.7910/DVN/D74QMP&#34;&lt;/span&gt;, dv_server_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;dataverse.harvard.edu&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;repos&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h4 id=&#34;author-model-catalogues&#34;&gt;Author model catalogues&lt;/h4&gt;
&lt;p&gt;We download a program for generating a catalogue of models and use it to summarising the models created under each study analysis (one primary and two secondary). The catalogues are saved locally.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, download_tmpl_1L_lgl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;T&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;catalogue&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h4 id=&#34;author-manuscript&#34;&gt;Author manuscript&lt;/h4&gt;
&lt;p&gt;We add some content about the manuscript we wish to author.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;Quality Adjusted Life Years (QALYs) are often used in economic evaluations, yet utility weights for deriving them are rarely directly measured in mental health services.&#34;&lt;/span&gt;, &lt;/span&gt;
&lt;span&gt;           type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;background&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;None declared&#34;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;conflicts&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;Nothing should be concluded from this study as it is purely hypothetical.&#34;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;conclusion&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;The study was reviewed and granted approval by no-one.&#34;&lt;/span&gt; , type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;ethics&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;The study was funded by no-one.&#34;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;funding&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;three months&#34;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;interval&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;anxiety&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;AQoL&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;depression&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;psychological distress&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;QALYs&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;utility mapping&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;keywords&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;The study sample is fake data.&#34;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;sample&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We create a brief summary of results that can be interpreted by the program that authors the manuscript.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;AQoL-6D&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;Adolescent AQoL Six Dimension&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;naming&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;use_renew_mthd&#34;&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;abstract&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We create and save the plots that will be used in the manuscript.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;plots&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We download a program for generating a template manuscript and run it to author a first draft of the manuscript.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, download_tmpl_1L_lgl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;T&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;manuscript&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We can copy the RMarkdown files that created the template manuscript to a new directory (called &amp;ldquo;Manuscript_Submission&amp;rdquo;) so that we can then manually edit those files to produce a manuscript that we can submit for publication.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;copy&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;manuscript&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;At this point in the workflow, additional steps are required to adapt / author the manuscript that will be submitted for publication. However, in this example we are going to skip that step and keep working with the unedited template manuscript. If we had a finalised manuscript authoring program stored online, we could now specify the repository from which the program can be retrieved.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# Not run
# A &amp;lt;- renew(A, c(&amp;#34;URL of GitHub repository with&amp;#34;, &amp;#34;Program version number&amp;#34;), type_1L_chr = &amp;#34;template-manuscript&amp;#34;, what_1L_chr = &amp;#34;reporting&amp;#34;)
&lt;/code&gt;&lt;/pre&gt;&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;p&gt;We can now configure the output to be generated by the manuscript authoring program. The below commands will specify a Microsoft Word format manuscript and a PDF technical appendix. Unlike the template manuscript, the figures and tables will be positioned after (and not within) the main body of the manuscript. Note that the Word version of the manuscript generated by these values will require some minor formatting edits (principally to the display of tables and numbering of sections).&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, &lt;span class=&#39;kc&#39;&gt;F&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;figures-body&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;kc&#39;&gt;F&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;tables-body&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/renew-methods.html&#39;&gt;renew&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;Word&#34;&lt;/span&gt;,&lt;span class=&#39;s&#39;&gt;&#34;PDF&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, type_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;formats&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;reporting&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Once any edits to the RMarkdown files for creating the submission manuscript have been finalised, we can run the following command to author the manuscript. If we are using a custom manuscript authoring program downloaded from an online repository the &lt;code&gt;download_tmpl_1L_lgl&lt;/code&gt; argument will need to be set to &lt;code&gt;T&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, download_tmpl_1L_lgl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;F&lt;/span&gt;, type_1L_chr&lt;span class=&#39;o&#39;&gt;=&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;submission&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;manuscript&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;p&gt;We can now generate the Supplementary Information for the submission manuscript.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, consent_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;consent_1L_chr&lt;/span&gt;, supplement_fl_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;TA_PDF&#34;&lt;/span&gt;, type_1L_chr&lt;span class=&#39;o&#39;&gt;=&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;submission&#34;&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;supplement&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;share-outputs&#34;&gt;Share outputs&lt;/h3&gt;
&lt;p&gt;We can now share non-confidential elements (ie no copies of individual records) of the outputs that we have created via our study online repository. To run this step you will need write permissions to the online repository. In the below step we are sharing model catalogues, details of the utility instrument, the shareable mapping models (designed to be used in conjunction with the &lt;a href=&#34;https://ready4-dev.github.io/youthu/index.html&#34;&gt;youthu&lt;/a&gt; package), our manuscript files and our supplementary information. In most real world studies the manuscript would not be shared via an online repository - the &lt;code&gt;what_chr&lt;/code&gt; argument would need to be ammended to reflect this.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/share-methods.html&#39;&gt;share&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, types_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;auto&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;submission&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;, what_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;catalogue&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;instrument&#34;&lt;/span&gt; ,&lt;span class=&#39;s&#39;&gt;&#34;manuscript&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;models&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;supplement&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The dataset we created in the previous step is viewable here: &lt;a href=&#34;https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/D74QMP&#34;&gt;https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/D74QMP&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;tidy-workspace&#34;&gt;Tidy workspace&lt;/h3&gt;
&lt;p&gt;The preceding steps saved multiple objects (mostly R model objects) that have embedded within them copies of the source dataset. To protect the confidentiality of these records we can now purge all such copies from our output data directory.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/ready4/reference/author-methods.html&#39;&gt;author&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;A&lt;/span&gt;, what_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;purge&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Find and deploy utility mapping models</title>
      <link>/docs/model/modules/using-modules/people/predict-utility/</link>
      <pubDate>Fri, 20 Oct 2023 00:00:00 +0000</pubDate>
      
      <guid>/docs/model/modules/using-modules/people/predict-utility/</guid>
      <description>
        
        
        

&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;This below section renders a vignette article from the youthu library. You can use the following links to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://ready4-dev.github.io/youthu/articles/Prediction_With_Mdls.html&#34;&gt;view the vignette on the library website (adds useful hyperlinks to code blocks)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/youthu/blob/main/vignettes/Prediction_With_Mdls.Rmd&#34;&gt;view the source file&lt;/a&gt; from that article, and;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/youthu/edit/main/vignettes/Prediction_With_Mdls.Rmd&#34;&gt;edit its contents&lt;/a&gt; (requires a GitHub account).&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/&#39;&gt;youthu&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;This vignette outlines a workflow for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Searching, selecting and retrieving transfer to utility models;&lt;/li&gt;
&lt;li&gt;Preparing a prediction dataset for use with a selected transfer to utility model; and&lt;/li&gt;
&lt;li&gt;Applying the selected transfer to utility model to a prediction dataset to predict Quality Adjusted Life Years (QALYs).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The practical value of implementing such a workflow is discussed in the &lt;a href=&#34;https://ready4-dev.github.io/youthu/articles/Economic_Analysis.html&#34;&gt;economic analysis vignette&lt;/a&gt; and &lt;a href=&#34;https://www.medrxiv.org/content/10.1101/2021.07.07.21260129v2.full&#34;&gt;a scientific manuscript&lt;/a&gt;. Note, this example uses fake data - it should should not be used to inform decision making.&lt;/p&gt;
&lt;h2 id=&#34;search-select-and-retrieve-transfer-to-utility-models&#34;&gt;Search, select and retrieve transfer to utility models&lt;/h2&gt;
&lt;p&gt;To identify datasets that contain transfer to utility models compatible with youthu (ie those developped with the &lt;a href=&#34;https://ready4-dev.github.io/TTU/index.html&#34;&gt;TTU package&lt;/a&gt;), you can use the &lt;code&gt;get_ttu_dv_dss&lt;/code&gt; function. The function searches specified dataverses (in the below example, the &lt;a href=&#34;https://dataverse.harvard.edu/dataverse/TTU&#34;&gt;TTU dataverse&lt;/a&gt;) for datasets containing output from the TTU package.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;ttu_dv_dss_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/get_ttu_dv_dss.html&#39;&gt;get_ttu_dv_dss&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;TTU&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The &lt;code&gt;ttu_dv_dss_tb&lt;/code&gt; table summarises some pertinent details about each dataset containing TTU models found by the preceding command. These details include a link to any scientific summary (the &amp;ldquo;Article&amp;rdquo; column) associated with a dataset.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;caption&gt;
Transfer to Utility Datasets
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
ID
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Utility
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Predictors
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Article
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
aqol6dtotalw
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
BADS total score , GAD7 total score , K6 total score , OASIS total score , PHQ9 total score , SCARED total score, SOFAS total score
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
&lt;https://doi.org/10.1101/2021.07.07.21260129&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;To identify models that predict a specified type of health utility from one or more of a specified subset of predictors, use:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;mdls_lup&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/get_mdls_lup.html&#39;&gt;get_mdls_lup&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;ttu_dv_dss_tb &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;ttu_dv_dss_tb&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                         utility_type_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;AQoL-6D&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                         mdl_predrs_in_ds_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;PHQ9 total score&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                                  &lt;span class=&#39;s&#39;&gt;&#34;SOFAS total score&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The preceding command will produce a lookup table with information that includes the catalogue names of models, the predictors used in each model and the analysis that generated each one.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;caption&gt;
Selected elements from Models Look-Up Table
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
Catalogue reference
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Predictors
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Analysis
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
PHQ9_1_GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
PHQ9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
PHQ9_1_OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
PHQ9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
PHQ9_SOFAS_1_GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
PHQ9 , SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
PHQ9_SOFAS_1_OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
PHQ9 , SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
OASIS_SOFAS_1_GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
OASIS, SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
OASIS_SOFAS_1_OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
OASIS, SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
BADS_SOFAS_1_GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
BADS , SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
BADS_SOFAS_1_OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
BADS , SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
K6_SOFAS_1_GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
K6 , SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
K6_SOFAS_1_OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
K6 , SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
SCARED_SOFAS_1_GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
SCARED, SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
SCARED_SOFAS_1_OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
SCARED, SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
GAD7_SOFAS_1_GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
GAD7 , SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
GAD7_SOFAS_1_OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
GAD7 , SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Primary Analysis
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
SOFAS_1_GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Secondary Analysis A
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
SOFAS_1_OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Secondary Analysis A
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
OASIS_PHQ9_1_GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
OASIS, PHQ9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Secondary Analysis B
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
OASIS_PHQ9_1_OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
OASIS, PHQ9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Secondary Analysis B
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
GAD7_PHQ9_1_GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
GAD7, PHQ9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Secondary Analysis B
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
GAD7_PHQ9_1_OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
GAD7, PHQ9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Secondary Analysis B
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
SCARED_PHQ9_1_GLM_GSN_LOG
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
SCARED, PHQ9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Secondary Analysis B
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
SCARED_PHQ9_1_OLS_CLL
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
SCARED, PHQ9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Secondary Analysis B
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;To review the summary information about the predictive performance of a specific model, use:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/get_dv_mdl_smrys.html&#39;&gt;get_dv_mdl_smrys&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;mdls_lup&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                 mdl_nms_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;PHQ9_SOFAS_1_OLS_CLL&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; $PHQ9_SOFAS_1_OLS_CLL&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;        Parameter Estimate    SE          95% CI&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; 1 SD (Intercept)    0.348 0.017   0.312 , 0.382&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; 2      Intercept    0.428 0.129   0.174 , 0.686&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; 3  PHQ9 baseline   -9.115 0.249 -9.601 , -8.618&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; 4    PHQ9 change   -7.331 0.339 -8.007 , -6.665&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; 5 SOFAS baseline    0.960 0.172   0.616 , 1.292&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; 6   SOFAS change    1.146 0.235   0.674 , 1.607&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; 7             R2    0.767 0.012   0.743 , 0.788&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; 8           RMSE    0.925 0.004   0.922 , 0.928&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; 9          Sigma    0.406 0.012   0.384 , 0.429&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;More information about a selected model can be found in the online model catalogue, the link to which can be obtained with the following command:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/get_mdl_ctlg_url.html&#39;&gt;get_mdl_ctlg_url&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;mdls_lup&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                 mdl_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;PHQ9_SOFAS_1_OLS_CLL&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;[1] &amp;ldquo;&lt;a href=&#34;https://dataverse.harvard.edu/api/access/datafile/6484935&#34;&gt;https://dataverse.harvard.edu/api/access/datafile/6484935&lt;/a&gt;&amp;rdquo;&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id=&#34;prepare-a-prediction-dataset-for-use-with-a-selected-transfer-to-utility-model&#34;&gt;Prepare a prediction dataset for use with a selected transfer to utility model&lt;/h2&gt;
&lt;h3 id=&#34;import-data&#34;&gt;Import data&lt;/h3&gt;
&lt;p&gt;You can now import and inspect the dataset you plan on using for prediction. In the below example we use fake data.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;data_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/make_fake_ds_one.html&#39;&gt;make_fake_ds_one&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;caption&gt;
Illustrative example of a prediction dataset
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
UID
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Timepoint
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Date
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
PHQ_total
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
SOFAS_total
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-05-22
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
7
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
69
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-04-07
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
17
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
60
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Follow-up
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-06-22
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
17
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
64
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_100
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-07-29
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
76
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1000
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-02-10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
71
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1000
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Follow-up
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-05-05
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
71
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;confirm-dataset-can-be-used-as-a-prediction-dataset&#34;&gt;Confirm dataset can be used as a prediction dataset&lt;/h3&gt;
&lt;p&gt;The prediction dataset must contain variables that correspond to all the predictors of the model you intend to apply. The allowable range and required class of each predictor variable are described in the &lt;code&gt;min_val_dbl&lt;/code&gt;, &lt;code&gt;max_val_dbl&lt;/code&gt; and &lt;code&gt;class_chr&lt;/code&gt; columns of the model predictors lookup table, which can be accessed with a call to the &lt;code&gt;get_predictors_lup&lt;/code&gt; function.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;predictors_lup&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/get_predictors_lup.html&#39;&gt;get_predictors_lup&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;mdls_lup &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;mdls_lup&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                     mdl_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;PHQ9_SOFAS_1_OLS_CLL&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;caption&gt;
Model predictors lookup table
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
short_name_chr
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
long_name_chr
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
min_val_dbl
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
max_val_dbl
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
class_chr
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
increment_dbl
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
class_fn_chr
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
mdl_scaling_dbl
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
covariate_lgl
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
PHQ9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
PHQ9 total score
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
27
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
integer
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
youthvars::youthvars_phq9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.01
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
FALSE
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
SOFAS
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
SOFAS total score
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
100
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
integer
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
youthvars::youthvars_sofas
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.01
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
TRUE
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The prediction dataset must also include both a unique client identifier variable and a measurement time-point identifier variable (which must be a &lt;code&gt;factor&lt;/code&gt; with two levels). The dataset also needs to be in long format (ie where measures at different time-points for the same individual are stacked on top of each other in separate rows). We can confirm these conditions hold by creating a dataset metadata object using the &lt;code&gt;make_predn_metadata_ls&lt;/code&gt; function. In creating the metadata object, the function checks that the dataset can be used in conjunction with the model specified at the &lt;code&gt;mdl_nm_1L_chr&lt;/code&gt; argument. If the prediction dataset uses different variable names for the predictors to those specified in the &lt;code&gt;predictors_lup&lt;/code&gt; lookup table, a named vector detailing the correspondence between the two sets of variable names needs to be passed to the &lt;code&gt;predr_vars_nms_chr&lt;/code&gt; argument. Finally, if you wish to specify a preferred variable name to use for the predicted utility values when applying the model, you can do this by passing this name to the &lt;code&gt;utl_var_nm_1L_chr&lt;/code&gt; argument.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;predn_ds_ls&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/make_predn_metadata_ls.html&#39;&gt;make_predn_metadata_ls&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;data_tb&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      id_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;UID&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      msrmnt_date_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Date&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      predr_vars_nms_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;PHQ9 &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;PHQ_total&#34;&lt;/span&gt;,SOFAS &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;SOFAS_total&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      round_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Timepoint&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      round_bl_val_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Baseline&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      utl_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;AQoL6D_HU&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      mdls_lup &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;mdls_lup&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      mdl_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;PHQ9_SOFAS_1_OLS_CLL&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 id=&#34;apply-the-selected-transfer-to-utility-model-to-a-prediction-dataset-to-predict-quality-adjusted-life-years-qalys&#34;&gt;Apply the selected transfer to utility model to a prediction dataset to predict Quality Adjusted Life Years (QALYs)&lt;/h2&gt;
&lt;h3 id=&#34;predict-health-utility-at-baseline-and-follow-up-timepoints&#34;&gt;Predict health utility at baseline and follow-up timepoints&lt;/h3&gt;
&lt;p&gt;To generate utility predictions we use the &lt;code&gt;add_utl_predn&lt;/code&gt; function. The function needs to be supplied with the prediction dataset (the value passed to argument &lt;code&gt;data_tb&lt;/code&gt;) and the validated prediction metadata object we created in the previous step.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;data_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/add_utl_predn.html&#39;&gt;add_utl_predn&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;data_tb&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                         predn_ds_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;predn_ds_ls&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; Joining with `by = join_by(UID, Timepoint)`&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;By default the &lt;code&gt;add_utl_predn&lt;/code&gt; function samples model parameter values based on a table of model coefficients when making predictions and constrains predictions to an allowed range. You can override these defaults by adding additional arguments &lt;code&gt;new_data_is_1L_chr = &amp;quot;Predicted&amp;quot;&lt;/code&gt; (which uses mean parameter values), &lt;code&gt;force_min_max_1L_lgl = F&lt;/code&gt; (removes range constraint) and (if the source dataset makes available downloadable model objects) &lt;code&gt;make_from_tbl_1L_lgl = F&lt;/code&gt;. These settings will produce different predictions. It is strongly recommended that you consult the model catalogue (see above) to understand how such decisions may affect the validity of the predicted values that will be generated.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;caption&gt;
Prediction dataset with predicted utilities
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
UID
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Timepoint
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Date
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
PHQ_total
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
SOFAS_total
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
AQoL6D_HU
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-05-22
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
7
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
69
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.9080468
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-04-07
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
17
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
60
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.5533808
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Follow-up
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-06-22
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
17
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
64
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.4006010
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_100
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-07-29
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
76
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.6809903
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1000
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-02-10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
71
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.9877882
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1000
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Follow-up
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-05-05
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
71
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.9602037
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Our health utility predictions are now available for use and are summarised below.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/summary.html&#39;&gt;summary&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;data_tb&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;$&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;AQoL6D_HU&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; 0.06646 0.42781 0.63403 0.62335 0.83351 1.00000&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;calculate-qalys&#34;&gt;Calculate QALYs&lt;/h3&gt;
&lt;p&gt;The last step is to calculate Quality Adjusted Life Years, using a method assuming a linear rate of change between timepoints.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;data_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;data_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/add_qalys_to_ds.html&#39;&gt;add_qalys_to_ds&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;predn_ds_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;predn_ds_ls&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                       include_predrs_1L_lgl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;F&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                       reshape_1L_lgl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;F&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;caption&gt;
Prediction dataset with QALYs
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
UID
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Timepoint
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
Date
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
PHQ_total
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
SOFAS_total
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
AQoL6D_HU
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
AQoL6D_HU_change_dbl
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
duration_prd
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
qalys_dbl
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-05-22
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
7
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
69
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.9080468
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.0000000
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0000000
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-04-07
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
17
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
60
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.5533808
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.0000000
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0000000
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Follow-up
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-06-22
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
17
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
64
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.4006010
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
-0.1527798
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
76d 0H 0M 0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0992507
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_100
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-07-29
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
76
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.6809903
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.0000000
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0000000
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1000
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-02-10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
71
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.9877882
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
0.0000000
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.0000000
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1000
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Follow-up
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-05-05
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
71
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.9602037
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
-0.0275845
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
84d 0H 0M 0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.2239991
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Use utility mapping algorithms to help implement cost-utility analyses</title>
      <link>/docs/model/modules/using-modules/people/assess-cost-utility/</link>
      <pubDate>Fri, 20 Oct 2023 00:00:00 +0000</pubDate>
      
      <guid>/docs/model/modules/using-modules/people/assess-cost-utility/</guid>
      <description>
        
        
        

&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;This below section renders a vignette article from the youthu library. You can use the following links to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://ready4-dev.github.io/youthu/articles/Economic_Analysis.html&#34;&gt;view the vignette on the library website (adds useful hyperlinks to code blocks)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/youthu/blob/main/vignettes/Economic_Analysis.Rmd&#34;&gt;view the source file&lt;/a&gt; from that article, and;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/youthu/edit/main/vignettes/Economic_Analysis.Rmd&#34;&gt;edit its contents&lt;/a&gt; (requires a GitHub account).&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;div class=&#34;highlight&#34;&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/&#39;&gt;youthu&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/Random.html&#39;&gt;set.seed&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;1234&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;This vignette illustrates the rationale for and practical decision-making utility of youthu&amp;rsquo;s &lt;a href=&#34;https://ready4-dev.github.io/youthu/articles/Prediction_With_Mdls.html&#34;&gt;QALYs prediction workflow&lt;/a&gt;. Note, this example is illustrated with fake data and should not be used to inform decision-making.&lt;/p&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;p&gt;The main motivation behind the youthu package is to extend the types of economic analysis that can be undertaken with both single group (e.g. pilot study, health service records) and matched groups (e.g. trial) longitudinal datasets that do not include measures of health utility. This article focuses on its application to matched group datasets.&lt;/p&gt;
&lt;h2 id=&#34;example-dataset&#34;&gt;Example dataset&lt;/h2&gt;
&lt;p&gt;First, we must first import our data. In this example we will use a fake dataset.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;ds_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/make_fake_ds_two.html&#39;&gt;make_fake_ds_two&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; Joining with `by = join_by(fkClientID, study_arm_chr)`&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;Our dataset includes 268 matched comparisons, with each comparison containing baseline and follow-up records for one intervention arm participant and one control arm participant. The first few records are as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;caption&gt;
First few records from input dataset
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
fkClientID
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
round
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
date_psx
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
duration_prd
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
PHQ9
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
SOFAS
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
costs_dbl
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
study_arm_chr
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
match_idx_int
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_20
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-03-15
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
16
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
41
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
301.1868
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Intervention
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_593
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-01-20
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
19
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
43
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
259.3190
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Control
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_593
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Follow-up
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-07-14
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
175d 0H 0M 0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
16
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
65
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
1290.4220
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Control
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_20
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Follow-up
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-09-09
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
178d 0H 0M 0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
15
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
74
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
1787.4242
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Intervention
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_259
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-05-10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
19
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
39
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
311.0018
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Control
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_962
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Baseline
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-06-22
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
45
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
276.2181
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Intervention
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This dataset contains features that make it possible to use in conjunction with youthu&amp;rsquo;s economic analysis functions. These requirements are described in the vignette about &lt;a href=&#34;https://ready4-dev.github.io/youthu/articles/Prediction_With_Mdls.html&#34;&gt;finding and using models compatible models to predict QALYs&lt;/a&gt;;&lt;/p&gt;
&lt;p&gt;The dataset also contains a cost variable, which is a requirement for most, though not all, of the economic analyses that can be undertaken with youthu.&lt;/p&gt;
&lt;h2 id=&#34;limitations-of-datasets-without-measures-of-health-utility&#34;&gt;Limitations of datasets without measures of health utility&lt;/h2&gt;
&lt;p&gt;A notable omission from the dataset is any measure of utility. This omission means that, in the absence of using mapping algorithms such as those included with youthu, the most feasible types of economic evaluation to apply to this dataset would likely be cost-consequence analysis (where a synopsis of the differences in a range of measures are presented alongside cost differences) and cost-effectiveness analysis (where a summary statistic - the incremental cost-effectiveness ratio or ICER - is calculated by dividing differences in costs by differences in a single outcome measure).&lt;/p&gt;
&lt;p&gt;These types of economic analyses can be relatively simple to interpret if either the intervention or control arm is simultaneously cheaper and more effective across all included outcome measures. However, these conditions don&amp;rsquo;t hold in our sample data.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/summary.html&#39;&gt;summary&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;ds_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;dplyr&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://dplyr.tidyverse.org/reference/filter.html&#39;&gt;filter&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;study_arm_chr&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;==&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Control&#34;&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;amp;&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;round&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;==&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Baseline&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;[&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;5&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;:&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;6&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;]&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;       PHQ9          SOFAS      &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Min.   : 0.0   Min.   :39.00  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  1st Qu.: 7.0   1st Qu.:60.00  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Median :12.0   Median :66.00  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Mean   :10.9   Mean   :66.13  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  3rd Qu.:15.0   3rd Qu.:72.00  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Max.   :19.0   Max.   :89.00&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/summary.html&#39;&gt;summary&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;ds_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;dplyr&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://dplyr.tidyverse.org/reference/filter.html&#39;&gt;filter&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;study_arm_chr&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;==&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Control&#34;&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;amp;&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;round&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;==&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Follow-up&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;[&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;5&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;:&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;7&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;]&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;       PHQ9            SOFAS         costs_dbl     &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Min.   : 0.000   Min.   :39.00   Min.   : 889.9  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  1st Qu.: 4.000   1st Qu.:64.00   1st Qu.:1321.1  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Median : 8.000   Median :71.00   Median :1486.7  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Mean   : 8.493   Mean   :70.65   Mean   :1489.0  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  3rd Qu.:13.000   3rd Qu.:77.00   3rd Qu.:1627.0  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Max.   :27.000   Max.   :98.00   Max.   :2216.5&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/summary.html&#39;&gt;summary&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;ds_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;dplyr&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://dplyr.tidyverse.org/reference/filter.html&#39;&gt;filter&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;study_arm_chr&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;==&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Intervention&#34;&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;amp;&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;round&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;==&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Baseline&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;[&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;5&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;:&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;6&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;]&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;       PHQ9           SOFAS      &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Min.   : 0.00   Min.   :36.00  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  1st Qu.: 7.00   1st Qu.:61.00  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Median :11.00   Median :67.00  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Mean   :10.81   Mean   :66.74  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  3rd Qu.:15.00   3rd Qu.:72.25  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Max.   :19.00   Max.   :88.00&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/summary.html&#39;&gt;summary&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;ds_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;dplyr&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://dplyr.tidyverse.org/reference/filter.html&#39;&gt;filter&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;study_arm_chr&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;==&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Intervention&#34;&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;amp;&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;round&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;==&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Follow-up&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;[&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;5&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;:&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;7&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;]&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;       PHQ9            SOFAS      costs_dbl     &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Min.   : 0.000   Min.   :40   Min.   : 923.4  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  1st Qu.: 2.000   1st Qu.:60   1st Qu.:1625.6  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Median : 6.500   Median :68   Median :1777.3  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Mean   : 6.851   Mean   :68   Mean   :1807.8  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  3rd Qu.:11.000   3rd Qu.:77   3rd Qu.:1996.0  &lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt;  Max.   :25.000   Max.   :93   Max.   :2872.7&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The pattern of results summarised above create some significant barriers to meaningfully interpreting economic evaluations that are based on cost-consequence or cost-effectiveness analysis:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;A cost-effectiveness analysis in which change in PHQ-9 was the benefit measure would be difficult to interpret as the Intervention arm is both more effective and more costly, which begs the question is it worth paying the extra dollars for this improvement? Also - would a judgment of cost-effectiveness remain the same if the study had measured a slightly different incremental benefit or recorded change over a longer or shorter time horizon? It is likely that there is no commonly used value for money benchmark for improvements measured in PHQ-9, nor is there any time weighting associated with the measure. Furthermore, if the potential funding for the intervention is from a budget that is allocated to non-depressive illnesses (e.g. physical health), results from a cost-effectiveness analysis using PHQ-9 as its benefit measure are not readily comparable with economic evaluations of interventions from other illness groups using different benefit measures that are potentially competing for the same scarce funding.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A cost consequence analyses that summarised the differences in costs with the differences in changes in PHQ-9 and SOFAS score would be difficult to interpret because while the intervention is more effective than control for improvements measured on PHQ-9 (where lower scores are better), the control group is superior if benefits are based on functioning improvements as measured by SOFAS scores (where higher scores are better). The lack of any formal weighting for how to trade off clinical symptoms and functioning means that interpretation of this analysis will be highly subjective and likely to change across potential decision makers.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These types of short-comings can be significantly addressed by undertaking cost-utility analyses (CUAs) as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;they use a measure of benefit - the Quality Adjusted Life Year (QALY) - that captures multiple domains of health, weighted by time and population preferences in a single index measure that can be applied across health conditions;&lt;/li&gt;
&lt;li&gt;there are published benchmark willingness to pay values for QALYs that are routinely used by decision makers in many countries to make ICER statistics readily interpretable in the context of health budget allocation.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The rest of this article demonstrates how youthu functions can be used to undertake CUA based analyses on the type of data we have just profiled.&lt;/p&gt;
&lt;h2 id=&#34;using-youthu-in-a-cost-utility-analysis-workflow&#34;&gt;Using youthu in a cost-utility analysis workflow&lt;/h2&gt;
&lt;h3 id=&#34;predict-adolescent-aqol-6d-health-utility&#34;&gt;Predict adolescent AQoL-6D health utility&lt;/h3&gt;
&lt;p&gt;Our first step is to identify which youthu models we will use to predict adolescent AQoL-6D and apply these models to our data. This step was explained in more detail in &lt;a href=&#34;https://ready4-dev.github.io/youthu/articles/Prediction_With_Mdls.html&#34;&gt;another vignette article about finding and using transfer to utility models&lt;/a&gt;, so will be dealt with briefly here.&lt;/p&gt;
&lt;p&gt;First we make sure that our dataset can be used as a prediction dataset in conjunction with the model we intend using.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;predn_ds_ls&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/make_predn_metadata_ls.html&#39;&gt;make_predn_metadata_ls&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;ds_tb&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      cmprsn_groups_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;Intervention&#34;&lt;/span&gt;, &lt;span class=&#39;s&#39;&gt;&#34;Control&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      cmprsn_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;study_arm_chr&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      costs_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;costs_dbl&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      id_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;fkClientID&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      msrmnt_date_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;date_psx&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      round_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;round&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      round_bl_val_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;Baseline&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      utl_var_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;AQoL6D_HU&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      mdls_lup &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/get_mdls_lup.html&#39;&gt;get_mdls_lup&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;utility_type_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;AQoL-6D&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                                              mdl_predrs_in_ds_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/c.html&#39;&gt;c&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;s&#39;&gt;&#34;PHQ9 total score&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                                                                       &lt;span class=&#39;s&#39;&gt;&#34;SOFAS total score&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                                              ttu_dv_nms_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;TTU&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                      mdl_nm_1L_chr &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt;  &lt;span class=&#39;s&#39;&gt;&#34;PHQ9_SOFAS_1_OLS_CLL&#34;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;We now use our preferred model to predict health utility from the measures in our dataset.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;ds_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/add_utl_predn.html&#39;&gt;add_utl_predn&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;ds_tb&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                       predn_ds_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;predn_ds_ls&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;  &lt;span class=&#39;nf&#39;&gt;dplyr&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://dplyr.tidyverse.org/reference/select.html&#39;&gt;select&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;fkClientID&lt;/span&gt;, &lt;span class=&#39;nv&#39;&gt;round&lt;/span&gt;, &lt;span class=&#39;nv&#39;&gt;study_arm_chr&lt;/span&gt;, &lt;span class=&#39;nv&#39;&gt;date_psx&lt;/span&gt;, &lt;span class=&#39;nv&#39;&gt;duration_prd&lt;/span&gt;, &lt;span class=&#39;nf&#39;&gt;dplyr&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://tidyselect.r-lib.org/reference/everything.html&#39;&gt;everything&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; Joining with `by = join_by(fkClientID, round)`&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;h3 id=&#34;calculate-qalys&#34;&gt;Calculate QALYs&lt;/h3&gt;
&lt;p&gt;Next we combine the health utility data with the interval between measurement data to calculate QALYs and add them to the dataset.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;ds_tb&lt;/span&gt;  &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;ds_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/add_qalys_to_ds.html&#39;&gt;add_qalys_to_ds&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;predn_ds_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;predn_ds_ls&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                    include_predrs_1L_lgl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;T&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                    reshape_1L_lgl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;kc&#39;&gt;T&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;div style=&#34;border: 1px solid #ddd; padding: 5px; overflow-x: scroll; width:100%; &#34;&gt;
&lt;table class=&#34; lightable-paper lightable-hover lightable-paper&#34; style=&#34;font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; width: auto !important; margin-left: auto; margin-right: auto;border-bottom: 0; font-family: &amp;quot;Arial Narrow&amp;quot;, arial, helvetica, sans-serif; margin-left: auto; margin-right: auto;&#34;&gt;
&lt;caption&gt;
First few records from updated dataset with QALYs
&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
fkClientID
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
study_arm_chr
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
match_idx_int
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
date_psx_Baseline
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
date_psx_Follow-up
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
duration_prd_Baseline
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
duration_prd_Follow-up
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
costs_dbl_Baseline
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
costs_dbl_Follow-up
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
PHQ9_Baseline
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
PHQ9_Follow-up
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
SOFAS_Baseline
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
SOFAS_Follow-up
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
AQoL6D_HU_Baseline
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
AQoL6D_HU_Follow-up
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
PHQ9_change_dbl_Baseline
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
PHQ9_change_dbl_Follow-up
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
SOFAS_change_dbl_Baseline
&lt;/th&gt;
&lt;th style=&#34;text-align:left;&#34;&gt;
SOFAS_change_dbl_Follow-up
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
AQoL6D_HU_change_dbl_Baseline
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
AQoL6D_HU_change_dbl_Follow-up
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
qalys_dbl_Baseline
&lt;/th&gt;
&lt;th style=&#34;text-align:right;&#34;&gt;
qalys_dbl_Follow-up
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Control
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
243
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2022-12-29
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-06-24
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
177d 0H 0M 0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
647.9386
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1696.235
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
8
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
61
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
64
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.7597988
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.6079774
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
3
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
-0.1518214
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.3314119
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1000
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Control
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
191
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-02-24
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-08-27
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
184d 0H 0M 0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
428.9205
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1619.037
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
4
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
63
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
82
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.8459579
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.7688131
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
-2
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
19
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
-0.0771448
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.4067322
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1001
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Intervention
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
230
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-01-19
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-07-17
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
179d 0H 0M 0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
429.3703
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1844.219
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
14
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
59
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
72
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.6138300
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.8607305
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
4
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
13
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.2469005
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.3613228
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1003
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Intervention
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
115
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-02-17
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-08-18
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
182d 0H 0M 0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
395.1637
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1537.365
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
71
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
81
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.5808015
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.9315788
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
-9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.3507773
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.3768011
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1005
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Intervention
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
183
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-05-21
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-11-23
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
186d 0H 0M 0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
402.9910
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
1826.511
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
17
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
78
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
88
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.5460607
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.9593811
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
-17
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
10
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.4133204
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.3833158
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
Participant_1006
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
Intervention
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
219
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-06-16
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2023-12-12
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0S
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
179d 0H 0M 0S
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
534.2285
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
2401.478
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
9
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
14
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
75
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
73
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.7239490
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.5885972
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
5
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:left;&#34;&gt;
-2
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
-0.1353518
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0
&lt;/td&gt;
&lt;td style=&#34;text-align:right;&#34;&gt;
0.3216232
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;tfoot&gt;
&lt;tr&gt;
&lt;td style=&#34;padding: 0; &#34; colspan=&#34;100%&#34;&gt;
&lt;sup&gt;&lt;/sup&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tfoot&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;analyse-results&#34;&gt;Analyse results&lt;/h3&gt;
&lt;p&gt;Now we can run the main economic analysis. This is implemented by the &lt;code&gt;make_hlth_ec_smry&lt;/code&gt; function, which first bootstraps the dataset (implemented by the &lt;code&gt;boot&lt;/code&gt; function from the &lt;code&gt;boot&lt;/code&gt; package) before passing the mean values for costs and QALYs from each bootstrap sample to with &lt;code&gt;bcea&lt;/code&gt; function of the &lt;code&gt;BCEA&lt;/code&gt; package to calculate a range of health economic statistics. For this example we pass a value of 50,000 for the willingness to pay parameter, as this is the dollar amount commonly used in Australia as a benchmark for the value of a QALY.&lt;/p&gt;
&lt;p&gt;Note, for this illustrative example we only request 1000 bootstrap iterations - in practice this number may be higher.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;nv&#39;&gt;he_smry_ls&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&amp;lt;-&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;ds_tb&lt;/span&gt; &lt;span class=&#39;o&#39;&gt;&lt;a href=&#39;https://magrittr.tidyverse.org/reference/pipe.html&#39;&gt;%&amp;gt;%&lt;/a&gt;&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ready4-dev.github.io/youthu/reference/make_hlth_ec_smry.html&#39;&gt;make_hlth_ec_smry&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;predn_ds_ls &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nv&#39;&gt;predn_ds_ls&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                                 wtp_dbl &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;m&#39;&gt;50000&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                                                 bootstrap_iters_1L_int &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;m&#39;&gt;1000L&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; Warning: There was 1 warning in `dplyr::summarise()`.&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; &lt;span style=&#39;color: #00BBBB;&#39;&gt;ℹ&lt;/span&gt; In argument: `dplyr::across(.fns = mean)`.&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; Caused by warning:&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; &lt;span style=&#39;color: #BBBB00;&#39;&gt;!&lt;/span&gt; Using `across()` without supplying `.cols` was deprecated in dplyr 1.1.0.&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; &lt;span style=&#39;color: #00BBBB;&#39;&gt;ℹ&lt;/span&gt; Please supply `.cols` instead.&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;As part of the output of the &lt;code&gt;make_hlth_ec_smry&lt;/code&gt; function is a BCEA object, we can use the BCEA package to produce a number of graphical summaries of economic results. One of the most important is the production of a cost-effectiveness plane. This plot highlights that, with an ICER of $-98,145.56, less than half of the bootstrapped iteration incremental cost and QALY pairs fall within the zone of cost-effectiveness (green). In fact, at the cost-effectiveness threshold we supplied, the results suggest there is a 8% probability that the intervention is cost-effective.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;
&lt;pre class=&#39;chroma&#39;&gt;&lt;code class=&#39;language-r&#39; data-lang=&#39;r&#39;&gt;&lt;span&gt;&lt;span class=&#39;kr&#39;&gt;&lt;a href=&#39;https://rdrr.io/r/base/library.html&#39;&gt;library&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;&lt;a href=&#39;https://ggplot2.tidyverse.org&#39;&gt;ggplot2&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;nf&#39;&gt;BCEA&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://rdrr.io/pkg/BCEA/man/ceplane.plot.html&#39;&gt;ceplane.plot&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;he_smry_ls&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;$&lt;/span&gt;&lt;span class=&#39;nv&#39;&gt;ce_res_ls&lt;/span&gt;, wtp &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt;&lt;span class=&#39;m&#39;&gt;50000&lt;/span&gt;,    &lt;/span&gt;
&lt;span&gt;                   area_color &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;green&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;                    graph &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;s&#39;&gt;&#34;ggplot2&#34;&lt;/span&gt;,&lt;/span&gt;
&lt;span&gt;          theme &lt;span class=&#39;o&#39;&gt;=&lt;/span&gt; &lt;span class=&#39;nf&#39;&gt;ggplot2&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;::&lt;/span&gt;&lt;span class=&#39;nf&#39;&gt;&lt;a href=&#39;https://ggplot2.tidyverse.org/reference/ggtheme.html&#39;&gt;theme_light&lt;/a&gt;&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;(&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;span class=&#39;o&#39;&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span class=&#39;c&#39;&gt;#&amp;gt; Warning: Duplicated aesthetics after name standardisation: &lt;span style=&#39;color: #00BB00;&#39;&gt;colour&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;img src=&#34;figs/unnamed-chunk-14-1.png&#34; width=&#34;700px&#34; style=&#34;display: block; margin: auto;&#34; /&gt;
&lt;/div&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Develop health utility mapping algorithms</title>
      <link>/docs/model/analyses/replication-code/map-utility/ttu_lng_aqol6d_csp/</link>
      <pubDate>Thu, 05 Jan 2017 00:00:00 +0000</pubDate>
      
      <guid>/docs/model/analyses/replication-code/map-utility/ttu_lng_aqol6d_csp/</guid>
      <description>
        
        
        

&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;This below section embeds a PDF version of an R Markdown program. The following alternative options may provide improved viewing experience, more contextual information and access to more useful code formats:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://raw.githubusercontent.com/ready4-dev/ttu_lng_aqol6_csp/main/CSP.pdf&#34;&gt;download the PDF (recommended for enhanced readibility)&lt;/a&gt;;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://doi.org/10.7910/DVN/DKDIB0&#34;&gt;view the PDF in its study dataset (includes contextual information)&lt;/a&gt; from that article; and;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://doi.org/10.5281/zenodo.6116077&#34;&gt;view the PDF along with the current release of its R Markdown code (useful if you plan to run the code)&lt;/a&gt; and&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/ttu_lng_aqol6_csp/&#34;&gt;view the PDF along with the current development version of its R Markdown code (useful if you wish to copy or edit the code)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;div id=&#34;adobe-dc-view&#34; style=&#34;width: 800px;&#34;&gt;&lt;/div&gt;
&lt;script src=&#34;https://documentservices.adobe.com/view-sdk/viewer.js&#34;&gt;&lt;/script&gt;
&lt;script type=&#34;text/javascript&#34;&gt;
	document.addEventListener(&#34;adobe_dc_view_sdk.ready&#34;, function(){ 
		var adobeDCView = new AdobeDC.View({clientId: &#34;d7d86c443e2b45c1b43c7db36ad50bf3&#34;, divId: &#34;adobe-dc-view&#34;});
		adobeDCView.previewFile({
			content:{location: {url: &#34;https://raw.githubusercontent.com/ready4-dev/ttu_lng_aqol6_csp/main/CSP.pdf&#34;}},
			metaData:{fileName: &#34;Bodea Brochure.pdf&#34;}
		}, {embedMode: &#34;IN_LINE&#34;});
	});
&lt;/script&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Predict health utility</title>
      <link>/docs/model/analyses/replication-code/map-utility/aqol6dmap_use/</link>
      <pubDate>Thu, 05 Jan 2017 00:00:00 +0000</pubDate>
      
      <guid>/docs/model/analyses/replication-code/map-utility/aqol6dmap_use/</guid>
      <description>
        
        
        

&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;This below section embeds a PDF version of an R Markdown program. The following alternative options may provide improved viewing experience, more contextual information and access to more useful code formats:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://raw.githubusercontent.com/ready4-dev/aqol6dmap_use/main/Predict.pdf&#34;&gt;download the PDF (recommended for enhanced readibility)&lt;/a&gt;;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://doi.org/10.7910/DVN/DKDIB0&#34;&gt;view the PDF in its study dataset (includes contextual information)&lt;/a&gt; from that article; and;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://doi.org/10.5281/zenodo.6317180&#34;&gt;view the PDF along with the current release of its R Markdown code (useful if you plan to run the code)&lt;/a&gt; and&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/aqol6dmap_use/&#34;&gt;view the PDF along with the current development version of its R Markdown code (useful if you wish to copy or edit the code)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;div id=&#34;adobe-dc-view&#34; style=&#34;width: 800px;&#34;&gt;&lt;/div&gt;
&lt;script src=&#34;https://documentservices.adobe.com/view-sdk/viewer.js&#34;&gt;&lt;/script&gt;
&lt;script type=&#34;text/javascript&#34;&gt;
	document.addEventListener(&#34;adobe_dc_view_sdk.ready&#34;, function(){ 
		var adobeDCView = new AdobeDC.View({clientId: &#34;d7d86c443e2b45c1b43c7db36ad50bf3&#34;, divId: &#34;adobe-dc-view&#34;});
		adobeDCView.previewFile({
			content:{location: {url: &#34;https://raw.githubusercontent.com/ready4-dev/aqol6dmap_use/main/Predict.pdf&#34;}},
			metaData:{fileName: &#34;Bodea Brochure.pdf&#34;}
		}, {embedMode: &#34;IN_LINE&#34;});
	});
&lt;/script&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Make a catalogue of utility mapping models</title>
      <link>/docs/model/analyses/reporting-templates/ttu_mdl_ctlg/</link>
      <pubDate>Thu, 05 Jan 2017 00:00:00 +0000</pubDate>
      
      <guid>/docs/model/analyses/reporting-templates/ttu_mdl_ctlg/</guid>
      <description>
        
        
        

&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;This below section reproduces the README file of an R Markdown sub-routine. The following alternative options may provide more contextual information and access to more useful code formats:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://doi.org/10.7910/DVN/DKDIB0&#34;&gt;view examples of the catalogues produced by this subroutine in a study dataset&lt;/a&gt; (the names of the relevant files all begin with &amp;ldquo;AAA_TTU_MDL_CTG&amp;rdquo;);&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://doi.org/10.5281/zenodo.6920563&#34;&gt;view the README along with the current release of its R Markdown code (useful if you plan to run the code)&lt;/a&gt;; and&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/ttu_mdl_ctlg/&#34;&gt;view the README along with the current development version of its R Markdown code (useful if you wish to copy or edit the code)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h1 id=&#34;ttu_mdl_ctlg&#34;&gt;ttu_mdl_ctlg&lt;/h1&gt;
&lt;p&gt;R Markdown subroutine reporting template for creating utility mapping (transfer to utility) model catalogues. This template should be used in conjunction with the &lt;a href=&#34;https://ready4-dev.github.io/TTU/index.html&#34;&gt;TTU R package&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://doi.org/10.5281/zenodo.5936870&#34;&gt;&lt;img src=&#34;https://zenodo.org/badge/DOI/10.5281/zenodo.5936870.svg&#34; alt=&#34;DOI&#34;&gt;&lt;/a&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Author a draft scientific manuscript for a utility mapping study</title>
      <link>/docs/model/analyses/reporting-templates/ttu_lng_ss/</link>
      <pubDate>Thu, 05 Jan 2017 00:00:00 +0000</pubDate>
      
      <guid>/docs/model/analyses/reporting-templates/ttu_lng_ss/</guid>
      <description>
        
        
        

&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;This below section reproduces the README file of an R Markdown sub-routine. The following alternative options may provide more contextual information and access to more useful code formats:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://doi.org/10.5281/zenodo.5976987&#34;&gt;view the README along with the current release of its R Markdown code (useful if you plan to run the code)&lt;/a&gt;; and&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/ready4-dev/ttu_mdl_ctlg/&#34;&gt;view the README along with the current development version of its R Markdown code (useful if you wish to copy or edit the code)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h1 id=&#34;create-a-draft-scientific-manuscript-for-a-utility-mapping-study&#34;&gt;Create a Draft Scientific Manuscript For A Utility Mapping Study&lt;/h1&gt;
&lt;p&gt;This sub-routine program extends the R package &lt;a href=&#34;https://ready4-dev.github.io/TTU/index.html&#34;&gt;TTU&lt;/a&gt; by providing a toolkit for automatically authoring a first draft of a scientific manuscript from results generated by TTU modules.&lt;/p&gt;
&lt;p&gt;The program is intended for use and as the last component of TTU&amp;rsquo;s reporting workflow for utility mapping modelling projects. An example of this workflow is available at: &lt;a href=&#34;https://doi.org/10.5281/zenodo.6116077&#34;&gt;https://doi.org/10.5281/zenodo.6116077&lt;/a&gt; . This program generalises a program that produced the manuscript for a real world study (&lt;a href=&#34;https://doi.org/10.1101/2021.07.07.21260129)&#34;&gt;https://doi.org/10.1101/2021.07.07.21260129)&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The program can produce manuscripts in PDF / LaTex (example - &lt;a href=&#34;https://dataverse.harvard.edu/api/access/datafile/4957407&#34;&gt;https://dataverse.harvard.edu/api/access/datafile/4957407&lt;/a&gt;) and Word (example - &lt;a href=&#34;https://dataverse.harvard.edu/api/access/datafile/4957416)&#34;&gt;https://dataverse.harvard.edu/api/access/datafile/4957416)&lt;/a&gt;. It should be noted that the Word output requires some manual editing to adapt section numbering, modify table headers and resize tables to page boundaries.&lt;/p&gt;
&lt;p&gt;Suggested citation (bibTeX):&lt;/p&gt;
&lt;p&gt;@software{hamilton_matthew_2022_6931146,
author       = {Hamilton, Matthew and
Gao, Caroline},
title        = {{ttu_lng_ss: Create a Draft Scientific Manuscript
For A Utility Mapping Study}},
month        = jun,
year         = 2023,
note         = {{Matthew Hamilton and Caroline Gao (2022).
ttu_lng_ss: Create a Draft Scientific Manuscript
For A Utility Mapping Study. Zenodo.
&lt;a href=&#34;https://doi.org/10.5281/zenodo.5976987&#34;&gt;https://doi.org/10.5281/zenodo.5976987&lt;/a&gt;. Version
0.9.0.0}},
publisher    = {Zenodo},
version      = {0.9.0.0},
doi          = {10.5281/zenodo.5976987},
url          = {https://doi.org/10.5281/zenodo.5976987}
}&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://doi.org/10.5281/zenodo.5976987&#34;&gt;&lt;img src=&#34;https://zenodo.org/badge/DOI/10.5281/zenodo.5976987.svg&#34; alt=&#34;DOI&#34;&gt;&lt;/a&gt;&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
