Question: Please provide the code, library = ( NHANES ) Problem 6 ( Hard ) : The ability to get a good night s sleep is

Please provide the code, library=(NHANES)
Problem 6(Hard): The ability to get a good nights sleep is correlated with many positive health outcomes. TheNHANESdata set contains a binary variableSleepTroublethat indicates whether each person has trouble sleeping.
* For each of the following models:
* Build a classifier for SleepTrouble
* Report its effectiveness on the NHANES training data
* Make an appropriate visualization of the model
* Interpret the results. What have you learned about peoples sleeping habits?
You may use whatever variable you like, except forSleepHrsNight.
* Null model
* Logistic regression
* Decision tree
* Random forest

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!