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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Statistics Principles And Methods Questions!