Workload
There will be one homework assignment per week, with some exceptions. An assignment is designed to take 10 hours or less. The early coding assignments may take more time for those not used to programming. Please let the instructor know if your are spending significantly more time than this.
Collaboration and cheating policy
The academic integrity policy of the Mathematics in Finance program applies to this class. Students may interact freely while doing assingments. This includes discussion of specific exercises and solution methods. But students must prepare solutions independently. Sharing of writeups, copying another student's work, or allowing your work to be copied are not allowed. Downloading of solutions from the web or uploading solutions to the web are not allowed. Code sharing is not allowed. Students may use code templates posted on this page but must create all other code themselves. To summarize: when preparing material to hand in, neither a borrower nor a lender be.
What to hand in
Please hand hardcopy of everything asked for. Do not email work to the instructor or the grader, unless you have received explicit permission to do so. Include printouts of your code, output, and plots. Please make the writeing easy to read -- do not cram, use pen and reasonable handwriting (typing is not necessary but allowed.), have some consideration for the aging professor with problem vision.
Coding standards
There are professional standards of coding that students should adhere to. Points may be added for good programming style and/or output clarity. Points may be deducted for poor programming or unclear output.
- Everything should be scripted rather than done by hand. This includes drawing and labeling plots. Scripts call other scripts to avoid code duplication. This allows you to adjust experiments and fix mistakes easily at any stage of the work. It also allows you to hand in exactly what you wound up doing (after bugs corrected).
- Plots should be drawn with careful sizing, labeled axes, legends, and titles with information about the data. The plot should explain itself so you don't have to remember. The same goes for printed output. If you want to compare two curves, put them in the same plot. A .pdf file generally has better resolution than a .png or .jpeg, and is clearer when printed.
- Code should be easy to read. This means: lots of informative comments (e.g., not ... x = y # set x equal to y). You should have a definite set of naming conventions (caps or underscores to separate words, as in max_val or MaxVal or maxVal, not just maxval), consistent indention and curley brace rules (always two spaces, always 3 spaces, curley on the same line, curley on the next line, whatever), white space for allignment as you see fit (the templates have lots of that, you can decide what you think is most clear for you), white space (blank lines) between blocks of code. Whatever your conventions are, stick to them. Feel free to edit the template code to fit your preferred style conventions.
Assignments
Assignment | R files | Due date |
---|---|---|
assignment0.pdf |
IntersectingCurves.R IntersectingCurvesPlot.R IntersectingCurvesPlot.pdf |
Sept. 10 First class |
assignment1.pdf LaTeX source: assignment1.tex edited and re-posted 9/11 |
none | Sept. 17 |
assignment2.pdf LaTeX source: assignment2.tex edited and re-posted 9/11 |
Assignment2.R Assignment2Start.pdf |
Sept. 24 |
assignment3.pdf LaTeX source: assignment3.tex edited and re-posted 9/29 |
Assignment3.R Assignment3Start.pdf coding.pdf |
Oct. 1 |
assignment4.pdf LaTeX source: assignment4.tex edited and re-posted 10/3 |
coding.pdf | Oct. 8 |
assignment5.pdf LaTeX source: assignment5.tex |
no coding this week | Oct. 29 |
assignment6.pdf LaTeX source: assignment6.tex |
no coding this week | Nov. 12 (late OK) |
assignment7.pdf LaTeX source: assignment7.tex |
Dec 10 | |
SampleFinal.pdf LaTeX source: SampleFinal.tex |
-- |