楼主: 朱良松
1793 6

[其他] stata 一个问题 紧急啊 [推广有奖]

  • 2关注
  • 0粉丝

已卖:1044份资源

讲师

8%

还不是VIP/贵宾

-

威望
0
论坛币
3163 个
通用积分
8.8300
学术水平
4 点
热心指数
8 点
信用等级
2 点
经验
3474 点
帖子
226
精华
0
在线时间
473 小时
注册时间
2011-4-12
最后登录
2025-7-9

楼主
朱良松 发表于 2011-6-5 02:07:50 |AI写论文
5论坛币
条形图如何添加正态分布线,且不是标准正太的

最佳答案

h3327156 查看完整内容

您把人家给您的网页弄一弄贴到stata感受一下,您会知道怎么弄的。 以下复制贴上即可。 inp byte y 1 2 4 5 2 3 1 1 0 1 end gen byte x=_n+5 compress list, noo loc opt range(6 16) xli(11) yaxis(2) lwidth(thick) legend(off) tw (bar y x) (function y1=tden(5, x-11), `opt') (function y2=normalden(x-11), `opt') 最后一句最重要,蓝色是您要的条图,绿色是您要的正态,红色是t,如果不要红色,自己 ...
关键词:Stata tata 正态分布 条形图 悬赏 Stata 问题
分享是快乐的

沙发
h3327156 发表于 2011-6-5 02:07:51
您把人家给您的网页弄一弄贴到stata感受一下,您会知道怎么弄的。
以下复制贴上即可。

inp byte y
1
2
4
5
2
3
1
1
0
1
end
gen byte x=_n+5
compress
list, noo
loc opt range(6 16) xli(11) yaxis(2) lwidth(thick) legend(off)
tw (bar y x) (function y1=tden(5, x-11), `opt') (function y2=normalden(x-11), `opt')

最后一句最重要,蓝色是您要的条图,绿色是您要的正态,红色是t,如果不要红色,自己把它删掉。

藤椅
情迷仲夏夜 发表于 2011-6-5 05:13:10
want to know "bar graph with overlay normal plot"?
http://www.stata.com/statalist/archive/2010-01/msg00560.html

板凳
情迷仲夏夜 发表于 2011-6-5 05:14:58
Do you want to know how to create "bar graph with overlay normal plot"? here is the link that I found:
http://www.stata.com/statalist/archive/2010-01/msg00560.html
I hope the content shows from this link can help you solve your problem!

报纸
朱良松 发表于 2011-6-5 21:55:15
谢谢啊 可是看不太懂啊 3# 情迷仲夏夜
分享是快乐的

地板
floydgyf 在职认证  发表于 2011-6-6 22:43:28
3# 情迷仲夏夜

it seems that your advise can only be helpful if it were translated in chinese..

7
floydgyf 在职认证  发表于 2011-6-7 22:00:49
2# h3327156

童鞋辛苦了啊!

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

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2026-1-8 00:11