10.07.2015 Views

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Using</strong> R <strong>for</strong> introductory statistics 342What is the estimated weight <strong>for</strong> the patient if he stays on this program <strong>for</strong> the longrun? Suppose the model held <strong>for</strong> 365 days. How much would the patient be expected toweigh?12.9 The reddrum (<strong>Using</strong>R) data set contains length-at-age data <strong>for</strong> the red drum fish.Try to fit both the models(These are the von Bertalanffy and “linear” von Bertalanffy curves.) Use the AIC todetermine which is preferred.Good starting values <strong>for</strong> the “linear” curve are 32, 1/4, 1/2, and 0.12.10 The data set midsize (<strong>Using</strong>R) contains values of three popular midsize cars <strong>for</strong>the years 1990 to 2004. The 2004 price is the new-car price, the others values of usedcars. For each car, fit the exponential model with decay. Compare the decay rates to seewhich car depreciates faster. (Use the variable year=2004-Year and the model <strong>for</strong> themean µ y|x =Ne −rt .)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!