A dollar sign ($) on an INPUT statement in SAS means that:
Select one:
a. the unit of measurement is dollars.
b. the delimiter separating that variable from the next variable is changed from one blank space to two blank spaces.
c. the variable may have character values.
d. the variable has only numeric values.
Choice(c) is correct, i.e, the variable may have character values
Explanation :- In SAS, input variables needs to instructed about the type of value that it is capable of holding. '$' sign after a variable name is added so that the variable can take character input. If the variable is suppose to hold numericals, then $ sign is not required. And if the variable is supposed to be assigned with a character variable, the $ must be added after its name.
Get Answers For Free
Most questions answered within 1 hours.