1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ber [7]
2 years ago
7

g In R simulate a sample of size 20 from a normal distribution with mean µ = 50 and standard deviation σ = 6. Hint: Use rnorm(20

,50,6) to get one random sample of size 20. Determine the mean and standard deviation from this sample, compare these with the population mean and standard deviation.
Mathematics
1 answer:
Illusion [34]2 years ago
5 0

Answer:

> a<-rnorm(20,50,6)

> a

[1] 51.72213 53.09989 59.89221 32.44023 47.59386 33.59892 47.26718 55.61510 47.95505 48.19296 54.46905

[12] 45.78072 57.30045 57.91624 50.83297 52.61790 62.07713 53.75661 49.34651 53.01501

Then we can find the mean and the standard deviation with the following formulas:

> mean(a)

[1] 50.72451

> sqrt(var(a))

[1] 7.470221

Step-by-step explanation:

For this case first we need to create the sample of size 20 for the following distribution:

X\sim N(\mu = 50, \sigma =6)

And we can use the following code: rnorm(20,50,6) and we got this output:

> a<-rnorm(20,50,6)

> a

[1] 51.72213 53.09989 59.89221 32.44023 47.59386 33.59892 47.26718 55.61510 47.95505 48.19296 54.46905

[12] 45.78072 57.30045 57.91624 50.83297 52.61790 62.07713 53.75661 49.34651 53.01501

Then we can find the mean and the standard deviation with the following formulas:

> mean(a)

[1] 50.72451

> sqrt(var(a))

[1] 7.470221

You might be interested in
-3x + 12 = 18 please help it’s urgent
Lostsunrise [7]

Answer:

Move all terms that don't contain x to the right side and solve.

x = −2

3 0
3 years ago
Read 2 more answers
I NEED HELP IN THIS QUESTION PLEASE
aliina [53]
Looks like you got it right :) Each package contains 8 chocolates, so to find 8 containers, just multiply by 8 to get 64, which would be H.
5 0
2 years ago
2/3b 6+7=-1 <br><br> What is the value of b?
ZanzabumX [31]

Answer:

i dont know sorry

Step-by-step explanation:

5 0
2 years ago
PLEASE ANSWER AS QUICKLY AS POSSIBLE!!
Romashka [77]

Answer:

y=-3x-3

Step-by-step explanation:

8 0
2 years ago
Read 2 more answers
Negative 3 is twice as large as a number,h
alina1380 [7]

Answer:

negative 6 is the answer

Step-by-step explanation:

8 0
3 years ago
Other questions:
  • What is the slope of the line?
    11·2 answers
  • Need help asap!!! plsss
    14·1 answer
  • How many time does 8 go into 27
    5·2 answers
  • Tricia is going to write Patterns A, B, and C using the rule add 15. The first
    10·1 answer
  • If ABCD is dilated by a factor of 3, the
    14·1 answer
  • 1) A farmer has sheep and cattle in the ratio 8:3.
    9·1 answer
  • 1 Krista has 10 cups of gelatin. If each bowl holds 3 cup, how many bowls can she fill?​
    14·1 answer
  • Which set of ordered pairs represents y as a function of x?
    5·1 answer
  • I need help finding the volume of this figure.
    5·2 answers
  • The circumference of a circle is 9 pi m. What is the area, in square meters? Express your answer in terms of pi​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!