Skip to content

Commit

Permalink
Signed-off-by: Silvio Fanzon <[email protected]>
Browse files Browse the repository at this point in the history
  • Loading branch information
sfanzon committed Jan 4, 2024
1 parent 7380ada commit 5432b63
Show file tree
Hide file tree
Showing 16 changed files with 284 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .quarto/idx/index.qmd.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .quarto/idx/slides/lecture_1.qmd.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .quarto/xref/502e9f9a
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[],"headings":["lecture-1-an-introduction-to-statistics","outline-of-lecture-1","contact-details","references","overview-of-the-module---part-i"]}
{"entries":[{"key":"thm-line","caption":"Line","order":{"number":1,"section":[1,7,1,0,0,0,0]}}],"headings":["lecture-1-an-introduction-to-statistics","outline-of-lecture-1","contact-details","references","main-textbooks","references-1","secondary-references","overview-of-the-module","overview-of-the-module-1","part-i---mathematical-statistics","overview-of-the-module-2","part-ii","line","references-2"]}
2 changes: 1 addition & 1 deletion .quarto/xref/c55cc640
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[],"headings":["license","reuse","citation"]}
{"headings":["license","reuse","citation"],"entries":[]}
2 changes: 2 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ website:
contents:
- href: slides/lecture_1.qmd
text: Lecture 1
- href: slides/lecture_2.qmd
text: Lecture 2
- href: license.qmd
text: License
page-footer:
Expand Down
22 changes: 14 additions & 8 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@
<a href="./slides/lecture_1.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Lecture 1</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./slides/lecture_2.qmd" class="sidebar-item-text sidebar-link">
<span class="menu-text">Lecture 2</span></a>
</div>
</li>
</ul>
</li>
Expand Down Expand Up @@ -216,16 +222,16 @@ <h1>Welcome</h1>
</div>
<p>and on the <strong>Course Webpage</strong> hosted on my website</p>
<div style="text-align: center;">
<p><strong><a href="https://www.silviofanzon.com/blog/2023/Statistical-Models/">silviofanzon.com/blog/2023/Statistical-Models/</a></strong></p>
<p><strong><a href="https://www.silviofanzon.com/blog/2023/Statistical-Models/">silviofanzon.com/blog/2024/Statistical-Models/</a></strong></p>
</div>
</section>
<section id="slides" class="level1">
<h1>Slides</h1>
<p>There are 11 lectures in this module. Topics and links to the slides can be found below.</p>
<p>There are 11 lectures in this module. Topics and links to the slides are below.</p>
<table class="table">
<colgroup>
<col style="width: 20%">
<col style="width: 80%">
<col style="width: 25%">
<col style="width: 75%">
</colgroup>
<thead>
<tr class="header">
Expand All @@ -247,12 +253,12 @@ <h1>Slides</h1>
</section>
<section id="readings" class="level1">
<h1>Readings</h1>
<p><strong>Main textbooks</strong>:</p>
<p><strong>Main textbooks</strong>: These lecture slides are self-contained and based on</p>
<ul>
<li>Statistics theory: The book by Bingham and Fry <span class="citation" data-cites="bingham-fry">[<a href="#ref-bingham-fry" role="doc-biblioref">1</a>]</span></li>
<li>Statistics in R: The book by Fry and Burke <span class="citation" data-cites="fry-burke">[<a href="#ref-fry-burke" role="doc-biblioref">2</a>]</span></li>
</ul>
<p><strong>Reference books</strong>:</p>
<p><strong>Reference books</strong>: In addition we reccommend the following</p>
<ul>
<li>Probability &amp; Statistics: The book by Casella and Berger <span class="citation" data-cites="casella-berger">[<a href="#ref-casella-berger" role="doc-biblioref">3</a>]</span></li>
<li>Manual of R: The book by Dalgaard <span class="citation" data-cites="dalgaard">[<a href="#ref-dalgaard" role="doc-biblioref">4</a>]</span></li>
Expand All @@ -264,10 +270,10 @@ <h1>Readings</h1>

