Κυριακή 28 Αυγούστου 2016

Output of exercise 3

counts for original H1WP13
4    1211
8       1
1      75
5    2467
2     184
6       4
3     610
7    1952
counts for missing data how close do you fell your father
NaN        1
 1.0      75
 2.0     184
 3.0     610
 4.0    1211
 5.0    2467
 6.0       4
 7.0    1952
Name: H1WP13, dtype: int64
counts for original H1WP18B played a sport with your father in the past 4 weeks
0    3170
8       3
1    1372
9       1
6       6
7    1952

counts for missing data how many played a sport with their father in the past 4 weeks
 0.0    3170
 1.0    1372
NaN        6
 7.0    1952
 8.0       3
 9.0       1

H1WP13 with Blanks recoded as 11 and 99 set to NAN
1.0       75
2.0      184
3.0      610
4.0     1211
5.0     2467
6.0        4
7.0     1952
11.0       1
Name: H1WP13, dtype: int64
percentage %
4    0.186193
8    0.000154
1    0.011531
5    0.379305
2    0.028290
6    0.000615
3    0.093788
7    0.300123

   H1WP18B  H1WP18A  H1WP18_both
0      0.0        0          0.0
1      0.0        0          0.0
2      0.0        0          0.0
3      7.0        7         14.0
4      7.0        7         14.0
5      0.0        0          0.0
6      0.0        0          0.0
7      7.0        7         14.0
8      7.0        7         14.0
9      7.0        7         14.0


4 categories
1=0%tile     2080
2=25%tile    2467
3=50%tile    1956
4=75%tile       1
Name: H1WP13_NEW, dtype: int64
H1WP13      1.0   2.0   3.0   4.0   5.0   6.0   7.0   11.0
H1WP13_NEW                                                
1=0%tile      75   184   610  1211     0     0     0     0
2=25%tile      0     0     0     0  2467     0     0     0
3=50%tile      0     0     0     0     0     4  1952     0

4=75%tile      0     0     0     0     0     0     0     1

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου