全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
3663 1
2016-03-23
悬赏 300 个论坛币 未解决
如何将数据标准化为0~10之间的分数,比如说许多国家的GDP  怎么标准化到0~10之间,谢谢
二维码

扫码加我 拉你入群

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

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

全部回复
2016-3-24 10:50:37
标准化的话可以用egen std()解决。参考help egen
        std(exp) [, mean(#) std(#)]
            may not be combined with by.  It creates the standardized values of exp.  The options specify the
            desired mean and standard deviation.  The default is mean(0) and std(1), producing a variable
            with mean 0 and standard deviation 1.
怎么变成0到10之间你得自己想好要怎么算,然后再来考虑怎么用stata实现的问题。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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