<div id="quarto-appendix" class="default"><section class="quarto-appendix-contents" role="doc-bibliography"><h2 class="anchored quarto-appendix-heading">References</h2><div id="refs" class="references csl-bib-body" role="list">
<div id="ref-bingham-fry" class="csl-entry" role="listitem">
<div class="csl-left-margin">[1] </div><div class="csl-right-inline">Bingham, Nicholas H., Fry, John, Regression, linear models in statistics, Springer, 2010.</div>
<div class="csl-left-margin">[1] </div><div class="csl-right-inline">Bingham, Nicholas H., Fry, John M., Regression, linear models in statistics, Springer, 2010.</div>
</div>
<div id="ref-fry-burke" class="csl-entry" role="listitem">
<div class="csl-left-margin">[2] </div><div class="csl-right-inline">Fry, John, Burke, Matt, Quantitative methods in finance using <span>R</span>, Open University Press, 2022.</div>
<div class="csl-left-margin">[2] </div><div class="csl-right-inline">Fry, John M., Burke, Matt, Quantitative methods in finance using <span>R</span>, Open University Press, 2022.</div>
</div>
<div id="ref-casella-berger" class="csl-entry" role="listitem">
<div class="csl-left-margin">[3] </div><div class="csl-right-inline">Casella, George, Berger, Roger L., Statistical inference, second edition, Brooks/Cole, 2002.</div>
Expand Down
6 changes: 6 additions & 0 deletions docs/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@
<a href="./slides/lecture_1.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Lecture 1</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./slides/lecture_2.qmd" class="sidebar-item-text sidebar-link">
<span class="menu-text">Lecture 2</span></a>
</div>
</li>
</ul>
</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"href": "index.html",
"title": "Statistical Models",
"section": "",
"text": "Welcome\nThese are the Slides of the module Statistical Models 551305 for T2 2023/24 at the University of Hull. If you have any question or find any typo, please email me at\n\[email protected]\n\nUp to date information about the module will be published on the University of Hull Canvas Website\n\ncanvas.hull.ac.uk/courses/70065\n\nand on the Course Webpage hosted on my website\n\nsilviofanzon.com/blog/2023/Statistical-Models/\n\n\n\nSlides\nThere are 11 lectures in this module. Topics and links to the slides can be found below.\n\n\n\n\n\n\n\nSlides\nTitle\n\n\n\n\nLecture 1\nAn introduction to Statistics\n\n\nLecture 2\nTBA\n\n\n\n\n\nReadings\nMain textbooks:\n\nStatistics theory: The book by Bingham and Fry [1]\nStatistics in R: The book by Fry and Burke [2]\n\nReference books:\n\nProbability & Statistics: The book by Casella and Berger [3]\nManual of R: The book by Dalgaard [4]\n\n\n\n\n\n\nReferences\n\n[1] Bingham, Nicholas H., Fry, John, Regression, linear models in statistics, Springer, 2010.\n\n\n[2] Fry, John, Burke, Matt, Quantitative methods in finance using R, Open University Press, 2022.\n\n\n[3] Casella, George, Berger, Roger L., Statistical inference, second edition, Brooks/Cole, 2002.\n\n\n[4] Dalgaard, Peter, Introductory statistics with R, Second Edition, Springer, 2008."
"text": "Welcome\nThese are the Slides of the module Statistical Models 551305 for T2 2023/24 at the University of Hull. If you have any question or find any typo, please email me at\n\[email protected]\n\nUp to date information about the module will be published on the University of Hull Canvas Website\n\ncanvas.hull.ac.uk/courses/70065\n\nand on the Course Webpage hosted on my website\n\nsilviofanzon.com/blog/2024/Statistical-Models/\n\n\n\nSlides\nThere are 11 lectures in this module. Topics and links to the slides are below.\n\n\n\n\n\n\n\nSlides\nTitle\n\n\n\n\nLecture 1\nAn introduction to Statistics\n\n\nLecture 2\nTBA\n\n\n\n\n\nReadings\nMain textbooks: These lecture slides are self-contained and based on\n\nStatistics theory: The book by Bingham and Fry [1]\nStatistics in R: The book by Fry and Burke [2]\n\nReference books: In addition we reccommend the following\n\nProbability & Statistics: The book by Casella and Berger [3]\nManual of R: The book by Dalgaard [4]\n\n\n\n\n\n\nReferences\n\n[1] Bingham, Nicholas H., Fry, John M., Regression, linear models in statistics, Springer, 2010.\n\n\n[2] Fry, John M., Burke, Matt, Quantitative methods in finance using R, Open University Press, 2022.\n\n\n[3] Casella, George, Berger, Roger L., Statistical inference, second edition, Brooks/Cole, 2002.\n\n\n[4] Dalgaard, Peter, Introductory statistics with R, Second Edition, Springer, 2008."
}
]
2 changes: 1 addition & 1 deletion docs/site_libs/revealjs/dist/theme/quarto.css

