Solutions document: Stata version

Question 1

This is the text for question 1, with its accompanying code

// Example code for the question
display 1 + 1
2

Text for the solution to question 1.

You can include additional code chunks if required.

// Additional code chunk for the solution
display "Hello, world!"
Hello, world!

Question 2

This is the text for question 2 …