Try some of these problems but it’s still fine if they don’t make sense now! :)
- Create a vector of respondents incomes ranging from Ksh. \(0\) to Ksh. \(100,000\). Call this
income
- If there are other \(5\) respondents whose incomes are not known, create a variable,
no_income
, for this
- Create a variable,
all_income
, containing all the incomes above
- Apply some of the basic statistical functions we have introduced to summarize
all_income