国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代做553.688 Computing for Applied 程序

時間:2023-12-11  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



553.688 Computing for Applied Mathematics Fall 2023
Final Assignment - Form 4 Filings
When certain executive employees of a publicly traded US company buy or sell shares of stock in their company, they are required to file a form with the US Securities and Exchange Commission (SEC) detailing the nature of the transaction. These filings, which are referred to as Form 4 filings, must be submitted within 2 business days after the date of a transaction. In this assignment, will be
This final assignment will consist of 3 parts:
􏰃 In Part 1 you are tasked with writing a function that will create a pandas data frame to work with from the data made available to you. This part of the assignment must be completed by Sunday December 10th. There will be no exceptions to this because on Monday December 11th, you will be provided with a correct version of the data frame. 1
􏰃 In Part 2 you are tasked with performing some analysis of the data using the data frame from Part 1. This part of the assignment is due on Tuesday December 19th at noon.
􏰃 In Part 3 You will be assigned a training dataset (with response variable included) and a test dataset (with response variable excluded) and you will be asked to produce predictions for the test dataset.
Important Reminder
When you work on your assignment, you should always write your own code. You should not share your code with anyone in the class. Any copying of code is considered plagiarism and a form of academic misconduct. Your work will be carefully checked and evidence of violating the rules will be followed up with potentially serious consequences.
Data
The PFE filings have been downloaded from the SEC site and are available to you as a zip file using this link:
https://www.ams.jhu.edu/~dan/Form4Filings/PFE.zip
1This assignment is posted early so that you can and should get started on it early. If you wait until the last minute and then get sick and don’t complete this first part in time you will get no sympathy since you should have exercised better time management
1
 
You should download this file and unzip it in some location of your computer I will refer to as basefolder. In basefolder, you will see 4,750 subfolders:
0000078003-02-00031
0000078003-03-00034
.
Each of the 4,750 subfolders contains a single file called “full-submission.txt” which is a filing
on behalf of one owner.
Part 1
Your first task is to write a function called CreateDataFrame that takes as input a string giving the path to a folder so that when the function is called, you will pass it the string representing the basefolder where you extracted the zip file to as the function argument. Your function should output a dataframe.
The data making up the dataframe should be extracted from the filings as follows:
􏰃 Each file/filing may or may not contain an XML ownership document. If the file contains such a document, it will always be defined as the text that starts with an <ownershipDocument> tag and ends with an </ownershipDocument> tag.
􏰃 For each file that does contain an XML ownershipDocument you should extract the text making up that ownership document as a string, and do further extraction of data needed from that document using the xml.etree.ElementTree package as described in the Jupyter notebook (“XML and Element Tree.ipynb”) that was provided in Lecture 18. You are required to use this package to carry out the tasks!
􏰃 Each ownership document can describe so-called derivative transactions and non- derivative transactions. We are only interested in non-derivative transactions. All derivative transactions should be ignored.
􏰃 Some of the ownership documents do not contain rptOwnerName tags. These docu- ments should be ignored.
􏰃 Each ownership document can describe multiple non-derivative transactions. Your dataframe should contain a row for every non-derivative transaction found in an XML ownership document.
– non-derivative transactions will always be described in material appearing between a <nonDerivativeTransaction> and a </nonDerivativeTransaction> tag
– your data frame should contain the following columns with the following informa- tion for each nonderivative transaction
2

* Folder: the folder name in which the filing appears e.g. “000078003-02- 00031”.
* OwnerName: found between the rptOwnerName opening and closing tags (there should only be one of these - see above).
* IsDir: an indicator (0/1) as to whether the owner is a company director (see tag reportingOwnerRelationship).
* IsOff: an indicator (0/1) as to whether the owner is a company officer (see tag reportingOwnerRelationship).
* IsTen: an indicator (0/1) as to whether the owner is a ten percent owner (see tag reportingOwnerRelationship).
* SecTitle: the security title, which appears between <securityTitle> and </securityTitle> tags.
* TransDate: the transaction date, which appears between <transactionDate> and </transactionDate> tags.
* Shares: the number of shares traded, which appears between <transactionShares> and </transactionShares> tags.
* PPS: the price per share for the shares traded, which appears between <transactionPricePerShare> and </transactionPricePerShare> tags.
* ADCode: a code A or D indicating whethe the shares were acquired or dis-
posed of <transactionAcquiredDisposedCode> and </transactionAcquireDisposedCode> tags.
* SharesAfter: the number of shares owned following the transaction, which appears between <postTransactionAmounts> and </postTransactionAmounts> using opening and closing sharesOwnedFollowingTransaction codes.
* DIOwner: a code (I or D) indicating whether the ownership involved is indi-
rect or direct, which appears between <ownershipNature> and </ownershipNature> tages using opening and closing directOrIndirectOwnership tags.
The output of your function should be an N ×12 pandas data frame where N is the number of non derivative transactions found in all of the ownership documents.
Part 1 requires 2 submissions:
􏰃 Part 1A: a Jupyter notebook in which you are to provide your CreateDataFrame
function code.
􏰃 Part 1B: a csv file obtained by writing the data frame produced by the function to a
file using the to_csv(...,index=False) data frame method
3

