1  Introduction

1.1 Structure of a thesis

You start with the frontmatter, usually including abstract acknowledgements and declaration of co-authorship. Then, you have a general Introduction where you introduce the main ideas of your thesis, and an overview of the context and background. In a PhD, typically, Chapters 2–4 would contain your own contributions. Think of each of these as potential papers to be submitted to journals. Finally, Chapter 5 provides some concluding remarks, discussion, ideas for future research, and so on. Appendixes can contain additional material that don’t fit into any chapters, but that you want to put on record. For example, additional tables, output, etc.

For a MSc thesis with only 1 manuscript, then the thesis will be composed of the frontmatter followed by the manuscript where each section of the manuscript (e.g. introduction, methods, …) is a chapter, and finished by the bibliography and appendices.

Front Matter (index.qmd file)

It should include:

  • an abstract (in both english and french)
  • An author declaration
  • Co-authorship statement listing the co-authors and detailling authors contributions for each chapter
  • Acknowledgements
  • Table of contents (automatically generated with Quarto)
  • List of Tables (automatically generated with Quarto)
  • List of Figures (automatically generated with Quarto)

General introduction

This is an overarching, unifying introduction to the dissertation as a whole. It must contain:

  1. Introduction
  2. Literature review
  3. Information enabling a trained researcher reading the chapter to develop sufficient understanding of the field to understand the theme and questions/hypotheses of the dissertation
  4. Dissertation theme and objectives or hypotheses to be tested

Manuscript Chapters

Each subsequent chapter, aside from the General Conclusion, comprises a single manuscript (published, submitted, or nearly submitted). Importantly, however, a single, consistent format must be used, and chapters must be presented in a logical progression.

  • You may include an introductory “Context” section for each chapter, to establish the overall flow within the thesis and to build a tie to previous chapters. If you have not included a Declaration of co-authorship in the frontmatter, this section should include an authorship statement to explain your role in the research, as well as the roles of any co-authors on the corresponding publication. Normally, it is expected that a PhD student will be the first author on any papers arising from their research.
  • Supporting information (SI) also refered to as Electronic Suplementary Material or Appendices, should be provided as Appendices to the thesis.
  • If the paper was a Communication or Report, you may have key details in the Supporting Information (SI). Any important elements in the SI, such as experimental details, should be integrated into the main body of the chapter. Less critical elements should be included at the end of the thesis as appendices.
  • In some cases, subsequent developments in the field may change the conclusions of one of your published chapters. This may be mentioned in a final “Subsequent Advances” section following the conclusion of the chapter. This should be discussed with your supervisor.
  • Not every paper you’ve published has to be included. If your contribution to a paper was minor (and you are not the first author), omit it. Talk to your supervisor about what you will include.

General Conclusion

This is a significant part of a manuscript-based dissertation. It is NOT simply a summary of the manuscript chapters. It must include:

  1. A full analysis of the findings in the various chapters in light of current research in the field
  2. Discussion of the overall significance and contribution of the research to the field of study
  3. Discussion and conclusions relating the chapters to each other and the overall field
  4. Comments on strengths and weaknesses of the dissertation research
  5. Evaluation of current knowledge and proposals for new ideas related to the field of study
  6. Presentation of the status of relevant working hypotheses
  7. Discussion of any potential applications of the research findings

1.2 Quarto

In this template, the rest of the chapter shows how to use quarto. The big advantage of using quarto is that it allows you to include your R or Python code directly into your thesis, to ensure there are no errors in copying and pasting, and that everything is reproducible. It also helps you stay better organized.

For details on using Quarto, see http://quarto.org.

1.3 Data

Included in this template is a file called sales.csv. This contains quarterly data on Sales and Advertising budget for a small company over the period 1981–2005. It also contains the GDP (gross domestic product) over the same period. All series have been adjusted for inflation. We can load in this data set using the following code:

sales <- readr::read_csv("data/sales.csv") |>
  rename(Quarter = `...1`) |>
  mutate(
    Quarter = as.Date(paste0("01-", Quarter), "%d-%b-%y"),
    Quarter = yearquarter(Quarter)
  ) |>
  as_tsibble(index = Quarter)

Any data you use in your thesis can go into the data directory. The data should be in exactly the format you obtained it. Do no editing or manipulation of the data prior to including it in the data directory. Any data munging should be scripted and form part of your thesis files (possibly hidden in the output).

1.4 Figures

Figure 1.1 shows time plots of the data we just loaded. Notice how figure captions and references work. Chunk names can be used as figure labels with fig- prefixed. Never manually type figure numbers, as they can change when you add or delete figures. This way, the figure numbering is always correct.

Figure 1.1: Quarterly sales, advertising and GDP data.

1.5 Results from analyses

We can fit a regression model to the sales data.

If y_t denotes the sales in quarter t, x_t denotes the corresponding advertising budget and z_t denotes the GDP, then the resulting model is: y_t = \beta x_t + \gamma z_t + \varepsilon_t \tag{1.1} where \hat{\beta} = 1.85, and \hat{\gamma} = 1.04. We can reference this equation using Equation 1.1.

1.6 Tables

We can also make a nice summary table of the coefficients, as shown in Table 1.1

Again, when looking at the .qmd file notice the use of labels and references to automatically generate table numbers.

Table 1.1: Coefficients from the fitted model.
Coefficient Estimate P value
(Intercept) -438.977 0.019
GDP 1.037 0.021
AdBudget 1.852 0.000

Wide table (landscape page)

Her is how you can get a table on page with landscape orientation (Table 1.2). You need to put the table in a pandoc div (delimited by :::) indicating the side way rotation

here is an example for a table but it also works for figures just use sidewaysfigure instead of sidewaystable

Table 1.2: This is a wide table
num char fctr date time datetime currency
grp_a
row_1 0,11 apricot one jeu. 15/01/2015 13:35 Monday, January 1, 2018 49,95
row_2 2,22 banana two dim. 15/02/2015 14:40 Friday, February 2, 2018 17,95
row_3 33,33 coconut three dim. 15/03/2015 15:45 Saturday, March 3, 2018 1,39
row_4 444,40 durian four mer. 15/04/2015 16:50 Wednesday, April 4, 2018 65 100,00
grp_b
row_5 5 550,00 NA five ven. 15/05/2015 17:55 Saturday, May 5, 2018 1 325,81
row_6 NA fig six lun. 15/06/2015 NA Wednesday, June 6, 2018 13,26
row_7 777 000,00 grapefruit seven NA 19:10 Saturday, July 7, 2018 NA
row_8 8 880 000,00 honeydew eight sam. 15/08/2015 20:20 NA 0,44