Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Cohen et al. (2010) [3] analysed the handgrip (HG) strength in relation to gender and age in English schoolchildren. Here each student is required to

Cohen et al. (2010) [3] analysed the handgrip (HG) strength in relation to gender and age in English schoolchildren. Here each student is required to analyse a different sample of 1000 from the original 3766 English boys. The data are stored in the packages gamlss.data under the name grip and contain the variables gripand age. The aim here isto create centile curvesfor grip given age. (a) Read the data file by typing data(grip)into R. Note that the gamlss packages have to be downloaded first i.e. library(gamlss). (b) In order to select your individual sample a unique seed number will be given to you. Select your individualsample using your own seed number: (c) Plot grip against age. Note that there is no need to power transform the agein this data set. Explain why. (d) Use the LMS method to fit the data1. That is, fit the BCCG distribution for grip. gbccg <- gamlss(grippb(age),sigma.fo=pb(age),nu.fo=pb(age),data=da, family=BCCG), where the smoothing for age uses the P-splines function pb(), i.e. pb(age), for the predictors for parameter , and . How many degrees of freedom were used for smoothing in the model? Use the function edf()or edfAll(). (e) Use the fitted values from the LMS model in (d) as starting values for fitting the BCT and the BCPE distributions to the data. What are the effective degrees of freedom fitted for the parameters? Try to interpret the effective degrees of freedom. (f) Use the generalised Akaike information criterion, GAIC, to compare the three models. (g) Plot the fitted parameters for the fitted models in (d) and (e) using for example fitted.plot(gbccg, gbct,x=da$age) where gbccg and gbct are the BCCG and BCT models respectively. (h) Obtaina centileplotforthe fittedmodelsin (d) and(e)using centiles() or centiles.split() and compare them. You can simplify some of the steps below by using the gamlsspackage function lms()but you still have to justify the choice of the final model (i) Investigate the residuals from the fitted models in (d) and (e) using e.g. plot(), wp() (worm plot) andQ.stats()(Q-statistics). (j) Choose between the models and give a reason for your choice.

(k) Use residual diagnosticsfor checking the model (l) Comment on how you selected yourfinal model. (m) Comment on the final centile plots.

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

Complex Variables and Applications

Authors: James Brown, Ruel Churchill

8th edition

73051942, 978-0073051949

More Books

Students also viewed these Mathematics questions

Question

What made this experience a story? LO.1

Answered: 1 week ago