楼主: 阿袋
3410 2

[学习心得] Stata Skills 2:直接从世界银行、美联储、雅虎金融获取数据 [推广有奖]

贵宾

已卖:5773份资源

院士

16%

还不是VIP/贵宾

-

TA的文库  其他...

各科好书新书

投资人生

论文写作投稿实战

威望
0
论坛币
569387 个
通用积分
254.7643
学术水平
304 点
热心指数
347 点
信用等级
246 点
经验
88890 点
帖子
1681
精华
5
在线时间
2905 小时
注册时间
2007-6-10
最后登录
2025-9-8

楼主
阿袋 发表于 2015-5-18 16:13:03 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
stata现在很流行,一些主流的国际机构和大公司都开始提供stata接口了,今天为大家介绍三个可以直接从stata导入外部数据的软件。这里只是简单介绍,具体操作请安装命定后看help文件。你们也使用过类似的命定???欢迎交流共享!

stockquote
shows Yahoo Finance data. You need to lookup for the tecker in yahoo, but once you have it; then it’s quite easy to work with.  (installed by simply typing ssc install stockquote and then doing help stockquote)
/* Command below gives you the stock prices for BHP Billiton, the Mining company from 1/2/2000 to 3/4/2012 on a daily basis */
       stockquote BHP , fm(1) fd(2) fy(2000) lm(03) ld(4) ly(2012) frequency(d)

wbopendata:  allows for access to the broad set of yearly Panel data of the “World Development Indicators” compiled by the world bank; as well as to other series compiled by them. (installed by simply typing ssc install wbopendata and then doing help wbopendata)
     /* This gets you many indicators on a yearly basis, for example CPI inflation and lending rate for many countries, although with missing values */
set more off
wbopendata , indicator(fp.cpi.totl.zg ; fr.inr.lend) year(1960:2012) long clear

freduse:  
gets data directly from FRED, which is the Federal Reserve Economic Data , compiled by St Louis’ Fed. It has many series. (installed typing ssc install freduse and then doing help freduse).
/*For example this short do file gets you the unemployment data for Chile */
freduse CHLURHARMMDSMEI CHLCPIALLQINMEI
line CHLURHARMMDSMEI daten if year(daten)>=1986, ///
ytitle(“Unemployment in Chile [OECD Stats]“)

二维码

扫码加我 拉你入群

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

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

关键词:skills kills Skill Stata 世界银行 美联储 雅虎

已有 1 人评分论坛币 学术水平 热心指数 信用等级 收起 理由
SpencerMeng + 20 + 1 + 1 + 1 对论坛有贡献

总评分: 论坛币 + 20  学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

沙发
wwy6631 发表于 2015-5-18 17:05:58
谢谢!

藤椅
silencezou 学生认证  发表于 2015-5-19 15:07:50
学习了!有时间的时候试试看

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-30 03:15