根据C1 部分, 我们可以产生,不住在一起的小孩的数量。
调查问卷 P35,说明 “We can get the number of hhmember child from CV”
可是CV part 是coverscreen 的过滤问卷。
在下载的数据包中并没有。
那么怎么找到 住在一起的小孩的数量呢?
非常感谢。
number of children?
Re: number of children?
我在另外一个帖子看到 econwang 回复的一段关于家户内子女数量问题:
“问卷中子女的编码是按照先家户内后家户外的顺序编制。
对于家户内的子女,在“家户登记表”模块中,我们将第一个A006([姓名]是您的?)回答为孩子的家户成员编码为1,第二个A006回答为孩子的家户成员编码为2,以此类推,直到最后一个A006回答为孩子的家户成员。”
那么这个计算出的结果 是否和 CV 过滤问卷中的一样?
谢谢
“问卷中子女的编码是按照先家户内后家户外的顺序编制。
对于家户内的子女,在“家户登记表”模块中,我们将第一个A006([姓名]是您的?)回答为孩子的家户成员编码为1,第二个A006回答为孩子的家户成员编码为2,以此类推,直到最后一个A006回答为孩子的家户成员。”
那么这个计算出的结果 是否和 CV 过滤问卷中的一样?
谢谢
Re: number of children?
CV部分的list已经导入到family模块了,同时cover screen部分的信息问的比较简略,在family模块有修正,所以应该从family模块来计算与家户和家庭相关的变量。
Re: number of children?
I am also trying to calculate the number of children for adult respondent. The following are stata commands. But the proportion of childless seems high. Could any expert could tell if there are any problems with the stata commands below? Many thanks in advance.
*Number of children within the household
generate a006 = .
foreach x of varlist a006_1_-a006_16_ {
generate `x'1 = 1 if `x' == 7
replace `x'1 = 0 if !missing(`x') & `x' != 7
replace a006 = . if missing(`x'1) & missing(a006)
replace a006 = `x'1 + a006 if !missing(`x'1) & !missing(a006)
replace a006 = `x'1 if !missing(`x'1) & missing(a006)
replace a006 = a006 if missing(`x'1) & !missing(a006)
}
* Number of children obtained by adding the number of children of their own within
* ¬ within the household&adopted children not within the household
generate Bio_Child_Out = cb001 if !missing(cb001)
replace Bio_Child_Out = 0 if missing(cb001)
generate Ado_Child_Out = cb009 if !missing(cb009)
replace Ado_Child_Out = 0 if missing(cb009)
generate Child_Num = a006 + Bio_Child_Out + Ado_Child_Out
label variable Child_Num "Number of Children"
. tab Child_Num
Number of |
Children | Freq. Percent Cum.
------------+-----------------------------------
0 | 796 11.74 11.74
1 | 3,327 49.05 60.78
2 | 1,497 22.07 82.85
3 | 565 8.33 91.18
4 | 287 4.23 95.42
5 | 170 2.51 97.92
6 | 87 1.28 99.20
7 | 34 0.50 99.71
8 | 15 0.22 99.93
9 | 3 0.04 99.97
10 | 2 0.03 100.00
------------+-----------------------------------
Total | 6,783 100.00
*Number of children within the household
generate a006 = .
foreach x of varlist a006_1_-a006_16_ {
generate `x'1 = 1 if `x' == 7
replace `x'1 = 0 if !missing(`x') & `x' != 7
replace a006 = . if missing(`x'1) & missing(a006)
replace a006 = `x'1 + a006 if !missing(`x'1) & !missing(a006)
replace a006 = `x'1 if !missing(`x'1) & missing(a006)
replace a006 = a006 if missing(`x'1) & !missing(a006)
}
* Number of children obtained by adding the number of children of their own within
* ¬ within the household&adopted children not within the household
generate Bio_Child_Out = cb001 if !missing(cb001)
replace Bio_Child_Out = 0 if missing(cb001)
generate Ado_Child_Out = cb009 if !missing(cb009)
replace Ado_Child_Out = 0 if missing(cb009)
generate Child_Num = a006 + Bio_Child_Out + Ado_Child_Out
label variable Child_Num "Number of Children"
. tab Child_Num
Number of |
Children | Freq. Percent Cum.
------------+-----------------------------------
0 | 796 11.74 11.74
1 | 3,327 49.05 60.78
2 | 1,497 22.07 82.85
3 | 565 8.33 91.18
4 | 287 4.23 95.42
5 | 170 2.51 97.92
6 | 87 1.28 99.20
7 | 34 0.50 99.71
8 | 15 0.22 99.93
9 | 3 0.04 99.97
10 | 2 0.03 100.00
------------+-----------------------------------
Total | 6,783 100.00
-
- 帖子: 2
- 注册时间: 周五 3月 18, 2016 7:55 am
Re: number of children?
可以参考harmonized charls data https://www.g2aging.org/,有现成的子女数。
Re: number of children?
我从CHARLS2011数据摘取户籍为农村的60岁及以上老年人,样本为5788,而为什么有子女信息的样本只有3594个,子女信息怎么缺失这么多?缺失了2000多个?
非常感谢项目组能够解释一下。谢谢!
非常感谢项目组能够解释一下。谢谢!