Part 2:
For Part 2 of the assignment, you are tasked with doing various things with the data frame from Part 1. It is strongly recommended that you begin working on Part 2 as soon as you have finished with Part 1. Once the correct version data frame is released it should be easy to work on that even if you started with you own version. This part will require that you put code in multiple cells in a Jupyter notebook provided in Canvas and upload the notebook.
Part 3: For Part 3 of the assignment, you will be sent an email with a link to two comma delimited files related to Form 4 filings: a training dataset and a test dataset. Your dataset is the only one you should look at. It is different from the dataset of other students and
􏰃 you should not share data with other students, and
􏰃 you should not discuss with other students how you made your predictions.
Here is a description of the datasets:
􏰃 The training dataset has the following variables included:
– TRANS_DATE: date ranging from 1/1/2013 through 9/29/2013 with 500 dates miss- ing
– ASHARES: total number of shares reported as acquired on the TRANS_DATE
– TRANS_PRICEPERSHARE: average price of shares acquired or disposed of on the
TRANS_DATE
– DSHARES: total number of shares reported as disposed of on the TRANS_DATE
􏰃 The test dataset has data for the 500 dates missing in the training datase and the same variables except that DSHARES has been removed
Your task in this part is to
􏰃 use the training dataset to build a model for predicting the variable DSHARES using the other available variables
􏰃 use your prediction model to predict the DSHARES variable for all 500 observations in the test dataset.
􏰃 predict the performance of your predictions 4

