Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

recommend that you read about the variables in this dataset. Use the chisqtestGC function to test if sex and marijuana (believing that marijuana should be

recommend that you read about the variables in this dataset.

  1. Use the chisqtestGC function to test if sex and marijuana (believing that marijuana should be legalized) are dependent). (alpha = 0.05). Include all of the steps of a hypothesis test that you learned about this semester. Paste a screenshot of your R results here. (2 points)
  2. What are the mean and median age of the sample? How many people are in the sample? Paste a screenshot of your R results here. (1 point)
  3. (2 points) Run a logistic regression model with sex as the independent variable and marijuana as the dependent variable.

Paste a screenshot of your R results here.

Write a plain English interpretation of the odds ratio and 95% confidence interval.

  1. Pretend that I conduct an analysis of the relationship between believing that marijuana should be legalized) and sex are dependent and stratify my analysis by age. Here are my results:

Group

OR (95%) for the relationship between sex and believing that marijuana should be legalized (females are the referent group)

18-35 year olds

0.9 (0.7,1.1)

36-64 year olds

0.4 (0.2, 0.5)

Based on these results, do you think that age is an effect modifier, confounder, or neither? Briefly explain why. (2 points)

  1. Pretend that we want to investigate if education (high school, 1-4 years of college, > 4 years of college) is a confounder of the relationship between sex and believing that marijuana should be legalized. Explain the information that you need to make this assessment. Be specific. (3 points)

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

More Books

Students also viewed these Accounting questions

Question

What is meant by formal organisation ?

Answered: 1 week ago

Question

What is meant by staff authority ?

Answered: 1 week ago

Question

Discuss the various types of policies ?

Answered: 1 week ago

Question

Briefly explain the various types of leadership ?

Answered: 1 week ago

Question

Choosing Your Topic Researching the Topic

Answered: 1 week ago

Question

The Power of Public Speaking Clarifying the

Answered: 1 week ago