Large diffs are not rendered by default.

127 changes: 111 additions & 16 deletions docs/slides/lecture_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,26 @@
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
vertical-align: middle;
}
</style>
/* CSS for citations */
div.csl-bib-body { }
div.csl-entry {
clear: both;
}
.hanging-indent div.csl-entry {
margin-left:2em;
text-indent:-2em;
}
div.csl-left-margin {
min-width:2em;
float:left;
}
div.csl-right-inline {
margin-left:2em;
padding-left:1em;
}
div.csl-indent {
margin-left: 2em;
} </style>
<link rel="stylesheet" href="../site_libs/revealjs/dist/theme/quarto.css">
<link href="../site_libs/revealjs/plugin/quarto-line-highlight/line-highlight.css" rel="stylesheet">
<link href="../site_libs/revealjs/plugin/reveal-menu/menu.css" rel="stylesheet">
Expand Down Expand Up @@ -373,36 +392,112 @@ <h2>Outline of Lecture 1</h2>
<section id="contact-details" class="slide level2">
<h2>Contact details</h2>
<ul>
<li>Lecturer: Dr.&nbsp;Silvio Fanzon. Call me:
<li><strong>Lecturer:</strong> Dr.&nbsp;Silvio Fanzon</li>
<li><strong>Call me:</strong>
<ul>
<li>Silvio</li>
<li>Dr Fanzon</li>
<li>Dr.&nbsp;Fanzon</li>
</ul></li>
<li>Email: [email protected]</li>
<li>Office: Room 104a, Larkin Building</li>
<li>Office hours: Wednesday 12:00-13:00</li>
<li>Meetings in my office or send me an Email</li>
<li><strong>Email:</strong> [email protected]</li>
<li><strong>Office:</strong> Room 104a, Larkin Building</li>
<li><strong>Office hours:</strong> Wednesday 12:00-13:00</li>
<li><strong>Meetings</strong>: in my office or send me an Email</li>
</ul>
</section>
<section id="references" class="slide level2">
<h2>References</h2>
<p>Lecture notes are self-contained and based on books</p>
<h3 id="main-textbooks">Main textbooks</h3>
<p>These lecture notes are self-contained and based on books</p>
<ul>
<li><p><span class="citation" data-cites="bingham-fry">[<a href="#/references-2" role="doc-biblioref" onclick="">1</a>]</span> Bingham, N. H. and Fry, J. M. (2010) <br> <em>Regression: Linear models in statistics.</em> <br> Springer Undergraduate Mathematics Series</p></li>
<li><p><span class="citation" data-cites="fry-burke">[<a href="#/references-2" role="doc-biblioref" onclick="">2</a>]</span> Fry, J. M. and Burke, M. (2022) <br><em>Quantitative methods in finance using R.</em> <br>Open University Press</p></li>
</ul>
</section>
<section id="references-1" class="slide level2">
<h2>References</h2>
<h3 id="secondary-references">Secondary References</h3>
<div class="column" style="width:65%;">
<ul>
<li><p>Bingham, N. H. and Fry, J. M. (2010) <br> <em>Regression: Linear models in statistics.</em> <br> Springer Undergraduate Mathematics Series</p></li>
<li><p>Fry, J. M. and Burke, M. (2022) <br><em>Quantitative methods in finance using R.</em> <br>Open University Press</p></li>
<li><p><span class="citation" data-cites="casella-berger">[<a href="#/references-2" role="doc-biblioref" onclick="">3</a>]</span> Casella, G. and Berger R. L. (2002)<br> <em>Statistical inference.</em> <br> Second Edition, Brooks/Cole</p></li>
<li><p><span class="citation" data-cites="dalgaard">[<a href="#/references-2" role="doc-biblioref" onclick="">4</a>]</span> Dalgaard, P. (2008) <br> <em>Introductory statistics with R.</em> <br> Second Edition, Springer<br>
</p></li>
</ul>
<p>Other References</p>
</div>
<div class="column" style="width:30%;">
<p><strong>Probability and statistics manual</strong></p>
<p><br></p>
<p><strong>R manual</strong></p>
</div>
</section>
<section id="overview-of-the-module" class="slide level2">
<h2>Overview of the module</h2>
<p>Module comprises two parts:</p>
<ul>
<li><p>ac</p></li>
<li><p>ad</p></li>
<li><p><strong>Part I</strong> Mathematical statistics</p></li>
<li><p><strong>Parti II</strong> Applied statistics</p></li>
</ul>
</section>
<section id="overview-of-the-module---part-i" class="slide level2">
<h2>Overview of the module - Part I</h2>
<section id="overview-of-the-module-1" class="slide level2">
<h2>Overview of the module</h2>
<h3 id="part-i---mathematical-statistics">Part I - Mathematical statistics</h3>
<p>With a continuous probability density function <span class="math inline">\(f(\cdot)\)</span> the mean and variance can be calculated as</p>
<p><span class="math display">\[\begin{gather*}
\mbox{Mean}=E[X]=\int_{-\infty}^{\infty}x \, f(x)dx \\
a_1=b_1+c_1\\
a_2=b_2+c_2-d_2+e_2
\end{gather*}\]</span> <span class="math display">\[
E[X^2]=\int_{-\infty}^{\infty}x^2f(x)dx
\]</span> <span class="math display">\[
\mbox{Variance}=E[X^2]-(E[X])^2
\]</span></p>
</section>
<section id="overview-of-the-module-2" class="slide level2">
<h2>Overview of the module</h2>
<h3 id="part-ii">Part II</h3>
<p><span class="alert">important note</span></p>
<div id="thm-line" class="theorem">
<p><span class="theorem-title"><strong>Theorem 1 (Line) </strong></span>The equation of any straight line, called a linear equation, can be written as:</p>
<p><span class="math display">\[
y = mx + b
\]</span></p>
</div>
<div class="callout callout-note callout-titled callout-style-default">
<div class="callout-body">
<div class="callout-title">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<p><strong>Note</strong></p>
</div>
<div class="callout-content">
<p>Note that there are five types of callouts, including: <code>note</code>, <code>warning</code>, <code>important</code>, <code>tip</code>, and <code>caution</code>.</p>
</div>
</div>
</div>
<div class="proof">
<p><span class="proof-title"><em>Proof</em>. </span>The solution.</p>
</div>
</section>
<section id="references-2" class="slide level2 smaller scrollable">
<h2>References</h2>

<div class="footer footer-default">
<p><a href="../index.html">Homepage</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="../license.html">License</a> &nbsp;&nbsp;&nbsp;&nbsp; <a href="https://www.silviofanzon.com/contact">Contact</a></p>
</div>
<div id="refs" class="references csl-bib-body" role="list">
<div id="ref-bingham-fry" class="csl-entry" role="listitem">
<div class="csl-left-margin">[1] </div><div class="csl-right-inline">Bingham, Nicholas H., Fry, John M., Regression, linear models in statistics, Springer, 2010.</div>
</div>
<div id="ref-fry-burke" class="csl-entry" role="listitem">
<div class="csl-left-margin">[2] </div><div class="csl-right-inline">Fry, John M., Burke, Matt, Quantitative methods in finance using <span>R</span>, Open University Press, 2022.</div>
</div>
<div id="ref-casella-berger" class="csl-entry" role="listitem">
<div class="csl-left-margin">[3] </div><div class="csl-right-inline">Casella, George, Berger, Roger L., Statistical inference, second edition, Brooks/Cole, 2002.</div>
</div>
<div id="ref-dalgaard" class="csl-entry" role="listitem">
<div class="csl-left-margin">[4] </div><div class="csl-right-inline">Dalgaard, Peter, Introductory statistics with <span>R</span>, Second Edition, Springer, 2008.</div>
</div>
</div>
</section></section>
</div>
</div>
Expand Down Expand Up @@ -561,7 +656,7 @@ <h2>Overview of the module - Part I</h2>
previewLinks: false,

