problems with HW2

problems with HW2

by Chih-Chi Chen -
Number of replies: 1

 I also have problems in the homework since beginning. Since the race_others were written in words, the program cannot recognize them. The question ask us how it could be recorded, so should them bere-coded to numbers? 

For question 2, the homework tell us use "filler" node, but I totally do not know how to use "filler" node which had not be taught. 

  I tried to use derive code, which had been taught in lab2. But the condition is different, the lab only classified the derive code to above and less than 12 y/o. In this homework, you suggest use the calendar, but I do not know which options I should choose. Is there any guide for us? I tried to type( if the condition is true as age=000, set field to: not recorded) (If this condition is true: age >=200, set field to less than 2 years old) (if this condition is true as is_number(age), set field to age), but that's wrong and not work. Please help me in this issue. 

 

Thank you a lot. 

 

In reply to Chih-Chi Chen

Re: problems with HW2

by Chih-Chi Chen -

I tried the filler and it succeed. However, I could't perform the two age=0 -->undef ; age >=200 -->1 in the same filler but had to separate them to two fillers, is that right? There are so many different options in the calendar, but I do not know which to choose, I type the number, will them be taught in the following days? Or where I can get the guide. Thank you.