Question

For expert using R , I appreciate everything can be helpful.. Thank you

For expert using R , I appreciate everything can be helpful..
media%2F3e3%2F3e364779-8434-4fd1-8b16-97
Thank you
0 0
Add a comment Improve this question Transcribed image text
Answer #1

(a)

R code:

x=rnorm(100,0,1)
p=length(subset(x,x<1.645))/100
p

pnorm(1.645)

Output F(1.645) 0.93, F(1.645) 0.95

(b)

R code:

x=matrix(0,800,1000)
p=1:800*0
for(i in 1:800)
{
x[i,]=rnorm(1000,0,1)
p[i]=length(subset(x[i,],x[i,]<1.645))/1000
}
mean(p)
var(p)

Output:

> mean(p)
[1] 0.9499062
> var(p)
[1] 4.545178e-05
Yes mean(p) is very closed to 0.95.

Add a comment
Know the answer?
Add Answer to:
For expert using R , I appreciate everything can be helpful.. Thank you
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • If you can show your work, I would appreciate it. Thank you! At 1000 K, K,...

    If you can show your work, I would appreciate it. Thank you! At 1000 K, K, = 19.9 for the reaction Fe2O3(s) + 3 CO(9) = 2 Fe(s) + 3 CO2(g). What is the value of K, for the reaction 12 Fe(s) +18 CO2(g) = 6 Fe2O3(s) +18 CO(g)? Express your answer using three significant figures.

  • Can you please show the work? Thank you so much. I really appreciate it. 3) Suppose...

    Can you please show the work? Thank you so much. I really appreciate it. 3) Suppose that an individual with income I cares about two goods, X and Y. The price of the two goods is Px and Py. Suppose an individual have the following utility function: U(X,Y)- min(X,Y) a) Find the Marshallian demand for X and Y. b) Find the indirect utility function. c) Find the expenditure function using the relationship between the indirect utility function and the expenditure...

  • If you can explain clearly in steps I would greatly appreciate it. Thank you. Pedigree Applications...

    If you can explain clearly in steps I would greatly appreciate it. Thank you. Pedigree Applications 1. The gene for spotted coat color in rabbits (R) is dominant to its allele for solid color (r). In the pedigree given below, assume that those individuals brought in the family do not carry the gene for solid color, unless there is evidence to the contrary. Further, assume that the probabilities that individuals IVI and IV2 will be careers for this trait are...

  • everything you know about respiratory acidosis. I want it typed. thank you.

    everything you know about respiratory acidosis. I want it typed. thank you.

  • If somebody could assist me with the below questions, I would greatly appreciate it! Thank you!...

    If somebody could assist me with the below questions, I would greatly appreciate it! Thank you! 1. Discuss the trade-off between strength and ductility in design. For example, are there design situations where ductility would be more important than strength? 2. Is there any range of stress that can be applied to a material without appreciably altering some of its material properties? Explain. **I would really appreciate it if the answer could be typed!

  • I need help ASAP and if you could please explain to me everything needed to do these i would very appreciate it. 10....

    I need help ASAP and if you could please explain to me everything needed to do these i would very appreciate it. 10.6 Describe the structural similarities and differences between the following pairs of polysaccharides: a. Glycogen and amylopectin b. Amylose and cellulose 10.6 Describe the structural similarities and differences between the following pairs of polysaccharides: a. Glycogen and amylopectin b. Amylose and cellulose

  • please answer the following questions i really appreciate it thank you 4 questions in total thank...

    please answer the following questions i really appreciate it thank you 4 questions in total thank you 0. The price for labor is the wage rate. What happens to the quantity of labor demanded if wages increase? It increases. b.) It decreases. c. It does not change. d. The whole demand schedule shifts to the left.

  • hello expert i would like to know about Pepsi company SWOT with 600 words thank you.

    hello expert i would like to know about Pepsi company SWOT with 600 words thank you.

  • can someone who is an expert on organic chemistry answer these; this is graded! thank you!...

    can someone who is an expert on organic chemistry answer these; this is graded! thank you! 3. Design concise syntheses for the following transformations. Show all reactants, reagents, and products for each step. a) i ako NH2 INH = 5 to z toho OON 4. Provide a step-by-step mechanism to account for the product of each of the following reactions. Show the structure of each of the intermediates and use curved arrows to indicate electron flow in each of these...

  • Can you please answer those question 300 words or more words . Thank you I appreciate...

    Can you please answer those question 300 words or more words . Thank you I appreciate your help . If you don’t mind type instead of handwriting. online stratford.edu Complete the CDC tutorial on displaying data. Work through the exercises as you do the tutorial. Then check TASK Read about the Zika outbreak. You will need to do some research. Be sure the sites and sources are valid. Then collect information for your team to use during the lesson. This...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT