Question
I would sincerely appreciate it if you could help me with these questions questions because I have been struggling with them. Thank you very much
I would sincerely appreciate it if you could help me with these questions questions because I have been struggling with them.
Thank you very much for your help I really appreciate it
1.Dataset: gss. Variables: polviews, wtss.) The gss dataset contains polviews, a seven-category factor that measures political ideologythe extent to which individuals "think of themselves as liberal or conservative."
Run freq on gss$polviews, making sure to weight by gss$wtss. Add up the percentages of all liberals. The percentage of respondents who are either "extremely liberal," "liberal," or "slightly liberal" is (Fill in the blank.)
________________ percent.
The percentage of "moderates is equal to (Fill in the blank.)
________________ percent.
Now add up the percentages of all conservatives. The percentage of respondents who are either "slightly conservative," "conservative," or "extremely conservative" is (Fill in the blank.)
________________ percent.
2. You are going to use cut2 to create new variable, gss$polview3, that combines the three liberal categories, keeps moderates in their own category, and combines the three conservative categories. Cut2 will not work on factors, so use the as.numeric function to create numeric version of gss$polviews. Name the numeric version gss$polviews.n. Run freq on gss$polviews.n (again weighting by gss$wtss).
On gss$polviews.n, liberals have the following three numeric codes: _____, _____, _____. On gss$polviews.n, moderates have the following numeric code: _____. On gss$polviews.n, conservatives have the following three numeric codes: _____, _____, _____.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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