// Transition style (none/fade/slide/convex/concave/zoom)
transition: 'slide',
transition: 'none',

// Transition speed (default/fast/slow)
transitionSpeed: 'default',
Expand Down
11 changes: 6 additions & 5 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ and on the **Course Webpage** hosted on my website

::: {.content-visible when-format="html"}
<div style="text-align: center;">
**[silviofanzon.com/blog/2023/Statistical-Models/](https://www.silviofanzon.com/blog/2023/Statistical-Models/)**
**[silviofanzon.com/blog/2024/Statistical-Models/](https://www.silviofanzon.com/blog/2023/Statistical-Models/)**
</div>
:::

Expand All @@ -64,27 +64,28 @@ and on the **Course Webpage** hosted on my website
# Slides


There are 11 lectures in this module. Topics and links to the slides can be found below.
There are 11 lectures in this module. Topics and links to the slides are below.


| **Slides** | **Title** |
|:------ |:------ |
| <a href="slides/lecture_1.qmd">Lecture 1</a> | An introduction to Statistics |
| <a href="slides/lecture_2.qmd">Lecture 2</a> | TBA |
: {tbl-colwidths="[20,80]"}
: {tbl-colwidths="[25,75]"}





# Readings

**Main textbooks**:
**Main textbooks**: These lecture slides are self-contained and based on

- Statistics theory: The book by Bingham and Fry [@bingham-fry]
- Statistics in R: The book by Fry and Burke [@fry-burke]

**Reference books**:
**Reference books**: In addition we reccommend the following


- Probability & Statistics: The book by Casella and Berger [@casella-berger]
- Manual of R: The book by Dalgaard [@dalgaard]
Expand Down
2 changes: 1 addition & 1 deletion slides/_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ format:
toc: false
number-sections: false
slide-number: true
transition: slide
transition: none
touch: true
keyboard: true

Expand Down
45 changes: 41 additions & 4 deletions slides/custom-theme-slides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,59 @@
$link-color: #cc0164;
$link-decoration: none;
$presentation-heading-color: #cc0164;
$right-arrow: "\2192"; // Unicode character for right arrow


$right-arrow: "\2192"; // Unicode character for right arrow
/*-- scss:rules --*/


//.reveal a {
//line-height: 1em;
//}

.reveal p {
// font-weight: 300;
font-weight: lighter;
margin-top: 0.6em;
}

/*-- scss:rules --*/

// Headers

.reveal h2 {
// font-weight: 350;
//font-weight: lighter;
font-size: 1.4em;
}

.reveal h3 {
color: black;
//font-style: italic;
// font-weight: 350;
//font-weight: lighter;
font-size: 0.95em;
}

.reveal h4 {
color: black;
// font-weight: 350;
font-weight: normal;
margin-top: 1.25em;
}

// Title slide

#title-slide {

.title {
font-size: 2.1em;
font-size: 2.5em;
// font-weight: 350;
font-weight: lighter;
}

.subtitle {
color: black;
font-size: 1.2em;
font-size: 1.8em;
margin-top: 0.5em;
font-weight: lighter;
}
Expand Down Expand Up @@ -60,6 +90,13 @@ $right-arrow: "\2192"; // Unicode character for right arrow
}


// alert

.alert {
color: var(--col, #cc0164);
}


// Slide number

.slide-number {
Expand Down
Loading

0 comments on commit 5432b63

Please sign in to comment.