logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
StatAnalytica ExpertCriminology
(5/5)

867 Answers

Hire Me
expert
Luke HilllTechnical writing
(5/5)

511 Answers

Hire Me
expert
Gavin PhillipssEconomics
(5/5)

652 Answers

Hire Me
expert
Elizabeth BachhSocial sciences
(5/5)

781 Answers

Hire Me
STATA
(5/5)

You want to run a logistic regression model to see if there is a relationship between the probability that a woman currently smokes cigarettes

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Q1. (1 pt) You have a variable called “marry” which is not labeled. You want to add these labels:

1 (married), 2 (single), 3 (divorced), 4 (widowed) Which choice below will label the values correctly? (Mark X next to one)

a. __ label values marry 1= married 2=single 3=divorced 4=widowed

b. __label define marlabel 1=married 2=single 3=divorced 4=widowed

label values marry marlabel

c. __ label var marry 1=“married” 2=“single” 3=“divorced” 4= “widowed”

d. _X_label define marlabel 1 “married” 2 “single” 3 “divorced” 4 “widowed”

label values marry marlabel

Q2. (1 pt) You want to run a logistic regression model to see if there is a relationship between the probability that a woman currently smokes cigarettes (yes/no) with her age (in years), her education (in years) and her marital status (as described in Q1). How many binary dummy variables do you need to represent marital status in the model?

Number of dummy variables __3__

Q3. (1 pt) You want to investigate if the percent of a state’s working-age (18 to 64) population that is uninsured in 2019 is related to whether the state expanded Medicaid eligibility for adults (to 138% of poverty or higher) by 2018. What kind of statistical test would be suitable for this? (Mark X next to one)

a. ___ chi-square test

b. ___ t-test

c. ___ one-way analysis of variance, with Scheffe

d. ___ logistic regression

Q4. (1 pt) You type the following Stata command and get the resulting error message:

. mean povlev by raceethx

variable by not found r(111);

Which of the following would fix the problem? (Mark X next to one)

a. ___ mean povlev, over(raceethx) c. __X_ mean povlev, by(raceethx)

b. ___ sum povlev, detail(raceethx) d. ___ mean povlev over(raceethx)

Q5. (1 pt) You have data about 900 nursing homes in 2020. You want to see if there is an association between the percent of nursing home residents who had deaths in 2020 related to COVID-19 (COVIDMORT) and the number of citations for inadequate infection control and prevention each nursing home had in 2019 (INFECTCIT, range from 0 to 5). Write Stata code that would let you test this relationship.

Q6. (1 pt) You now want to run the test from Q5 separately by for-profit/non-profit status of the facility (PROFIT, 1 = for profit, 0 – non-profit). How would you write the command(s)?

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme