Posted: May 20th, 2024
the data named GlaucomaM in this library
This problem require use RInstall the library TH.data. Use the data named GlaucomaM in this library.The GlaucomaM data has 196 observations in two classes. 62 variables arederived from a confocal laser scanning image of the optic nerve head,describing its morphology. Observations are from normal and glaucomatous eyes,respectively. Use the help file to know more about the dataset. Your goal isto predict whether a person will have glaucoma based on the 62 variables.Identify the predictors and the response variable in the dataset. Randomlyselect 70% of the data as training data and the remaining 30% as test data.Install the package glmnet and use elastic net method on the training datato determine an appropriate model. Then use this model to do predictions onthe test dataset. Report which covariates were selected in the model. You donot need to interpret any coefficient estimate. Prediction and variable selectionare the main focus of your analysis.
Order | Check Discount
Tags:
Ace My Homework: Essay Help,
Assignment Help: USA's #1 Online Assignment Writing Service,
Do My Assignment for Me Online - Write Academic Papers,
Reliable Online Homework Help For You,
UK Homework Study Bay: Assignment Homework Help & Homework Answers,
Write My Assignments AU - Online Assignment Maker - Writing Services
Sample Essays, Assignments & Research Topics Ideas