1. Find a data set that is likely random distribution. This could be baseball batting averages, heights, or some other attribute. Should be > 20 values. 2. Using R, create a vector with c command. X <- C(1,2,5,8,9) 3. Find the mean and the standard deviation. The commands are - if X is the vector: mean(X) and sd(X). 4. Use the dnrom command & graph the estimated Gaussian distribution over a reasonable range (created with seq())

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
100%

PLEASE type cods For R program thank you

The average of Dogs Breeds With Longest Life Spans
Jack Russell
Parson Russell terriers
Lhasa apso
Miniature dachshund
Miniature poodle
Bearded collie
Cardigan Welsh corgi
1.
14
14
3
14
4
14
14
13
7
13
Dachshund
14
English springer spaniel
Shetland sheepdog
Shih tzu
Toy poodle
Border collie
West Highland white terrier
Whippet
Afghan hounds
Golden retriever
Australian shepherd
Вeagle
Bichon frise
English cocker spaniel
English setter
Irish setter
Labrador retriever
9
13
10
13
11
14
12
13
13
13
14
13
15
13
16
12
17
12
18
12
19
12
20
12
21
12
22
12
23
12
24
12
25
Maltese
12
26
Miniature schnauzer
12
TOTAL
334
6.
Transcribed Image Text:The average of Dogs Breeds With Longest Life Spans Jack Russell Parson Russell terriers Lhasa apso Miniature dachshund Miniature poodle Bearded collie Cardigan Welsh corgi 1. 14 14 3 14 4 14 14 13 7 13 Dachshund 14 English springer spaniel Shetland sheepdog Shih tzu Toy poodle Border collie West Highland white terrier Whippet Afghan hounds Golden retriever Australian shepherd Вeagle Bichon frise English cocker spaniel English setter Irish setter Labrador retriever 9 13 10 13 11 14 12 13 13 13 14 13 15 13 16 12 17 12 18 12 19 12 20 12 21 12 22 12 23 12 24 12 25 Maltese 12 26 Miniature schnauzer 12 TOTAL 334 6.
Gaussian Project
1. Find a data set that is likely random distribution. This could be baseball batting averages, heights, or some other attribute. Should be > 20
values.
2. Using R, create a vector with c command. X <- C(1,2,5,8,9)
3. Find the mean and the standard deviation. The commands are - if X is the vector: mean(X) and sd(X).
4. Use the dnrom command & graph the estimated Gaussian distribution over a reasonable range (created with seq())
Transcribed Image Text:Gaussian Project 1. Find a data set that is likely random distribution. This could be baseball batting averages, heights, or some other attribute. Should be > 20 values. 2. Using R, create a vector with c command. X <- C(1,2,5,8,9) 3. Find the mean and the standard deviation. The commands are - if X is the vector: mean(X) and sd(X). 4. Use the dnrom command & graph the estimated Gaussian distribution over a reasonable range (created with seq())
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
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…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
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
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman