Reference
Git stuff
Add, commit, and publish the folder to the github repo
- git add .
- git commit -m “comment”
- git push origin main
Set the location of the github repo
- git remote set-url origin url
- git remote -v
- git remote show origin
Here are some quarto commands:
- quarto publish gh-pages
- quarto publish gh-pages document.qmd
- quarto publish gh-pages - -no-prompt
- quarto render .qmd - -to pdf
Reading list
Extra Reading
Module 1
- Categorical Data Analysis, Sections 1.1, 1.2
- Statistical Methods, Section 12.1
- OpenIntro Statistics, Section 6.1
- R for Data Science, Look over Chapters 1, 2, and 3
Module 2
- Categorical Data Analysis, Sections 1.2, 1.3.
- Statistical Methods, Section 12.2-12.4.
- OpenIntro Statistics, Section 6.2-6.4
- R for Data Science (Lab references Chapter 22)
Module 3
- Categorical Data Analysis, Sections 4.1, 4.2 (through 4.2.5); 5.1-5.3 (through 5.3.6). Please note: content not in lectures.
- Statistical Methods, Sections 13.1-13.2.
- OpenIntro Statistics, Section 8.4. and Section 9.5
Module 4
- Categorical Data Analysis, Sections 4.7, 6.2
Module 5
- Categorical Data Analysis, Sections 4.3, 9.1 (through 9.1.3; some of the notation here may be difficult, but it is equivalent to using indicator functions to denote different categories).
Module 6
- An Application of Claim Frequency Data using Zero Inflated and Hurdle Models in General Insurance
Module 7
- Categorical Data Analysis, Chapter 13, through Section 13.1.4; Section 13.3. Please note: models are given in matrix notation.
Module 8
- Categorical Data Analysis, Chapter 6, 6.3.1, 6.3.3 and 6.3.4
- OpenIntro Statistics, Section 8.4
Website
This is from the github repo creation page
Push an existing repository from the command line:
- git remote add origin url
- git branch -M main
- git push -u origin main
Setting up the website:
- Create a new git repository
- Create a quarto project website
- Render the project
- Add _site & .quarto to the .gitignore file
- git remote add origin
- git branch -M main
- git add .
- git commit
- git push
- refresh github.com/name
- view all branches -> New -> “gh-pages”
- settings -> pages -> deploy from gh-pages
- quarto publish gh-pages
It should work ever after by just typing quarto publish gh-pages. There may be a need to get a personal access token at the start. I did that my first go around so I’m not sure. Sometimes the site doesn’t render immediately. You have to wait for it to finish in the actions tab of github.