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)?
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
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
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme