全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
5758 3
2014-09-07
悬赏 200 个论坛币 未解决
我打算模拟一个数据,样本为1000个,样本取值为1~7之间的正整数,标准差为2.34,均值为2.21.  
数据分布无所谓,只要能做出来。在stata中这个能做吗,程序如何写。

二维码

扫码加我 拉你入群

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

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

全部回复
2014-9-7 21:16:32
https://bbs.pinggu.org/thread-1200341-1-1.html
http://jingyan.baidu.com/article/4665065803a026f549e5f8e9.html
希望对你有用
二维码

扫码加我 拉你入群

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

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

2014-9-7 22:26:58
岳文涛 发表于 2014-9-7 21:16
https://bbs.pinggu.org/thread-1200341-1-1.html
http://jingyan.baidu.com/article/4665065803a026f549e5 ...
多谢多谢,非常感谢您,第一链接,我看到了,但是随机产生出来的有负数,且不是整数。
第二个,也存在这类问题。均值无法控制标准差。
二维码

扫码加我 拉你入群

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

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

2014-9-8 00:31:48
Most likely Stata can not do it in the way you want. (any other software can do it?).

There was a similar question in Statalist last year followed by excellent discussions.

Here is the link (check all those references and follow-ups, very interesting):

http://www.stata.com/statalist/archive/2013-03/msg00644.html

Good luck
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群