Open bcahn7 opened 7 years ago
Hi,
Nice job on homework 6! You addressed all three tasks more than adequately. You frequently explored the functionality of packages and functions beyond what was expected, and clearly articulated your process. I especially like that the function you created allows the user to pick which regression type to run. Your homework is also very easy to follow. I like that you have included portions of the prompt and your own comments. This helps the viewer (me) understand your workflow. If the quality of your homework is any indication of your grasp on the material, it seems like you have a good handle on the subject matter.
Good work!
Peter
Hi @bcahn7,
Work with a list
Good job working through the Trump Android Tweets. You have comments and explanation throughout the code, which makes it easy to follow and understand. Application to finance is also well done. It shows your understanding of map()
functions.
Writing functions
It would be better if you can have legend labelled on the graph although I can refer back to your code to figure out which one is what method. The function is great! It takes mode and year as inputs and output the parameters after fitting regression. You incorporated three different fitting methods via if...else... statement. One small tip: you can also use I(lifeExp^2)
or poly(lifeExp, 2)
as arguments of lm()
to do the quadratic fit instead of mutating the data.
Work with Singer data Good attempts with this task. I am not sure what those warnings mean. But It is nice that you tried and explained what you did and your thoughts.
Overall, good work. You did three tasks, which is more than required. And your progress report is detailed and shows how you tackled the problems. And the md file is well organized according to the instructions.
Yidie
Hi @bcahn7 ! Here are some comments about your hw06:
Note: your mark (check minus, check, check plus) will be distributed later.
hw06 ready for grading