Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

3) (20 points) In the PUMS NY data that we’ve been using in class, those with TRANWORK == 70 are working from home

Statistics Oct 13, 2021

3) (20 points) In the PUMS NY data that we’ve been using in class, those with TRANWORK == 70 are working from home. Compare that group of people with those commuting on the subway (there’s a dummy Commute_subway or use TRANWORK == 33). What are the educational attainments in each group? Given that someone works from home, what is the likelihood that the person has at least a 4-year degree? Given that someone is female, what is the likelihood that she works at home? Given that someone is male, what is the likelihood that he works at home? Create a confidence interval for the difference and provide a p-value.

4) (40 points) With the same data, create a different regression where TRANTIME is the dependent variable (you can drop the ones with zero values). What is the effect (if any) of educational qualification on commuting time? What about other demographic effects such as age and race/ethnicity? Explain confidence intervals and p-values for each important coefficient (where your explanation determines important). Create a joint hypothesis test to find a p-value for whether all of the education dummies are all equal to zero. Calculate predicted values for some people and assess if these seem plausible. Perhaps a graph of data and predicted values.

5) (20 points) Create a k-nn model to try to predict how a person commutes to work. (Worry a bit about the zero values of TRANWORK since that typically means they’re not working.) How useful is this model at predicting? What are some of the important variables in this prediction?

Expert Solution

Buy This Solution
26.99 USD
Instant Access
Already a member? Sign In
Important Note: This solution is from our archive and has been purchased by others. Submitting it as-is may trigger plagiarism detection. Use it for reference only.

For ready-to-submit work, please order a fresh solution below.

Or get a fresh solution
Get Custom Quote
Secure Payment