problems with Hwk #2

Re: problems with Hwk #2

by Anoop Sheshadri -
Number of replies: 0

When you look at the values put down for race_other and think about how the program might process those text strings, what problems might it run into? That is, with those values written the way they are now, would the program be able to interpret them? If not, then why not? 

For question 2 I also used derive to recode Age. You can build an if/then statement which they should have in the calculator. The "else" condition can simply be "age", in which case it defaults to the original value unless it meets whatever condition you have specified. 

In terms of the filler node, you can set the value to be less than 2, but you can also set the value by using the derive node as you have above. You can consider putting it an expression to get the exact value by changing the month part to a decimal version of years, or you can just use a number less than 2 that you find appropriate. You don't necessarily need to use the filler node AND the derive node. I'd argue that the derive node can utilize the available data better.

Let me know if this helps!