楼主: 15757125463
5502 6

[作图问题求助] 关于stata中画中国地图~~ [推广有奖]

  • 0关注
  • 0粉丝

已卖:2份资源

本科生

40%

还不是VIP/贵宾

-

威望
0
论坛币
600 个
通用积分
2.5013
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
2747 点
帖子
36
精华
0
在线时间
143 小时
注册时间
2016-10-23
最后登录
2024-11-24

楼主
15757125463 发表于 2017-8-4 09:37:20 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
请问用stata画中国地图时,它自动分组的依据是什么?
二维码

扫码加我 拉你入群

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

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

关键词:Stata 中国地图 tata 中国地

沙发
蓝色 发表于 2017-8-4 11:45:23
这种问题,看命令的帮助啊。
如spmap帮助里面的

    ----+ Choropleth map +---------------------------------------------------------------------------------------------
    clmethod(method) specifies the method to be used for classifying variable attribute and representing its spatial
        distribution as a choropleth map.
        clmethod(quantile) is the default and requests that the quantiles method be used.
        clmethod(boxplot) requests that the boxplot method be used.
        clmethod(eqint) requests that the equal intervals method be used.
        clmethod(stdev) requests that the standard deviates method be used.
        clmethod(kmeans) requests that the k-means method be used.
        clmethod(custom) requests that class breaks be specified by the user with option clbreaks(numlist).
        clmethod(unique) requests that each value of variable attribute be treated as a distinct class.

    clnumber(#) specifies the number of classes k in which variable attribute is to be divided.                    

         When the quantiles,  equal intervals, standard deviates, or k-means classification method is chosen, the default is clnumber(4).
          When the boxplot classification method is chosen, this option is inactive and k=6.
         When the custom  classification method is chosen, this option is inactive and k equals the number of elements of numlist specified in option clbreaks(numlist) minus 1.
         When the unique classification method is chosen, this option is inactive and k equals the number of different values taken on by variable attribute.


    clbreaks(numlist) is required when option clmethod(custom) is specified. It defines the custom class breaks to be used for classifying variable attribute. numlist should be specified so that the first element is the minimum value of variable attribute to be considered; the second to kth elements are the class breaks; and the last element is the maximum value of variable attribute to be considered. For example, suppose we want to group the  values of variable attribute into the following four classes: [10,15], (15,20], (20,25] and (25,50]; for this we must specify clbreaks(10 15 20 25 50).






已有 2 人评分学术水平 热心指数 信用等级 收起 理由
15757125463 + 1 + 1 + 1 精彩帖子
txje + 2 + 2 + 2 热心帮助其他会员

总评分: 学术水平 + 3  热心指数 + 3  信用等级 + 3   查看全部评分

藤椅
15757125463 发表于 2017-8-7 08:37:52
蓝色 发表于 2017-8-4 11:45
这种问题,看命令的帮助啊。
如spmap帮助里面的
我找了的~~可是还是没有看出它的分组标准~~

板凳
蓝色 发表于 2017-8-7 10:43:26
15757125463 发表于 2017-8-7 08:37
我找了的~~可是还是没有看出它的分组标准~~
一般默认是,quantiles,上面写了,百分位点。  还有其他方法。

除非你自己设定 clbreaks(numlist)

报纸
Sandy_Liao 发表于 2018-12-8 09:24:29
蓝色 发表于 2017-8-7 10:43
一般默认是,quantiles,上面写了,百分位点。  还有其他方法。

除非你自己设定 clbreaks(numlist)
我设定了,也不行,不知道是什么原因

地板
夏天的格格 发表于 2020-3-25 12:00:23
Sandy_Liao 发表于 2018-12-8 09:24
我设定了,也不行,不知道是什么原因
使用命令时直接加   clm(c) clb(0.3 0.4 0.5 0.6),其中0.3-0.6是我自己设定的划分标准,你按照自己需要设定的写就好啦

7
1900415 发表于 2022-6-5 15:40:45

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-2 11:09