Question

Run these commands in R, then describe what the resulting numbers represent. a) pbinom(q=5, size=10, prob=1/6)...

Run these commands in R, then describe what the resulting numbers represent.

a) pbinom(q=5, size=10, prob=1/6)

b)

n=10

p=.5

x=9

pbinom(x, n, p)

c) punif(5, min=1, max=10) - punif(4, min=1, max=10)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

TOPIC:R-codes and description.

2 pbinom (q=5, size = 10, prob = 15) = 902. = To. 997.5618). Description :- The above command indicates - P (X<5). - where ,so, x = required x-value = 9, = No. of trials = 10, p = p (of success) = 0.5. 3 bunij (5, min= 1, max 10)-bunif (4, minal, ma

REQUIRED R-CODES AND OUTPUTS:

pbinom (q=5, size=10, prob=1/6) [1] 0.9975618 n=10 > pr.5 > x=9 > pbinom (X,n,p) [1] 0.9990234 min=1; max=10) > punif (5, min

Add a comment
Know the answer?
Add Answer to:
Run these commands in R, then describe what the resulting numbers represent. a) pbinom(q=5, size=10, prob=1/6)...
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
  • 5. Describe the following sets of real numbers and find the supremum and infimum of these...

    5. Describe the following sets of real numbers and find the supremum and infimum of these sets: (a) {x}\x2 – 2 <4€R} (b) {x|x+ 2 +13 – x4<4} (©) {x|x<for all neN} 6. For any two elements x and y of an ordered field, prove that _x+ y + x- x + y - x - y (a) max{x,y}=- (b) min{x,y}=-

  • Solve the problem 6 Hint- Prob Q-[0.1] x [O, 1], A-{(z, yje Q : y z)...

    Solve the problem 6 Hint- Prob Q-[0.1] x [O, 1], A-{(z, yje Q : y z) and B-( (z, y) є Q : y2 z). Let also f be a real-valued integrable function on such that AfdV 4. lem 6. Let (i) If Jo/dV = 3 find fBfdV, and compute the value of JB(2f + 5)dV. Hint: use the Tesult of problem 5 (ii) If f > 0 on A and E c A such that Vol(A \ E) =...

  • 1. Suppose you have created a vector x in R using the command x <-c(2, 7,...

    1. Suppose you have created a vector x in R using the command x <-c(2, 7, 3, 1, 9) . Please find the results for the following commands (2) xlc(1,3,5)] (3) x [2:4] (5) length(x) (6) x [2: length(x)1 (7) x[1: length(x)-1] (8) max(x) (9) min(x) 2. Besides the vector x in question 1, suppose you have created another vector y in R using the command y <- c(1, 2, 3, 4, 5). Please find the results for the following...

  • Use R instead of a calculator for Questions 5 and 6. Please attach the R commands...

    Use R instead of a calculator for Questions 5 and 6. Please attach the R commands output and graphs that you used to answer the question. The R output alone is not an answer to the question. Please write a sentence or two to properly answer each question. Assume that the distribution of the duration of human pregnancies can be approxi- mated with a normal distribution with a mean of 266 days and a standard deviation of 16 days (a)...

  • Problem 5. (20 pts) Let r,n N be two natural numbers with r < n. An...

    Problem 5. (20 pts) Let r,n N be two natural numbers with r < n. An r x n matrix M consisting of r rows and n columns is said to be a Latin rectangle of size (r, n), if all the entries My belong to the set {1,2,3,..., n), for 1Si<T, 1Sj<T, and the same number does not appear twice in any row or in any column. By defini- tion, a Latin square is a Latin rectangle of size...

  • Consider the following: Algorithm 1 Smallest (A,q,r) Precondition: A[ q, ... , r] is an array...

    Consider the following: Algorithm 1 Smallest (A,q,r) Precondition: A[ q, ... , r] is an array of integers q ≤ r and q,r ∈ N. Postcondition: Returns the smallest element of A[q, ... , r]. 1: function Smallest (A , q , r) 2: if q = r then 3: return A[q] 4: else 5: mid <--- [q+r/2] 6: return min (Smallest(A, q, mid), Smallest (A, mid + 1, r)) 7: end if 8: end function (a) Write a recurrence...

  • Need Linux Commands and instructions for the following: 6. Write a script to display numbers from...

    Need Linux Commands and instructions for the following: 6. Write a script to display numbers from 1 to n, where n is an integer provided by users (if not, default to 10). Hint: use "read" command to accept user input. a) Display the source code in an editor (#4-9) b) Execute your script in the terminal, and display the command and the result (#4-10)

  • what is the truth value of (~ w and Q) or (P if ~ r) given that r is false 5/30 wess For questions 6-10, answer tru...

    what is the truth value of (~ w and Q) or (P if ~ r) given that r is false 5/30 wess For questions 6-10, answer true, false or can't be determined because of insufficient information. What is the truth value of (w^q) v (p >~ r) given that r is false? 6. If (~bAc)- (av~ w) is false, then what is the truth value of aAc? 7. 8. Suppose mvrand rq are true statements. Ifq is true, then what...

  • 2. [14 marks] Rational Numbers The rational numbers, usually denoted Q are the set {n E R 3p, q ZAq&0An= Note that...

    2. [14 marks] Rational Numbers The rational numbers, usually denoted Q are the set {n E R 3p, q ZAq&0An= Note that we've relaxed the requirement from class that gcd(p, q) = 1. (a) Prove that the sum of two rational numbers is also a rational number (b) Prove that the product of two rational numbers is also a rational number (c) Suppose f R R and f(x)= x2 +x + 1. Show that Vx e R xe Qf(x) Q...

  • For a disk of radius R = 17 cm and Q = 4 ✕ 10-6 C,...

    For a disk of radius R = 17 cm and Q = 4 ✕ 10-6 C, calculate the electric field 4 cm from the center of the disk using all three formulas below. Note: ε0 = 8.85e-12 C2/(N·M2). For a disk of radius R 17 cm and Q 4 x 10 6 C, calculate the electric field 4 cm from the center of the disk using all three formulas below. Note: Eo 8.85e-12 C2 (N.M2). Q/A (a) Most accurate approximation:...

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
ADVERTISEMENT