Classwork 1
Markdown Basics
Introduction to Markdown
Markdown is a lightweight markup language with plain-text formatting syntax. Its main goal is to be readable and easy to write, even when viewed as plain text. Markdown is widely used for creating formatted text on the web and in various applications such as a Quarto document (.qmd) and a Jupyter Notebook (.ipynb).
Basic Syntax
Headings
Headings are created by adding one or more # symbols before your heading text. The number of # symbols indicates the level of the heading.
# Heading 1
## Heading 2
### Heading 3Emphasis
You can make text bold by wrapping it with two asterisks **, and italic by using one asterisk *.
*italic* or _italic_
**bold** or __bold__Lists
Unordered lists are created using *, -, or +, while ordered lists are numbered.
- Item 1
- Item 2
- Subitem 2.1
- Subitem 2.21. First item
2. Second itemLinks
Links are created using [Link Text](URL)
[DANL 320](https://bcdanl.github.io/320)Images
Images are created using .
Advanced Syntax
Blockquote
> Be yourself. Everyone else is already taken. - Oscar Wilde.Emojis
- A ton of markdown emojis are available here π (
:smile:)
Code Blocks
Code blocks are created by using triple backticks (```). Optionally, you can specify the language for syntax highlighting.
```
"string"
``````r
# R code block
library(tidyverse)
install.pacakges("stargazer") # for well-formatted tables
```Practice Problems
- Do the following tasks on this Classwork 1 Discussion Board:
Question 1. Life Expectancy and Income
| Dependent variable: | |
| lifeExp | |
| gdpPercap | 0.00076*** |
| (0.00003) | |
| Constant | 53.95556*** |
| (0.31499) | |
| Observations | 1,704 |
| R2 | 0.34071 |
| Adjusted R2 | 0.34033 |
| Residual Std. Error | 10.49132 (df = 1702) |
| F Statistic | 879.57660*** (df = 1; 1702) |
| Note: | p<0.1; p<0.05; p<0.01 |
- Headline + Subheadline
- Use a level 1 heading for a strong title.
- Add a short 1β2 sentence intro paragraph, summarizing insights
- Interpret the number 0.00076\(^{***}\) in the table.
- Make one phrase bold in one bullet.
- Make one phrase italic in one bullet.
Question 2. Life Expectancy and Income Across Continents
| Dependent variable: | |
| lifeExp | |
| gdpPercap | 0.00138*** |
| (0.00012) | |
| continentAmericas | 12.99339*** |
| (0.81694) | |
| continentAsia | 11.67040*** |
| (0.62524) | |
| continentEurope | 19.49822*** |
| (0.89242) | |
| continentOceania | 17.85069*** |
| (5.25913) | |
| gdpPercap:continentAmericas | -0.00056*** |
| (0.00014) | |
| gdpPercap:continentAsia | -0.00105*** |
| (0.00012) | |
| gdpPercap:continentEurope | -0.00092*** |
| (0.00012) | |
| gdpPercap:continentOceania | -0.00081*** |
| (0.00029) | |
| Constant | 45.84427*** |
| (0.41271) | |
| Observations | 1,704 |
| R2 | 0.60466 |
| Adjusted R2 | 0.60256 |
| Residual Std. Error | 8.14335 (df = 1694) |
| F Statistic | 287.87570*** (df = 9; 1694) |
| Note: | p<0.1; p<0.05; p<0.01 |
- Include 2 bullet points summarizing insights.
References
Discussion
Welcome to our Classwork 1 Discussion Board! π
This space is designed for you to engage with your classmates about the material covered in Classwork 1.
Whether you are looking to delve deeper into the content, share insights, or have questions about the content, this is the perfect place for you.
If you have any specific questions for Byeong-Hak (@bcdanl) regarding the Classwork 1 materials or need clarification on any points, donβt hesitate to ask here.
All comments will be stored here.
Letβs collaborate and learn from each other!