Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. (Dataset: gss. Variables: income06, wtss.) The gss dataset contains income06. In this exercise you use cut2 (with the g= argument) to collapse gss$income06 into
2. (Dataset: gss. Variables: income06, wtss.) The gss dataset contains income06. In this exercise you use cut2 (with the "g=" argument) to collapse gss$income06 into four equal-size groups. Follow these steps: (i) Create a numeric version of gss$income06. Name the numeric version, gss$income06.n. (ii) Collapse gss$income06.n into four equal-size groups. Name the collapsed variable, gss$income06.n4. (iii) Give gss$income06.n4 these level names: "Low," "MedLow," "MedHigh," "High", (iv) Redefine gss$income06.n4 as an ordered factor. A. Run freq on gss$income06.n4. Print the bar chart of gss$income06.n4. B. Run printC on the frequency distribution of gss$income06.n4. Copy/paste the frequency distribution into a word processing document. Print the frequency table
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started