Question: Use the replace command to transform agekdbrn2 into a variable with three categories: Under 30, 30 to 40, and Over 40. Assign 1 to Under
Use the “replace” command to transform agekdbrn2 into a variable with three categories: “Under 30,” “30 to 40,” and “Over 40.” Assign 1 to “Under 30,” 2 to “30 to 40,” and 3 to “Over 40.”
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
