use-r-studio-finance-business-statistics-assignment-1
assignment (see R assignment attached)
Screenshot the R studio answer to Word,
1.There are two dataset for Assignment , one is the file “tuition.txt”, where response variableis Year2008, and explanatory variable is Year2000. Another data file is “flow.csv” for question 3 (i.e. question #10.30 from textbook)
2.To load the flow.csv(excel fomat) file in R, use
flow=read.csv(file.choose(), header=T)
3.Flow data(unble upload in excel fomat, )
Year | Equityfunds | Bondfunds |
1984 | 4336 | 13058 |
1985 | 6643 | 63127 |
1986 | 20386 | 102618 |
1987 | 19231 | 6797 |
1988 | -14948 | -4488 |
1989 | 6774 | -1226 |
1990 | 12915 | 6833 |
1991 | 39888 | 59258 |
1992 | 78983 | 70989 |
1993 | 127260 | 72169 |
1994 | 114525 | -61362 |
1995 | 124392 | -5922 |
1996 | 216937 | 3141 |
1997 | 227106 | 29166 |
1998 | 156875 | 74656 |
1999 | 187565 | -4767 |
2000 | 315705 | -50115 |
2001 | 33483 | 88463 |
2002 | -29310 | 141865 |
2003 | 144077 | 32750 |
2004 | 171945 | -15102 |
2005 | 123938 | 25294 |
2006 | 147804 | 59448 |
2007 | 73307 | 110609 |
2008 | -215757 | 30039 |
2009 | 2013 | 371123 |
2010 | -24385 | 232351 |
2011 | -129363 | 117734 |
2012 | -152678 | 306256 |
2013 | 159481 | -70771 |