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

 . (Dataset: gss. Variables: grass, wtss.) The gss dataset contains the

. (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

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 Mathematics Questions!