全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SPSS论坛
2440 1
2014-01-25
有關權重的添加問題想請教大家,謝謝!
有两个权重想要添加到数据库中,一个是按各省社会消费品零售总额作出的比例(加總為100%),一個是全國年齡層比例。
怎麼兩個權重一起添加,然後怎麼一起運算呢?

難道只能先分別添加,一個一個運算?


二维码

扫码加我 拉你入群

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

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

全部回复
2014-1-25 23:35:46
  • Try SPSS Rake extension command. It computes weights matching specified marginals in up to 10 dimensions, which can be found at www.ibm.com/developerworks/spssdevcentral.
  • You can use SPSS macro for multivariate weighting. Download macro from this page: SPSS multivariate weighting
  • Another alternative is to create a new categorical variable which will be the intersection of A &B (i.e., it will have categories white-male, white-female, africanamerican-male, africanamerican-female, etc.).Then you have to identify the weights for each of the categories.This may or may not be the same as the products of the weight variables (most likely not).
  • http://www.ats.ucla.edu/stat/spss/faq/weights.htm

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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