Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

8. In the data demog data.csv, if you model the INCTOT variable as a linear function of the AGE variable, what slope and intercept give

image text in transcribed
8. In the data "demog data.csv", if you model the "INCTOT" variable as a linear function of the "AGE" variable, what slope and intercept give the line with the least squares best fit? (You may use a built-in function for this or the formulas derived in class) (10 points) This question uses 2018 data primarily for Denver county accessed through IPUMS- USA, University of Minnesota, www.ipums.org , Steven Ruggles, Sarah Flood, Ronald Goeken, Josiah Grover, Erin Meyer, Jose Pacas and Matthew Sobek. IPUMS USA: Version 9.0 [dataset]. Minneapolis, MN: IPUMS, 2019. https://doi.org/10.18128/D010.V9.0 The PUMA-to-county restriction was done using MABLE, http://medc.missouri.edu/websas/geocorr12.html. The data are restricted to women in the age range 30-80 in PUMAs primarily in Denver. 9. Make a scatterplot with the "AGE" variable on the horizontal axis and the "INCTOT" variable on the vertical axis. Include the line computed in question 8. (If you used the built-in function for question 8, please extract the values of the slope and intercept from the fitted model object, rather than using copy-paste.) (10 points) 10. In the data set "demog data.csv" what is the mean value of INCTOT for women in each category of EDUC? (For full credit, please do this without looping through the EDUC values. You can use "summarize" from dplyr, with group_by.) (5 points) 11. Please restrict the data set "demog data.csv" to cases in which "INCTOT" is greater than 0 and "EDUC" is greater than 4. What is the mean value of "INCTOT" for the remaining observations? (5 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

The Structure Of Groups With A Quasiconvex Hierarchy (AMS-209)

Authors: Daniel T Wise

1st Edition

069121350X, 9780691213507

More Books

Students also viewed these Mathematics questions

Question

=+a) What were the subjects?

Answered: 1 week ago

Question

Define indirect financial compensation (employee benefits).

Answered: 1 week ago

Question

Describe the selection decision.

Answered: 1 week ago