Use R - stuido
6. Consider a fair coin. If Y = # of tosses until first H, what are P(success), EY, and VY?
7. Next, take a quarter and record # of tosses until first H. Do this experiment 30 times: so that your first experiment consists of your tosses up to your first H, and you record the number of T before the coin came up heads. Then you pretend to start over: reset your count and toss the coin until you get a H again. The count of T before the second H but after the first H will be the value y for your second experiment. Continue to do this until you have 30 values y for Y. Record this data in R using c().
8. Plot a histogram of these 30 values.
9. In R, calculate the average and sample variance of the 30 values you recorded. Is it close to the expected value and variance of Y?
10. Next take a penny and repeat Q7.
11. Plot a comparative boxplot of your quarter data and penny data. Are they similar or different?
12. In R, calculate the average and sample variance of the 30 values you recorded for the penny data. Is it close to the expected value and variance of Y?
13. If either of the above coins do not seem similar to EY and VY, consider: if the P(H) ≠ .5 of a coin, how might Ex and Vx change? To answer this, consider what happens to EY when P(H) > .5 and when P(H) < .5. For VY, try to draw a graph of P(H) versus VY 1. Learn about binomial and geometric r.v.s by conducting experiments and collecting data 2. Address binomial and geometric problems through different angles a. finding parameters versus verifying probabilities or b. identifying situations to fit models versus creating situations to fit models using the R function plot(, ), where should be a sequence of values using seq(from=, to = , by = .1) and describe the trends of the graph.
Use R - stuido 6. Consider a fair coin. If Y = # of tosses until first H, what are P(success), EY...
A fair coin is flipped independently until the first Heads is observed. Let the random variable K be the number of tosses until the first Heads is observed plus 1. For example, if we see TTTHTH, then K = 5. For k 1, 2, , K, let Xk be a continuous random variable that is uniform over the interval [0, 5]. The Xk are independent of one another and of the coin flips. LetX = Σ i Xo Find the...
linear regression solve number 1 only 1. (a) Consider the model Y =Bo+BX +BX2+BX3 + B4X4+€. If it is suggested to you that the two variables Z = X1+ X4 and Z2 X+ X might be adequate to represent the data, what hypothesis, in the form CB 0, would you need to test? (Give the form of C) (b) For the data ((Xi, X2, Y) : (-1, -1,5.2). (-1,0,6.1). (0,0.7.8), (1,0, 10.3), (1.1,10.9)). fit the model Y Bo + 3,X+2X2+....
I REALLY need numbers 2 and 3 and 5 by like tomorrow morning. I have no clue how to do these. I know the image quality is iffy but please help as best you can Homework1 STA4322 Homework 1, Spring 2019 Please turn in your own work, though you may discuss the problems with classmates, the TA, the Professor, the internet, etc. The most important thing is that you understand the problems and how they are solved as they will...
Need help with stats true or false questions Decide (with short explanations) whether the following statements are true or false a) We consider the model y-Ao +A(z) +E. Let (-0.01, 1.5) be a 95% confidence interval for A In this case, a t-test with significance level 1% rejects the null hypothesis Ho : A-0 against a two sided alternative. b) Complicated models with a lot of parameters are better for prediction then simple models with just a few parameters c)...
Exercise 6,7,8, and 9 use data from exercise 5 for exercise 6. use data from the graph for 7,8,9 d. LY, for some integer k> 0 5. The following table contains quarterly nominal GDP in U.S. (billions of dol- lars). Let Y, denote the GDP at time t and let y, = ln (Y). (Show your calculations in a spreadsheet, e.g., in Microsoft Excel.) a. Plot the time series (Y). Can the underlying stochastic process be weakly b. Calculate the...
use the dosest that is m e. In some tions, this choice for ever y In this problem, me that the distribution of Merence is promately normal. Note: For degrees of freedom dr. not in the student's amount and therefore produce a more conservative answer the company percentage increase in revenue, versus the CEO' s ul percenta r y Are America's op h executive ofers ( COS) a t that money? One way to answer this question is to look...
R studio #Exercise : Calculate the following probabilities : #1. Probability that a normal random variable with mean 22 and variance 25 #(i)lies between 16.2 and 27.5 #(ii) is greater than 29 #(iii) is less than 17 #(iv)is less than 15 or greater than 25 #2.Probability that in 60 tosses of a fair coin the head comes up #(i) 20,25 or 30 times #(ii) less than 20 times #(iii) between 20 and 30 times #3.A random variable X has Poisson...
Please Help me to full the all blank (11 blanks in total) 6. The sampling distribution of the sample proportion In 2007, about 30% of new-car purchases in California were financed with a home equity loan. [Source: "Auto Industry Feels the Pain of Tight Credit," The New York Times, May 27, 2008.] The ongoing process of new-car purchases in California can be viewed as an infinite population Define p as the proportion of the population of new-car purchases in California...
*Please show work TIA:-) Date: Name: Storm Tracker Portfolio Worksheet PRECALCULUS: PARAMETRIC FUNCTIONS Directions: Meteorologists use sophisticated models to predict the occurrence, duration, and trajectory of weather events. They build their models based on observations that they have made in the past. By understanding how previous weather events evolved, meteooogists can apply that knowledge to future weather Parametric equations can be used to graph the path of an object in space. For example, used to describe the path of a...
Nombre . Responde las siguientes preguntas A) SI P(A 6 B)-1/3 P(B)- 1/4 y P(Ay B)-1/5, halle P(A) B ) Cual es la probabilidad de lanzar un par de dados y que la suma de los resultados de los dos dados sea 7 C ) Una prueba de selección múltiple tiene cinco posibles respuestas de las cuales una es correcta, si 13 estudiantes eligen las respuestas al azar. Cuaál es la probabilidad de que los 13 escojan la respuesta correcta?...