{"id":92336,"date":"2022-07-24T00:00:00","date_gmt":"2022-07-24T00:00:00","guid":{"rendered":"https:\/\/nursingstudybay.com\/2022\/07\/24\/r-codeessay-2\/"},"modified":"2022-07-24T00:00:00","modified_gmt":"2022-07-24T00:00:00","slug":"r-codeessay-2","status":"publish","type":"post","link":"https:\/\/www.studyproessays.com\/help\/r-codeessay-2\/","title":{"rendered":"R Codeessay"},"content":{"rendered":"<p>please refer to the following link for more info<\/p>\n<p>https:\/\/rpubs.com\/putriangelinaw\/econometrics10<\/p>\n<p>Use the following help function to pull the data on r<\/p>\n<p>??gafa_stock<br \/>\n??PBS<br \/>\n??vic_elec<br \/>\n??pelt<\/p>\n<p>I just need the code to run it.<\/p>\n<p>8. Tsibble and mutate practice: Import a year of stock (of your choosing) closing price data (feel free to use gafa_stock within FPP3 or quantmod package. Convert this data to a tsibble. Plot differences and correlogram of the differences and comment on whether the differences resemble white noise (reference FPP3 2.10, #12 for code help dFB &lt;- gafa_stock %&gt;%<br \/>\nfilter(Symbol == &#8220;FB&#8221;, year(Date) &gt;= 2018) %&gt;%<br \/>\nmutate(trading_day = row_number()) %&gt;%<br \/>\nupdate_tsibble(index = trading_day, regular = TRUE) %&gt;%<br \/>\nmutate(diff = difference(Close))<br \/>\nview(dFB)).<\/p>\n<p>9. Reindexing and plotting practice: Vic_elec dataset<\/p>\n<p>a. Plot daily demand year over year for vic_elec dataset (within FPP3)<\/p>\n<p>b. Is temperature correlated to demand?<\/p>\n<p>c. Is previous day demand correlated with current demand?<\/p>\n<p>For below problems please reference https:\/\/r4ds.had.co.nz\/dates-and-times.html<\/p>\n<p>10. Datetime components: nycflights13 (<\/p>\n<p>library(nycflights13)<\/p>\n<p>#ensure you have the tables loaded and preview<br \/>\nflights<br \/>\nweather<\/p>\n<p>#check what tables are in the &#8216;nycflights13&#8242; package<br \/>\ndata(package=&#8217;nycflights13&#8217;))<\/p>\n<p>a. Load the flights table from the nycflights13 package<\/p>\n<p>b. What day of the week has the highest average delay?<\/p>\n<p>11. Time zones: Reindex vic_elec to the US Eastern timezone using the with_tz function<\/p>\n<p>12. Durations and periods<\/p>\n<p>a. Create a duration for your age at the start of our first lecture and print this duration.<\/p>\n<p>b. Calculate your age at the end of the semester (4\/27\/22 8:50p) using periods<\/p>\n<p>&#8212;<br \/>\nFor more information, please see the following link.<\/p>\n<p>https:\/\/rpubs.com\/putriangelinaw\/econometrics10<\/p>\n<p>To get the info about r, use the following help function.<\/p>\n<p>??gafa stock<\/p>\n<p>??PBS<\/p>\n<p>??vic elec<\/p>\n<p>??pelt<\/p>\n<p>I just need the code to make it work.<\/p>\n<p>8. Tsibble and mutate practice: Import a year&#8217;s worth of stock closing price data (you can use gafa stock within FPP3 or the quantmod package). Convert this information to a tsibble. Plot the differences and their correlograms, and remark on whether the differences approximate white noise (see to FPP3 2.10, #12 for code help dFB). &#8211; gafa stock percentage &gt; percentage<\/p>\n<p>percent &gt; percent filter(Symbol == &#8220;FB&#8221;, year(Date) &gt;= 2018)<\/p>\n<p>percent &gt; percent mutate(trading day = row number())<\/p>\n<p>percent &gt; percent update tsibble(index = trading day, regular = TRUE)<\/p>\n<p>(diff = difference(Close)) mutate<\/p>\n<p>view(dFB)).<\/p>\n<p>9. Vic elec dataset reindexing and plotting practice<\/p>\n<p>a. Plot daily demand year over year for vic_elec dataset (within FPP3)<\/p>\n<p>b. Is temperature<\/p>\n","protected":false},"excerpt":{"rendered":"<p>please refer to the following link for more info https:\/\/rpubs.com\/putriangelinaw\/econometrics10 Use the following help function to pull the data on r ??gafa_stock ??PBS ??vic_elec ??pelt\u2026<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8783,8777,7650,8780,8779,8778,8781,8782],"tags":[704,702,687,211,699,215,706,68,208,686,210,705,701,703,697,157,33,698,209,700,685],"class_list":["post-92336","post","type-post","status-publish","format-standard","hentry","category-assignment-help-uk-no-1-writing-services-company","category-assignment-uk-assignment-writing-service-assignment-help","category-assignment-writing-help","category-assignment-writing-help-in-london","category-best-assignment-writing-service-uk","category-best-essay-writing-services-in-uk-online-essay-help","category-uk-assignment-writing","category-uk-assignment-help-services-from-best-writing-experts","tag-apn-nursing-help","tag-assignment-help-online-free-help-with-assignment-online","tag-assignment-help-website","tag-best-website-for-nursing-assignment","tag-dnp-nursing-help","tag-do-my-nursing-homework","tag-get-help-with-assignments","tag-healthcare-homework-help","tag-help-with-nursing-assignment","tag-help-writing-online-assignment-homework","tag-homework-help-for-nursing-school","tag-medical-assignment-help","tag-msn-nursing-help","tag-need-help-with-assignment","tag-nursing-capstone-help","tag-nursing-dissertation-help","tag-nursing-essay-help","tag-nursing-help-websites","tag-nursing-homework-website","tag-nursing-school-help-sites","tag-online-writing-assignments-for-pay"],"_links":{"self":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts\/92336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/comments?post=92336"}],"version-history":[{"count":0,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts\/92336\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/media?parent=92336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/categories?post=92336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/tags?post=92336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}