楼主: 乐呵清泉
3437 3

小白编程请教坛子里大神~怎样计算股票收益率 [推广有奖]

  • 4关注
  • 0粉丝

高中生

57%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
414 点
帖子
44
精华
0
在线时间
6 小时
注册时间
2015-6-30
最后登录
2015-12-1

楼主
乐呵清泉 发表于 2015-11-15 23:11:43 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
SAS作业求助啊啊啊,大神帮帮忙啊,跪下么么哒题目要求如下:

(1) compute the daily returnsduring the period of 2012.1.1 -2014.12.31,for all the individual stocks listedon the China A-share market;

(2) calculate the daily equalweighted and value weighted returns for large stocks, small stocks and thewhole A-share market during the same period.

Hints:

1.     Download the filesof daily trading information from CSMAR;

2.     Read the raw datainto SAS datasets;

3.     Stack thedatasets;

4.     Subset you datato exclude B-share firms;

5.     Sort the data by stockcode (stkcd) and trading date (Trddt);

6.     Calculate thedaily returns of individual stocks using the price adjusted for dividend andstock splits (Adjprcwd);

7.     Group the firmsinto large firms and small firms by their market values at the beginning of theyear, that is, large firms are those whose market values are greater than the samplemedian, and vice versa.

8.     Calculate thedaily equal weighted and value weighted returns for each group and the wholeA-share market.



二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:股票收益率 股票收益 收益率 information Individual 收益率 individual Download returns stocks

沙发
zxn2011 发表于 2015-11-15 23:24:36
想让大家帮你至少你得有个案例数据

藤椅
乐呵清泉 发表于 2015-11-16 07:42:45
zxn2011 发表于 2015-11-15 23:24
想让大家帮你至少你得有个案例数据
谢谢前辈,请问您是说我下载好数据然后上传吗?

板凳
乐呵清泉 发表于 2015-11-17 20:55:58
zxn2011 发表于 2015-11-15 23:24
想让大家帮你至少你得有个案例数据
你好,数据文件上传了,有excel和txt两种格式的,您用哪种方便用哪种~谢谢啦!!

txt格式.rar
下载链接: https://bbs.pinggu.org/a-1918214.html

29.96 MB

excel格式.rar

23.97 MB

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-29 09:53