Question
On Rstudio, I need to answer this question, Fit a simple linear regression model to the data with `log(Risk)` as the response variable and `log(Lscd)`
On Rstudio, I need to answer this question,
Fit a simple linear regression model to the data with `log(Risk)` as the response variable and `log(Lscd)` as the predictor variable. Hint: you may include `log(Risk)` and `log(Lscd)` in the formula in `lm`, which will calculate the logarithms of these variables on the fly.
And I do not know where to start, if someone can help Id really appreciate it.
Background: In a recent, exciting, but also controversial Science article, [\blc Tomasetti and Vogelstein\bc](http://science.sciencemag.org/content/347/6217/78.full) attempt to explain why cancer incidence varies drastically across tissues (e.g. why one is much more likely to develop lung cancer rather than pelvic bone cancer). The authors show that a higher average lifetime risk for a cancer in a given tissue correlates with the rate of replication of stem cells in that tissue. The main inferential tool for their statistical analysis was a simple linear regression, which we will replicate here.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started