关于本站
人大经济论坛-经管之家:分享大学、考研、论文、会计、留学、数据、经济学、金融学、管理学、统计学、博弈论、统计年鉴、行业分析包括等相关资源。
经管之家是国内活跃的在线教育咨询平台!
经管之家新媒体交易平台
提供"微信号、微博、抖音、快手、头条、小红书、百家号、企鹅号、UC号、一点资讯"等虚拟账号交易,真正实现买卖双方的共赢。【请点击这里访问】
统计
- 统计学 | 医学统计学与SPSS ...
- 统计学 | 统计学的世界
- 统计学 | 人工智能本质是统 ...
- 统计学 | 统计学读硕士就去 ...
- 统计学 | 统计学要学哪些课 ...
- 统计学 | 如何学习统计学
- 统计学 | 金融统计学 第2版 ...
- 统计学 | 湖南商学院北津学 ...
TOP热门关键词
免费学术公开课,扫码加入 |
说明:这是闲着没事做的经济学人风格系列图之一,分享一个给大家,如有转载请注明出处,以下源代码只能SAS9.3及以上才能使用!
/*---------------------------------------------------------*\
Name: Foreigntradecooperation.sas
Title:China's overseas contracted projects
Author::WenYiEmail:dear&mmu.me
From:http://www.douban.com/group/sasfinance/
Created:2012/06/26 SAS9.3
\*---------------------------------------------------------*/
ods listing close;
ods html file='mbar.html' path='.' ;
ods graphics/reset width=600px height=480px imagename='Foreigntradecooperation' imagefmt=png;
title j=left color=black height=2 font=arialblack " China's overseas contracted projects";
title2 j=left color=black font=arial 'The value of newly-signed contracts';
footnote justify=left color=cx7e96c2 'Source:Ministry Of Commerce,PRC' justify=right color=cx7e96c2 'Graph by WenYi' ;
data squares;
infile datalines dlm='#';
length fillcolor $ 9
display $ 9
function $ 12
linecolor $ 9;
input function $ x1 y1 width height fillcolor linecolor display;
datalines;
rectangle # 0 # 113 # 5#10 # cxd5272b # cxd5272b #all
;
run;
data work.contract;
input t yymmn6. dd tb;
cards;
201008 143.8 128.2539683
201009 70.6 29.06764168
201010 141.4 13.30128205
201011 141.8 122.9559748
201012 241 22.39715592
201101 103.9 -25.78571429
201102 73.7 56.80851064
201103 131.9 68.67007673
201104 127.1 25.59288538
201105 123.2 39.84108967
201106 102.1 7.586933614
201107 95.8 71.07142857
201108 84 -41.58553547
201109 89.5 26.77053824
201110 114.5 -19.02404526
201111 95.5 -32.651622
201112 282.1 17.05394191
201201 93.3 -10.20211742
201202 51.5 -30.12211669
201203 152.8 15.84533738
201204 55.8 -56.09756098
201205 85.2 -30.84415584
;
run;
proc sgplot data=work.contract sganno=squares;
vbar t/response=dd barwidth=0.3 fill fillattrs=(color=cx349cdf) legendlabel='Contracts,billions of dollars';
vline t /response=tb markers y2axis limits=both lineattrs=(color=cx86351c thickness=3) markerattrs=(color=cx86351c size=3) legendlabel='%change year on year';
format t mmyy5.;
xaxis display=(nolabel);
yaxis values=(0 to 300 by 50) display=(nolabel) valueattrs=(color=cx349cdf weight=bold);
y2axis values=(-100 to 200 by 50) display=(nolabel) grid minor valueattrs=(color=cx86351c weight=bold);
keylegend / noborder down=1 location=outside position=topleft valueattrs=(color=black size=11 line-height:30px;text-indent:2em;text-align:left">run;
quit;
ods html close;
ods listing;
免流量费下载资料----在经管之家app可以下载论坛上的所有资源,并且不额外收取下载高峰期的论坛币。
涵盖所有经管领域的优秀内容----覆盖经济、管理、金融投资、计量统计、数据分析、国贸、财会等专业的学习宝库,各类资料应有尽有。
来自五湖四海的经管达人----已经有上千万的经管人来到这里,你可以找到任何学科方向、有共同话题的朋友。
经管之家(原人大经济论坛),跨越高校的围墙,带你走进经管知识的新世界。
扫描下方二维码下载并注册APP
您可能感兴趣的文章
本站推荐的文章
- 管理学 | 管理学理论在实际运用中为什么会 ...
- 管理学 | 财务管理学
- 管理学 | 管理学论文
- 管理学 | 中级管理管理学
- 管理学 | 罗宾斯管理学笔记 背诵版
- 管理学 | 终于找到管理学 13th
- 工商管理 | 工商管理专业考acca是不是很难
- 工商管理 | 求教,想要经济学考研,本科自考 ...
人气文章
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。