Skip to content

Commit

Permalink
build based on 528e606
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jan 22, 2024
1 parent 6046d19 commit 471fbac
Show file tree
Hide file tree
Showing 8 changed files with 615 additions and 666 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.9.4","generation_timestamp":"2023-12-05T17:41:54","documenter_version":"1.2.1"}}
{"documenter":{"julia_version":"1.9.4","generation_timestamp":"2024-01-22T12:25:47","documenter_version":"1.2.1"}}
24 changes: 12 additions & 12 deletions dev/api/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/example1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
│ (name = :Alice, department = :HR) │ 1.00 │ 1.00 │ 0.00 │ [0.0] │ ⋯
└───────────────────────────────────┴───────┴───────┴──────────────┴────────┴───
<span class="sgr36"> 7 columns omitted
</span></span></code></pre><h2 id="Compute-Retrieval-Time"><a class="docs-heading-anchor" href="#Compute-Retrieval-Time">Compute Retrieval Time</a><a id="Compute-Retrieval-Time-1"></a><a class="docs-heading-anchor-permalink" href="#Compute-Retrieval-Time" title="Permalink"></a></h2><p>Retrieval time is computed by passing the ACT-R model object and the retried vector to the function <code>compute_RT</code>. If the vector <code>chunk</code> is empty, the retrieval failure time will be based on the retrieval threshold, <code>τ</code>.</p><pre><code class="language-julia hljs">rt = compute_RT(actr, chunk)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">1.4156841175710067</code></pre><h1 id="References"><a class="docs-heading-anchor" href="#References">References</a><a id="References-1"></a><a class="docs-heading-anchor-permalink" href="#References" title="Permalink"></a></h1><p>Anderson, J. R., Bothell, D., Byrne, M. D., Douglass, S., Lebiere, C., &amp; Qin, Y. (2004). An integrated theory of the mind. Psychological review, 111(4), 1036.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« home</a><a class="docs-footer-nextpage" href="../example2/">example 2 »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Tuesday 5 December 2023 17:41">Tuesday 5 December 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
</span></span></code></pre><h2 id="Compute-Retrieval-Time"><a class="docs-heading-anchor" href="#Compute-Retrieval-Time">Compute Retrieval Time</a><a id="Compute-Retrieval-Time-1"></a><a class="docs-heading-anchor-permalink" href="#Compute-Retrieval-Time" title="Permalink"></a></h2><p>Retrieval time is computed by passing the ACT-R model object and the retried vector to the function <code>compute_RT</code>. If the vector <code>chunk</code> is empty, the retrieval failure time will be based on the retrieval threshold, <code>τ</code>.</p><pre><code class="language-julia hljs">rt = compute_RT(actr, chunk)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">1.4156841175710067</code></pre><h1 id="References"><a class="docs-heading-anchor" href="#References">References</a><a id="References-1"></a><a class="docs-heading-anchor-permalink" href="#References" title="Permalink"></a></h1><p>Anderson, J. R., Bothell, D., Byrne, M. D., Douglass, S., Lebiere, C., &amp; Qin, Y. (2004). An integrated theory of the mind. Psychological review, 111(4), 1036.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« home</a><a class="docs-footer-nextpage" href="../example2/">example 2 »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Monday 22 January 2024 12:25">Monday 22 January 2024</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
285 changes: 117 additions & 168 deletions dev/example2/44487238.svg → dev/example2/779a57c0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dev/example2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
└───────────┴──────────────────────────────────────────┘
</span></code></pre><h3 id="Compute-Log-Likelihood-2"><a class="docs-heading-anchor" href="#Compute-Log-Likelihood-2">Compute Log Likelihood</a><a class="docs-heading-anchor-permalink" href="#Compute-Log-Likelihood-2" title="Permalink"></a></h3><p>Finally, we can use <code>logpdf</code> to compute the log likelihood of the retrieved chunk:</p><pre><code class="language-julia hljs"># log pdf of retrieval time
logpdf(dist, chunk_idx, rt)</code></pre><pre class="documenter-example-output"><code class="nohighlight hljs ansi">0.12250738399636082</code></pre><h3 id="PDF-Overlay"><a class="docs-heading-anchor" href="#PDF-Overlay">PDF Overlay</a><a id="PDF-Overlay-1"></a><a class="docs-heading-anchor-permalink" href="#PDF-Overlay" title="Permalink"></a></h3><p>One way to verify the likelihood function works is to overlay the PDF on a histogram of simulated data (both based on the same parameters). As expected, the orange line, which represents the PDF, fits the grey histogram well.</p><pre><code class="language-julia hljs">histogram(dist; xlims=(0,2.5))
plot!(dist; t_range=range(0, 2.5, length=100))</code></pre><img src="44487238.svg" alt="Example block output"/><h1 id="References"><a class="docs-heading-anchor" href="#References">References</a><a id="References-1"></a><a class="docs-heading-anchor-permalink" href="#References" title="Permalink"></a></h1><p>Fisher, C. R., Houpt, J. W., &amp; Gunzelmann, G. (2022). Fundamental tools for developing likelihood functions within ACT-R. Journal of Mathematical Psychology, 107, 102636.</p><p>Rouder, J. N., Province, J. M., Morey, R. D., Gomez, P., &amp; Heathcote, A. (2015). The lognormal race: A cognitive-process model of choice and latency with desirable psychometric properties. Psychometrika, 80, 491-513.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../example1/">« example 1</a><a class="docs-footer-nextpage" href="../example3/">example 3 »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Tuesday 5 December 2023 17:41">Tuesday 5 December 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
plot!(dist; t_range=range(0, 2.5, length=100))</code></pre><img src="779a57c0.svg" alt="Example block output"/><h1 id="References"><a class="docs-heading-anchor" href="#References">References</a><a id="References-1"></a><a class="docs-heading-anchor-permalink" href="#References" title="Permalink"></a></h1><p>Fisher, C. R., Houpt, J. W., &amp; Gunzelmann, G. (2022). Fundamental tools for developing likelihood functions within ACT-R. Journal of Mathematical Psychology, 107, 102636.</p><p>Rouder, J. N., Province, J. M., Morey, R. D., Gomez, P., &amp; Heathcote, A. (2015). The lognormal race: A cognitive-process model of choice and latency with desirable psychometric properties. Psychometrika, 80, 491-513.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../example1/">« example 1</a><a class="docs-footer-nextpage" href="../example3/">example 3 »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Monday 22 January 2024 12:25">Monday 22 January 2024</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
962 changes: 481 additions & 481 deletions dev/example3/a97d8824.svg → dev/example3/9199ff9b.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dev/example3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
3.0423003313083212
3.0068536237380363</code></pre><h2 id="Plot-Results"><a class="docs-heading-anchor" href="#Plot-Results">Plot Results</a><a id="Plot-Results-1"></a><a class="docs-heading-anchor-permalink" href="#Plot-Results" title="Permalink"></a></h2><p>The distribution of blended values for each option is plotted below.</p><pre><code class="language-julia hljs">histogram(blended_values1, norm=true, xlabel=&quot;Blended Values&quot;, ylabel=&quot;Density&quot;, label=&quot;Option 1&quot;, alpha=.75)
histogram!(blended_values2, norm=true, xlabel=&quot;Blended Values&quot;, ylabel=&quot;Density&quot;, label=&quot;Option 2&quot;, alpha=.75)
histogram!(blended_values3, norm=true, xlabel=&quot;Blended Values&quot;, ylabel=&quot;Density&quot;, label=&quot;Option 3&quot;, alpha=.75)</code></pre><img src="a97d8824.svg" alt="Example block output"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../example2/">« example 2</a><a class="docs-footer-nextpage" href="../api/">api »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Tuesday 5 December 2023 17:41">Tuesday 5 December 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
histogram!(blended_values3, norm=true, xlabel=&quot;Blended Values&quot;, ylabel=&quot;Density&quot;, label=&quot;Option 3&quot;, alpha=.75)</code></pre><img src="9199ff9b.svg" alt="Example block output"/></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../example2/">« example 2</a><a class="docs-footer-nextpage" href="../api/">api »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Monday 22 January 2024 12:25">Monday 22 January 2024</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
│ (name = :Bonkers, animal = :rat) │ 1.00 │ 1.00 │ 0.00 │ [0.0] │ ⋯
└──────────────────────────────────┴───────┴───────┴──────────────┴────────┴────
<span class="sgr36"> 7 columns omitted
</span></span></code></pre><h1 id="References"><a class="docs-heading-anchor" href="#References">References</a><a id="References-1"></a><a class="docs-heading-anchor-permalink" href="#References" title="Permalink"></a></h1><p>Anderson, J. R., Bothell, D., Byrne, M. D., Douglass, S., Lebiere, C., &amp; Qin, Y. (2004). An integrated theory of the mind. Psychological review, 111(4), 1036.</p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="example1/">example 1 »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Tuesday 5 December 2023 17:41">Tuesday 5 December 2023</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
</span></span></code></pre><h1 id="References"><a class="docs-heading-anchor" href="#References">References</a><a id="References-1"></a><a class="docs-heading-anchor-permalink" href="#References" title="Permalink"></a></h1><p>Anderson, J. R., Bothell, D., Byrne, M. D., Douglass, S., Lebiere, C., &amp; Qin, Y. (2004). An integrated theory of the mind. Psychological review, 111(4), 1036.</p></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="example1/">example 1 »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Monday 22 January 2024 12:25">Monday 22 January 2024</span>. Using Julia version 1.9.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>

0 comments on commit 471fbac

Please sign in to comment.