Prediction criteria
􏰃 If DSHARES denotes your predicted value of DSHARES then the quality of your ii
DSHARES predictions will be evaluated based on the mean absolute error of your log predictions, i.e. you should aim to minimize
􏰄
1 500
M = 􏰅 | log(1 + DSHARES ) − log(1 + DSHARES )|
i􏰄i
􏰃 To predict the performance of your predictions, you are asked to provide an estimate
500 i=1
of M
How these datasets were produced
For each student, I started with data for a random set of companies (the companies are unique to each student and can exhibit different behaviors from dataset to dataset) and I compiled the data by date based on filings for those companies. I randomly selected 500 dates to remove to create the test data (dates unique to each student). So I am in possession of the actual value of DSHARES associated with dates in your test dataset. Consequently, I will be able to determine the value of M you are trying to estimate. IMPORTANT: Due to the nature of the datasets, it is highly unlikely that a model fitted on one particular student’s dataset will produce good predictions on another student’s dataset.
Part 3 Submission
This part requres 2 items for submission:
􏰃 Part 3A a comma delimited file with two columns, a heading with TRANS_DATE and DSHARES, and 500 rows of predictions - the TRANS_DATE column should contain the same dates as the ones in your test dataset
􏰃 Part 3B a Jupyter notebook (provided in Canvas) with the code with all of the work you did to get answers in part 3 - a cell will be provided for you to report your prediction of M.
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:代寫COM6471、代做 java 語言編程
  • 下一篇:代寫CS 8編程、代做Python語言程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    青青视频在线播放| 国产日韩欧美中文| 欧美一区三区二区在线观看| 欧美日韩一区二区视频在线| 日本精品视频在线观看| 伊人久久av导航| 欧美精品999| 中文字幕色一区二区| 欧美精品福利在线| 亚洲欧洲精品一区二区| 日韩中文字幕组| 日本香蕉视频在线观看| 亚洲一区二区三区精品在线观看 | 欧美一区二区三区图| 熟女少妇在线视频播放| 日本a级片在线播放| 欧洲中文字幕国产精品| 欧美人与性禽动交精品| 国产熟女高潮视频| 国产精品91在线| 久久深夜福利免费观看| 久久亚洲精品毛片| 亚洲高清不卡一区| 欧美亚洲日本在线观看| 麻豆一区区三区四区产品精品蜜桃| 欧美 日韩 国产 激情| 国产欧美亚洲视频| 国产成人精品日本亚洲专区61| 日韩视频亚洲视频| 亚洲va码欧洲m码| 国模视频一区二区| 国产成人亚洲欧美| 一区二区三区电影| 欧美成人综合一区| 久久久影院一区二区三区| 欧美性资源免费| 成人av影视在线| 久久久精品一区| 日韩无套无码精品| 成人国产精品一区| 久久久极品av| 日韩精品久久久毛片一区二区| 国产精品一级久久久| 国产精品久久久久久久小唯西川| 日本三级中国三级99人妇网站| 国产欧美一区二区三区在线看| y97精品国产97久久久久久| 亚洲精品乱码久久久久久蜜桃91| 国产日韩视频在线观看| 国产精品第七影院| 国内精品视频久久| 国产精品久久久久久中文字| 欧美日韩国产三区| www日韩中文字幕在线看| 天天爱天天做天天操| 国产日产欧美视频| 欧美精品亚州精品| 精品少妇人妻av一区二区| 日韩在线视频播放| 欧美午夜精品久久久久久蜜 | 91福利视频在线观看| 亚洲国产精品毛片| 91久久久国产精品| 亚洲97在线观看| 日韩有码在线电影| 精品一区二区中文字幕| 国产精品免费在线免费| 欧美激情亚洲天堂| 精品久久久无码人妻字幂| 丰满爆乳一区二区三区| 亚洲aⅴ日韩av电影在线观看| www.亚洲天堂网| 三年中国中文在线观看免费播放 | 亚洲日本理论电影| 少妇精69xxtheporn| 欧美在线欧美在线| 国产精品久久久久久久久久久久冷| 国产深夜精品福利| 亚洲精品久久久久久一区二区| 91av免费看| 麻豆成人av| 日本久久久久亚洲中字幕| 国产精品久久久久久超碰| 99久久99久久精品| 国内少妇毛片视频| 日韩av123| 欧美激情网站在线观看| 久久久久久久久久久久久9999 | 麻豆av一区二区三区久久| 一区二区三区四区五区视频| 久久久久久久免费| 99在线视频播放| 国产三级精品在线不卡| 青草视频在线观看视频| 亚洲精品在线观看免费| 久久av资源网站| 日韩视频在线免费观看| 国产精品av一区| 国产精品一区二区你懂得| 海角国产乱辈乱精品视频| 日本不卡一二三区| 亚洲精品视频一二三| 中文字幕日韩精品一区二区| 国产精品久久久久久久久粉嫩av | 久热99视频在线观看| 91免费的视频在线播放| 国产日韩欧美成人| 国产免费人做人爱午夜视频| 亚洲精品一卡二卡三卡四卡 | 成人免费xxxxx在线观看| 欧美日韩国产综合在线| 精品国产一区久久久| 久久手机视频| 国产一区二区丝袜| 欧美激情 国产精品| 人妻有码中文字幕| 欧美凹凸一区二区三区视频| 欧美又粗又长又爽做受| 欧美亚洲视频一区二区| 国内精品久久久久伊人av| 国模精品系列视频| 国产欧美最新羞羞视频在线观看| 国产在线视频在线| 高清无码视频直接看| 91福利视频网| 色黄久久久久久| 国产精品免费在线播放| 欧美激情在线一区| 精品丰满人妻无套内射| 中文字幕一区综合| 午夜dv内射一区二区| 午夜精品久久久久久99热软件| 性一交一乱一伧国产女士spa| 在线不卡视频一区二区| 无码无遮挡又大又爽又黄的视频| 色中色综合成人| 国模精品视频一区二区| 777精品视频| 久久亚洲一区二区三区四区五区高| 欧美激情网站在线观看| 日本a在线天堂| 国产精品你懂得| 日本精品中文字幕| 国产日韩三区| 久久无码高潮喷水| 欧美日韩福利在线观看| 欧洲日本亚洲国产区| 91精品国产91久久久久久不卡| 精品国产依人香蕉在线精品| 动漫一区二区在线| 国产欧美日韩亚洲| 国产精品入口日韩视频大尺度| 五码日韩精品一区二区三区视频 | 美女啪啪无遮挡免费久久网站| 动漫一区二区在线| 国产免费一区二区三区香蕉精 | 色婷婷av一区二区三区久久| 中文字幕欧美日韩一区二区| 国模视频一区二区| 日韩中文字幕不卡视频| 色综合久久av| 国产精品99久久久久久www| 综合操久久久| 国产女精品视频网站免费| 国产精品无码av在线播放| 成人动漫在线观看视频| 国产精品久久久av久久久| 欧美日韩黄色一级片| www.欧美免费| 狠狠色综合色区| 久久久精品免费| 欧美亚洲国产视频| 欧美日韩电影在线观看| 91免费精品视频| 精品久久久久久乱码天堂| 国产有码在线一区二区视频 | 肉大捧一出免费观看网站在线播放 | 欧美成人高潮一二区在线看| 日韩在线观看你懂的| 欧美日韩一区在线观看视频| 国产精品黄色av| 99精品在线免费视频| 日韩av电影国产| 国产精品麻豆免费版| 国产日韩在线精品av| 亚洲v欧美v另类v综合v日韩v| 久久国产精品网| 欧美精彩一区二区三区| 免费av一区二区| 国产成人在线播放| 黄瓜视频免费观看在线观看www| 久久久久久12| 国产成人无码精品久久久性色| 国产免费一区二区三区在线能观看| 日韩一区二区高清视频| 久久久国产精品免费| 91精品国产91久久久久久吃药| 国内精品国语自产拍在线观看| 午夜视频在线瓜伦| 美女久久久久久久|