Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

. (Dataset: gss. Variables: grass, wtss.) The gss dataset contains the tactor, grass, which taps respondent opinions about the legalization of marijuana. In this exercise.

image text in transcribed
. (Dataset: gss. Variables: grass, wtss.) The gss dataset contains the tactor, grass, which taps respondent opinions about the legalization of marijuana. In this exercise. you use gss$grass to create an indicator, named gss$grass.yes, which is coded 1 for respondents favoring legalization and coded 0 for those who do not favor legalization. A. Run freq on gss$grass, making sure to weight by gss$wtss. What percentage favors legalization? (Fill in the blank) percent ' B. Run levels on gss$grass. Using the level name for prolegalization, enlist as.numeric to create an indicator. named gss$grass.yes, coded 1 for those who favor legalization and coded 0 for those who do not favor legalization. Run freq on gss$grass.yes. What percentage is coded 1 on gss$g1'ass.yes? (Fill in the blank) __ percent. Before proceeding, make certain that the percentage you just recorded in Part B matches the percentage you recorded in Part A. If they do not match, review the procedure for creating indicator variables

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Real Analysis Foundations And Functions Of One Variable

Authors: Miklos Laczkovich, Vera T Sós

1st Edition

1493927663, 9781493927661

More Books

Students also viewed these Mathematics questions