Question

In: Statistics and Probability

Do the following using R. You must also turn in a copy of your R code....

Do the following using R. You must also turn in a copy of your R code.

(10) What is the probability a beta (1, 8) random variable is less than 0.13?

(11) What is the probability a beta (3, 9) random variable is greater than .4?

(12) What is the probability a beta (18,4.4) random variable is between 0.6 and 0.7?

(13) At what value of x is the probability that a beta (4, 7) random varable is less than x equal to .71? That is, for what x is P r(beta(4, 7) random variable < x) = .71?

(14) At what value of x is the probability that a beta (12.2, 25.7) random variable is less than x equal to .2? That is, for what x is P r(beta(12.2, 25.7) random variable < x) = .2?

Solutions

Expert Solution

R- Script is

# 10. what is the probability abeta(1,8) random variable is less than 0.13
p10=pbeta(0.13,1,8);p10

#11. what is the probability a beta (3,9) random variable is greater than
p11 =1-pbeta(0.4,3,9);p11

# 12 what is the probability a beta(18,4.4) random variable is between 0.6 and 0.7
p12 =pbeta(0.7,18,4.4)-pbeta(0.6,18,4.4);p12

#Q13 At what value of x is the probability that a beta(4,7) random variable is less than x equal to 0.71
p13 =qbeta(0.71,4,7);p13

#Q14 At what value of x is the probability that a beta (12.2,25.7) random variable is less than x equal to 0.2
p14=qbeta(0.2,12.2,25.7);p14

R-console output is

> # 10. what is the probability abeta(1,8) random variable is less than 0.13
> p10=pbeta(0.13,1,8);p10
[1] 0.6717883
>
>
> #11. what is the probability a beta (3,9) random variable is greater than
> p11 =1-pbeta(0.4,3,9);p11
[1] 0.1189168
>
>
> # 12 what is the probability a beta(18,4.4) random variable is between 0.6 and 0.7
> p12 =pbeta(0.7,18,4.4)-pbeta(0.6,18,4.4);p12
[1] 0.09770375
>
>
> #Q13 At what value of x is the probability that a beta(4,7) random variable is less than x equal to 0.71
> p13 =qbeta(0.71,4,7);p13
[1] 0.438946
>
>
> #Q14 At what value of x is the probability that a beta (12.2,25.7) random variable is less than x equal to 0.2
> p14=qbeta(0.2,12.2,25.7);p14
[1] 0.2572049
>

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Dear student,
I am waiting for your feedback. I have given my 100% to solve your queries. If you are satisfied by my given answer. Can you please help me out by giving thumbs up.
  
Thank You!!!


Related Solutions

Part 2– R work (must be done in R) Copy and paste your R code and...
Part 2– R work (must be done in R) Copy and paste your R code and output into a word document, along with your written answers to the questions, and upload to Canvas.   Follow these instructions to import the necessary dataset: Before opening the dataset needed for this problem, you’ll need to call the “car”package.  Run the following line of code: > library(car) Now you can import the “Prestige” dataset and use it to answer the question below. Name the data...
Using the R package to answer the following two questions. You MUST submit your R code...
Using the R package to answer the following two questions. You MUST submit your R code for analysis. 2. Below are heights for a simple random sample of n = 15 young trees (in cm). (50 pts) 27, 33, 33, 34, 36, 37, 39, 40, 40, 41, 41, 42, 44, 46, 47. (a) Test the hypothesis that the mean tree height is equal to 38 cm. (b) Calculate the 95% confidence interval for the population mean of young trees. (c)...
Using R Studio Use the two iid samples. (You can copy and paste the code into...
Using R Studio Use the two iid samples. (You can copy and paste the code into R). They both come from the same normal distribution. X = c(-0.06, 1.930, 0.608 -0.133,0.657, -1.284, 0.166, 0.963, 0.719, -0.896) Y = c(0.396, 0.687, 0.809, 0.939, -0.381, -0.042, -1.529, -0.543, 0.758, -2.574, -0.160, -0.713, 0.311, -0.515, -2.332, -0.844, -0.942, 0.053, 0.066, 0.942, -0.861, -0.186, -0.947, -0.110, 0.634, 2.357, 0.201, -0.428, -1.661, 0.395) (a) Report 95% confidence interval for the mean of X. Should we...
The following should be performed using R and the R code included in your submission. To...
The following should be performed using R and the R code included in your submission. To obtain first prize in a lottery, you need to correctly choose n different numbers from N and 1 number from 20, known as the supplementary. That is we first draw n numbers from 1:N without replacement and then 1 number from 1:20 in another draw. Suppose n=7 and N=35. Let X be the number of drawn numbers that match your selection, where the supplementary...
Calculations must be done in Excel – You must create your own spreadsheet do not copy...
Calculations must be done in Excel – You must create your own spreadsheet do not copy and paste someone else’s. Polycorp Limited Steel Division is considering a proposal to purchase a new machine to manufacture a new product for a potential three year contract. The new machine will cost $1.9 million. The machine has an estimated life of three years for accounting and taxation purposes. Installation will cost a further $120,000. The contract will not continue beyond three years and...
Use R to answer the following question. Copy and paste the code and answer from R...
Use R to answer the following question. Copy and paste the code and answer from R into your paper. On the average,five cars arrive at a particular car wash every hour. Let X count the number of cars that arrive from 10 AM to 11 AM. Then X ∼pois(lambda = 5). Also, μ = σ2 = 5.  What is the probability that no car arrives during this period?  Suppose the car wash above is in operation from 8AM...
* Make sure you turn in your code (take a screen shot of your code in...
* Make sure you turn in your code (take a screen shot of your code in R)and answers. Conduct the hypothesis and solve questions by using R. 2) A random sample of 12 graduates of a secretarial school averaged 73.2 words per minute with a standard deviation of 7.9 words per minute on a typing test. What can we conclude, at the .05 level, regarding the claim that secretaries at this school average less than 75 words per minute on...
R studio questions Write up your answers and paste the R code Copy and paste all...
R studio questions Write up your answers and paste the R code Copy and paste all plots generated. First create a sample drawn from a normal random variable. R has many distributions for which you can get probabilities and draw random numbers. We are going to use the normal. Go to help in R and type in rnorm. You will see a write up for functions associated with the normal distribution. dnorm is the density; pnorm is the probability distribution...
***This problem must be done using R so please provide the R code used to find...
***This problem must be done using R so please provide the R code used to find the solution. I have provided the data in data-wtLoss.txt below the question. I will also give "thumbs-up for correct R code" Thanks in advance.*** The file “data-wtLoss.txt” contains data on weight loss and self esteem evaluation at three time points over a period of three months for 34 individuals who are randomly selected from a residential area. These individuals are randomly assigned to one...
***This problem must be done using R so please provide the R code used to find...
***This problem must be done using R so please provide the R code used to find the solution. I have provided the data in data-wtLoss.txt below the question. I will also give "thumbs-up for correct R code" Thanks in advance.*** The file “data-wtLoss.txt” contains data on weight loss and self esteem evaluation at three time points over a period of three months for 34 individuals who are randomly selected from a residential area. These individuals are randomly assigned to one...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT