全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
16217 7
2013-07-21
如题~急,求助
二维码

扫码加我 拉你入群

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

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

全部回复
2013-7-21 15:55:45
format设置固定格式,比如%9.3f即可。
具体解释:
The %f format

    In %w.df, w is the total output width, including sign and decimal point,
    and d is the number of digits to appear to the right of the decimal
    point.  The result is right-justified.

    The number 5.139 in %12.2f format displays as

        ----+----1--
                5.14
        

    When d==0, the decimal point is not displayed.  The number 5.14 in %12.0f
    format displays as

        ----+----1--
                   5

    %-w.df works the same way, except that the output is left-justified in
    the field.  The number 5.139 in %-12.2f displays as

        ----+----1--
        5.14

详见官网解释:http://www.stata.com/help.cgi?format#fformat
二维码

扫码加我 拉你入群

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

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

2016-7-8 14:18:04
请问最后怎么解决的?
二维码

扫码加我 拉你入群

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

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

2018-8-7 15:03:41
同问同问同问
二维码

扫码加我 拉你入群

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

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

2020-7-5 18:26:02
logout, save("Results/table3_Var_corr") dec(3) excel replace:  pwcorr_a $vvv
二维码

扫码加我 拉你入群

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

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

2020-12-22 21:30:53
corr2docx Y X1 X2  using corr2.docx, replace star fmt(%9.3f)
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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