rt A (Introduction): a) Write an introduction: • Explain the problem in general (e.g., vitamin D deficiency and recommended vitamin D level). Support your opinion with at least one reference (Harvard referencing), and Introduce all 5 variables: country (add frequency table), sun exposure (add frequency table), gender (add frequency table), age (add summary statistics vs. country, sun exposure and gender), and vitamin D level (add summary statistics vs. country, sun exposure and gender). Plot a histogram with a superimposed normal curve for both age and vitamin D level and describe your findings. Convert age to a categorical variable (call it NewAge) with 2 levels (<40 = "1", ≥ 40 "11") Create a side-by-side boxplot for vitamin D level vs. NewAge and a side- by-side boxplot for vitamin D level vs. country. Create a scatterplot to show the relationship between vitamin D level and Age. Compare these two side-by-side boxplots and the scatterplot and explain your findings. • Note: Write appropriate captions for the tables, graphs, and outputs.
rt A (Introduction): a) Write an introduction: • Explain the problem in general (e.g., vitamin D deficiency and recommended vitamin D level). Support your opinion with at least one reference (Harvard referencing), and Introduce all 5 variables: country (add frequency table), sun exposure (add frequency table), gender (add frequency table), age (add summary statistics vs. country, sun exposure and gender), and vitamin D level (add summary statistics vs. country, sun exposure and gender). Plot a histogram with a superimposed normal curve for both age and vitamin D level and describe your findings. Convert age to a categorical variable (call it NewAge) with 2 levels (<40 = "1", ≥ 40 "11") Create a side-by-side boxplot for vitamin D level vs. NewAge and a side- by-side boxplot for vitamin D level vs. country. Create a scatterplot to show the relationship between vitamin D level and Age. Compare these two side-by-side boxplots and the scatterplot and explain your findings. • Note: Write appropriate captions for the tables, graphs, and outputs.
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
![Part A (Introduction):
a) Write an introduction:
• Explain the problem in general (e.g., vitamin D deficiency and
recommended vitamin D level). Support your opinion with at least one
reference (Harvard referencing), and
Introduce all 5 variables: country (add frequency table), sun exposure
(add frequency table), gender (add frequency table), age (add summary
statistics vs. country, sun exposure and gender), and vitamin D level (add
summary statistics vs. country, sun exposure and gender).
Plot a histogram with a superimposed normal curve for both age and
vitamin D level and describe your findings.
Convert age to a categorical variable (call it NewAge) with 2 levels
(<40= "1", ≥ 40 "11")
Create a side-by-side boxplot for vitamin D level vs. NewAge and a side-
by-side boxplot for vitamin D level vs. country.
Create a scatterplot to show the relationship between vitamin D level
and Age.
Compare these two side-by-side boxplots and the scatterplot and explain
your findings.
• Note: Write appropriate captions for the tables, graphs, and outputs.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F1488de45-ffe6-488c-9535-0eb4dd2a544b%2Ff6ca930c-10e7-4f14-93bd-a57f23dae1e0%2Fenrc4na_processed.png&w=3840&q=75)
Transcribed Image Text:Part A (Introduction):
a) Write an introduction:
• Explain the problem in general (e.g., vitamin D deficiency and
recommended vitamin D level). Support your opinion with at least one
reference (Harvard referencing), and
Introduce all 5 variables: country (add frequency table), sun exposure
(add frequency table), gender (add frequency table), age (add summary
statistics vs. country, sun exposure and gender), and vitamin D level (add
summary statistics vs. country, sun exposure and gender).
Plot a histogram with a superimposed normal curve for both age and
vitamin D level and describe your findings.
Convert age to a categorical variable (call it NewAge) with 2 levels
(<40= "1", ≥ 40 "11")
Create a side-by-side boxplot for vitamin D level vs. NewAge and a side-
by-side boxplot for vitamin D level vs. country.
Create a scatterplot to show the relationship between vitamin D level
and Age.
Compare these two side-by-side boxplots and the scatterplot and explain
your findings.
• Note: Write appropriate captions for the tables, graphs, and outputs.
![Country
ABBB ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡
Other
Other
Other
Male
Male
Male
Male
Male
Female
Female
Female
Female
Female
Other
Other
Other
Other
Other
Other
Male
Male
Male
Male
Mela
Male
Female
Female
Female
Female
Female
Other
Other
Other
Other
Other
Male
Male
Male
Male
Sun Exposure
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
High
High
High
High
High
High
High
High
High
High
High
High
Low
Low
Low
Low
Low
Moderate
Moderate
Moderate
Moderate
Med
Moderate
Moderate
Moderate
Moderate
Moderate
www.
Moderate
Moderate
Moderate
Moderate
Moderate
Moderato
Moderate
High
High
High
High
High
High
High
High
High
*******
High
High
High
High
High
High
37
36
50
32
37
32
46
46
41
49
35
51
49
47
46
41
47
49
43
48
47
49
45
49
45
6
Age
Vitamin D level](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F1488de45-ffe6-488c-9535-0eb4dd2a544b%2Ff6ca930c-10e7-4f14-93bd-a57f23dae1e0%2Fhpzr6xu_processed.png&w=3840&q=75)
Transcribed Image Text:Country
ABBB ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡ ♡
Other
Other
Other
Male
Male
Male
Male
Male
Female
Female
Female
Female
Female
Other
Other
Other
Other
Other
Other
Male
Male
Male
Male
Mela
Male
Female
Female
Female
Female
Female
Other
Other
Other
Other
Other
Male
Male
Male
Male
Sun Exposure
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Low
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
Moderate
High
High
High
High
High
High
High
High
High
High
High
High
Low
Low
Low
Low
Low
Moderate
Moderate
Moderate
Moderate
Med
Moderate
Moderate
Moderate
Moderate
Moderate
www.
Moderate
Moderate
Moderate
Moderate
Moderate
Moderato
Moderate
High
High
High
High
High
High
High
High
High
*******
High
High
High
High
High
High
37
36
50
32
37
32
46
46
41
49
35
51
49
47
46
41
47
49
43
48
47
49
45
49
45
6
Age
Vitamin D level
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question
![Part B (Methodology):
In your methodology section, introduce the following three analyses with
assumptions and models.
The response variable for all models will be vitamin D level.
•
•
•
Factorial ANOVA - two factors: "Sun_Exposure", "Gender"
Blocking (randomised design) - two fixed factors: "Sun_Exposure",
"Gender" and one random factor: "Country"
ANCOVA - two factors: "Sun_Exposure", "Gender" and continuous
variable: "Age".
Based on your findings in Part A, explain why we expect to get similar results for
these factorial ANOVA and ANCOVA tests.](https://content.bartleby.com/qna-images/question/1488de45-ffe6-488c-9535-0eb4dd2a544b/144c5a86-1456-4d92-800b-00c959d89d66/b88p6o_thumbnail.png)
Transcribed Image Text:Part B (Methodology):
In your methodology section, introduce the following three analyses with
assumptions and models.
The response variable for all models will be vitamin D level.
•
•
•
Factorial ANOVA - two factors: "Sun_Exposure", "Gender"
Blocking (randomised design) - two fixed factors: "Sun_Exposure",
"Gender" and one random factor: "Country"
ANCOVA - two factors: "Sun_Exposure", "Gender" and continuous
variable: "Age".
Based on your findings in Part A, explain why we expect to get similar results for
these factorial ANOVA and ANCOVA tests.
Solution
Recommended textbooks for you
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
![Elementary Statistics: Picturing the World (7th E…](https://www.bartleby.com/isbn_cover_images/9780134683416/9780134683416_smallCoverImage.gif)
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
![The Basic Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319042578/9781319042578_smallCoverImage.gif)
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
![Introduction to the Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319013387/9781319013387_smallCoverImage.gif)
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman