Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The R data set wegs in the package epitools contains the Western Collab- orative Group Study (WCGS) data to investigate the relationship between behavior pattern

image text in transcribedimage text in transcribed

The R data set wegs in the package "epitools contains the Western Collab- orative Group Study (WCGS) data to investigate the relationship between behavior pattern and the risk of coronary hearth disease (CHD). A number of other risk factors were also measured to provide the best possible assessment of the CHD risk associated with behavior type, such as the age, systolic blood pressure, cholesterol, and etc. Obtain the kernel density esti- mates for the distributions of cholesterol in the CHD and no-CHD groups separately. (b) (4 points) Use the Gaussian kernel and the unbiased cross validation to choose the smoothing parameter. Plot the density estimates for the CHD and no-CHD groups in one figure with a legend. What are the values you choose for the smoothing parameters for the CHD and no-CHD groups? (c) (4 points) Use the boxcar kernel (kernel = "rectangular") and the unbiased cross validation to choose the smoothing parameter. Plot the den- sity estimates for the CHD and no-CHD groups in one figure with a legend. What are the values you choose for the smoothing parameters for the CHD and no-CHD groups? (d) (2 points) Summarize in a paragraph the conclusions of the comparisons in part (b), and (c). The R data set wegs in the package "epitools contains the Western Collab- orative Group Study (WCGS) data to investigate the relationship between behavior pattern and the risk of coronary hearth disease (CHD). A number of other risk factors were also measured to provide the best possible assessment of the CHD risk associated with behavior type, such as the age, systolic blood pressure, cholesterol, and etc. Obtain the kernel density esti- mates for the distributions of cholesterol in the CHD and no-CHD groups separately. (b) (4 points) Use the Gaussian kernel and the unbiased cross validation to choose the smoothing parameter. Plot the density estimates for the CHD and no-CHD groups in one figure with a legend. What are the values you choose for the smoothing parameters for the CHD and no-CHD groups? (c) (4 points) Use the boxcar kernel (kernel = "rectangular") and the unbiased cross validation to choose the smoothing parameter. Plot the den- sity estimates for the CHD and no-CHD groups in one figure with a legend. What are the values you choose for the smoothing parameters for the CHD and no-CHD groups? (d) (2 points) Summarize in a paragraph the conclusions of the comparisons in part (b), and (c)

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

Integrated Audit Practice Case

Authors: David S. Kerr, Randal J. Elder, Alvin A. Arena

6th Edition

0912503564, 9780912503561

More Books

Students also viewed these Accounting questions

Question

Explain the various methods of job evaluation

Answered: 1 week ago

Question

Differentiate Personnel Management and Human Resource Management

Answered: 1 week ago

Question

Describe the functions of Human resource management

Answered: 1 week ago

Question

Identify the types of informal reports.

Answered: 1 week ago

Question

Write messages that are used for the various stages of collection.

Answered: 1 week ago