Creating a binomial distribution table using R Write an R code for creating a binomial table...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Creating a binomial distribution table using R Write an R code for creating a binomial table for the following n and p. 1. n = 1,...,10 2. p = 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6,0.7, 0.8, 0.9, 0.95 Show the code and the output (see the example on the next page). A-1 n=2 D=4 D-5 D-7 C 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 0 1 2 3 4 5 6 0 1 2 3 4 5 6 7 0.05 0.20 0.30 0.40 0.10 0.950 0,900 0.800 0.700 0.600 1.000 1.000 1.000 1.000 1.000 0.903 0.810 0.998 0.990 1.000 1.000 0.640 0.960 1.000 1.000 0.857 0.729 0.512 0.343 0.216 0.993 0.972 0.896 0.784 0.648 1.000 0.999 0.992 0.973 0.936 1.000 1.000 1.000 1.000 1.000 0.490 0.360 0.910 0.840 1.000 0.986 0.948 0.815 0.656 0.410 0.240 0.130 0.652 0.475 0.821 0.974 0.819 0.973 0.916 1.000 0.996 1.000 1.000 1.000 1.000 1.000 0.998 0.992 1.000 1.000 1.000 1.000 0.774 0.590 0.328 0.168 0.977 0.919 0.999 1.000 0.737 0.528 0.837 0.991 0.942 1.000 0.993 1.000 1.000 1.000 1.000 0.735 0.531 0.262 0.967 0.886 0.655 0.998 0.984 0.901 1.000 0.999 0.983 0.930 0.821 1.000 1.000 0.998 0.989 0.959 0.999 0.996 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 0.50 0.500 0.400 1.000 1.000 1.000 0.118 0.420 0.60 0.70 0,80 0.300 0.200 1.000 0.250 0.160 0.090 0.750 1.000 1.000 0.078 0.031 0.337 0.683 0.969 0.913 0.998 0.990 1.000 1.000 1.000 0.640 0.510 0.360 0.001 0.125 0.064 0.027 0.008 0.500 0.352 0.216 0.104 0.028 0.488 0.271 0.875 0.784 0.657 1.000 1.000 1.000 1.000 1.000 0.002 0.000 0.008 0.084 0.027 0.004 0.063 0.026 0.313 0.179 0.688 0.525 0.938 0.870 0.760 0.590 0.348 0.181 0.052 0.344 1.000 1.000 1.000 1.000 1.000 0.040 0.010 0.190 1.000 1.000 1.000 0.188 0.500 0.317 0.813 0.663 0.969 0.922 1.000 0,90 0.100 1.000 0.010 0.002 0.000 0.000 0.087 0.031 0.007 0.000 0.009 0.004 0.041 0.047 0.016 0.233 0.109 0.744 0.544 0.344 0.179 0.070 0.017 0.001 0.456 0.256 0.099 0.016 0.656 0.891 0.767 0.580 0.345 0.114 0.882 0.738 0.469 0.984 0.953 1.000 1.000 1.000 1.000 1.000 0.698 0.478 0.210 0.082 0.028 0.956 0.850 0.577 0.329 0.159 0.996 0.974 0.852 0.647 0.420 0.227 0.096 1.000 1.000 0.997 0.967 0.874 1.000 0.995 0.971 1.000 0.996 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 0.163 0.058 0.472 0.263 0.081 0.832 0.672 0.410 1.000 1.000 1.000 0.95 0.050 1.000 0.003 0.098 1.000 0.000 0.007 0.143 1.000 0.000 0.000 0.014 0.185 1.000 0.000 0.000 0.001 0.023 0.226 1.000 0.001 0.000 0.000 0.000 0.011 0.002 0.000 0.000 0.000 0.002 0.033 0.265 1.000 0.008 0.002 0.000 0.000 0.000 0.000 0.000 0.063 0.019 0.004 0.029 0.005 0.000 0.710 0.500 0.290 0.126 0.033 0.003 0.904 0.773 0.580 0.353 0.148 0.026 0.981 0.938 0.841 0.671 0.423 0.150 0.998 0.992 0.972 0.918 0.790 0.522 1.000 1.000 1.000 1.000 1.000 1.000 0.000 0.000 0.000 0.000 0.004 0.044 0.302 Creating a binomial distribution table using R Write an R code for creating a binomial table for the following n and p. 1. n = 1,...,10 2. p = 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6,0.7, 0.8, 0.9, 0.95 Show the code and the output (see the example on the next page). A-1 n=2 D=4 D-5 D-7 C 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 0 1 2 3 4 5 6 0 1 2 3 4 5 6 7 0.05 0.20 0.30 0.40 0.10 0.950 0,900 0.800 0.700 0.600 1.000 1.000 1.000 1.000 1.000 0.903 0.810 0.998 0.990 1.000 1.000 0.640 0.960 1.000 1.000 0.857 0.729 0.512 0.343 0.216 0.993 0.972 0.896 0.784 0.648 1.000 0.999 0.992 0.973 0.936 1.000 1.000 1.000 1.000 1.000 0.490 0.360 0.910 0.840 1.000 0.986 0.948 0.815 0.656 0.410 0.240 0.130 0.652 0.475 0.821 0.974 0.819 0.973 0.916 1.000 0.996 1.000 1.000 1.000 1.000 1.000 0.998 0.992 1.000 1.000 1.000 1.000 0.774 0.590 0.328 0.168 0.977 0.919 0.999 1.000 0.737 0.528 0.837 0.991 0.942 1.000 0.993 1.000 1.000 1.000 1.000 0.735 0.531 0.262 0.967 0.886 0.655 0.998 0.984 0.901 1.000 0.999 0.983 0.930 0.821 1.000 1.000 0.998 0.989 0.959 0.999 0.996 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 0.50 0.500 0.400 1.000 1.000 1.000 0.118 0.420 0.60 0.70 0,80 0.300 0.200 1.000 0.250 0.160 0.090 0.750 1.000 1.000 0.078 0.031 0.337 0.683 0.969 0.913 0.998 0.990 1.000 1.000 1.000 0.640 0.510 0.360 0.001 0.125 0.064 0.027 0.008 0.500 0.352 0.216 0.104 0.028 0.488 0.271 0.875 0.784 0.657 1.000 1.000 1.000 1.000 1.000 0.002 0.000 0.008 0.084 0.027 0.004 0.063 0.026 0.313 0.179 0.688 0.525 0.938 0.870 0.760 0.590 0.348 0.181 0.052 0.344 1.000 1.000 1.000 1.000 1.000 0.040 0.010 0.190 1.000 1.000 1.000 0.188 0.500 0.317 0.813 0.663 0.969 0.922 1.000 0,90 0.100 1.000 0.010 0.002 0.000 0.000 0.087 0.031 0.007 0.000 0.009 0.004 0.041 0.047 0.016 0.233 0.109 0.744 0.544 0.344 0.179 0.070 0.017 0.001 0.456 0.256 0.099 0.016 0.656 0.891 0.767 0.580 0.345 0.114 0.882 0.738 0.469 0.984 0.953 1.000 1.000 1.000 1.000 1.000 0.698 0.478 0.210 0.082 0.028 0.956 0.850 0.577 0.329 0.159 0.996 0.974 0.852 0.647 0.420 0.227 0.096 1.000 1.000 0.997 0.967 0.874 1.000 0.995 0.971 1.000 0.996 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 1.000 0.163 0.058 0.472 0.263 0.081 0.832 0.672 0.410 1.000 1.000 1.000 0.95 0.050 1.000 0.003 0.098 1.000 0.000 0.007 0.143 1.000 0.000 0.000 0.014 0.185 1.000 0.000 0.000 0.001 0.023 0.226 1.000 0.001 0.000 0.000 0.000 0.011 0.002 0.000 0.000 0.000 0.002 0.033 0.265 1.000 0.008 0.002 0.000 0.000 0.000 0.000 0.000 0.063 0.019 0.004 0.029 0.005 0.000 0.710 0.500 0.290 0.126 0.033 0.003 0.904 0.773 0.580 0.353 0.148 0.026 0.981 0.938 0.841 0.671 0.423 0.150 0.998 0.992 0.972 0.918 0.790 0.522 1.000 1.000 1.000 1.000 1.000 1.000 0.000 0.000 0.000 0.000 0.004 0.044 0.302
Expert Answer:
Answer rating: 100% (QA)
Code is output 1 For N 1 1 For p 005 1 Table is 1 005 095 1 For N 1 1 For p 01 1 Table is 1 01 09 1 For N 1 1 For p 02 1 Table is 1 02 08 1 For N 1 1 For p 03 1 Table is 1 03 07 1 For N 1 1 For p 04 1 ... View the full answer
Related Book For
Horngrens Cost Accounting A Managerial Emphasis
ISBN: 9780135628478
17th Edition
Authors: Srikant M. Datar, Madhav V. Rajan
Posted Date:
Students also viewed these accounting questions
-
Write an HTML code for the following webpage. logo.jpg Table Welcome to Web design & Development Use of lists 1-ME 2-Downloads 3-Contact us My favorite web design lanauge are: *HTML *Java Script *PHP...
-
Write an HTML code for creating a Student Webinar registration form with following fileds. Name, Department, Gender, Phone Number, City (Chennai, Bangalore, Hydrabad), Webinar Title (ML, DL). Student...
-
Write an HTML code for the following webpage (Form). Please complete the form below. Mandatory fields marked Delivery Details Name Address Town/City County Postcode* Is this address also your invoice...
-
A company sells four types of gift packages. The cost per unit and demand for each package type is shown in the table below. A fixed cost of $1,000 is also incurred for each different type of gift...
-
Two isotopes of a certain element have binding energies that differ by 5.03 MeV. The isotope with the larger binding energy contains one more neutron than the other isotope. Find the difference in...
-
The following table gives data on gold prices, the Consumer Price Index (CPI), and the New York Stock Exchange (NYSE) Index for the United States for the period 1974 2006. The NYSE Index includes...
-
On what element of the fraud triangle do most organizations usually focus their fraud prevention efforts? a. Perceived pressure b. Perceived opportunity C. Rationalization d. All three are targeted.
-
Dowling Sportswear is considering building a new factory to produce aluminum baseball bats. This project would require an initial cash outlay of $5,000,000 and would generate annual net cash inflows...
-
Convert 742 to Mayan Long Count (modified vigesimal). Give your answer using the base-sixty convention. If the representation is not unique, give the representation in which the digit in the 20's...
-
Branson Co. received its bank statement for the month ending May 31, 2022, and reconciled the statement balance to the May 31, 2022, balance in the Cash account. The reconciled balance was determined...
-
Blue Spruce Inc.s weekly payroll of $29,000 included employee income taxes withheld of $4,324, Canada Pension Plan (CPP) withheld of $1,248, and Employment Insurance (EI) withheld of $580. Prepare...
-
Three groups of children were given two tests. The numbers of children and the sample correlation coefficients between the two test scores in each group were as follows: Is there any evidence that...
-
Considering conflict from a critical perspective involves a focus on the key concept of power in social relationships. That power may be expressed either covertly or overtly. The location of power...
-
Because of extra-inning games, the median might be a more meaningful statistic for the length-of-game data in the previous exercise. The median length of all 2430 MLB games in 2018 was min. a. Use...
-
The number of stores a person visits on a shopping trip Name and define the four types of measurement levels used in statistics. determine whether the data are qualitative or quantitative.
-
Exercise 16 of Chapter 1 presented data on the noise level (dBA) experienced by a sample of 77 individuals working at a particular office. a. Construct a 95% confidence interval for the true average...
-
Explain the operation of airbags, tennis racquets, and rolling when you jump from a moving vehicle. Why do we bend our knees when we land?
-
Explain the term "Equivalent Units". Why are they calculated in process costing? [4 Marks] [minimum 350 words]
-
Why might a flexible-budget analysis be more informative than a static-budget analysis?
-
Smart Jeans Ltd. orders high-quality denim fabric from two different suppliers: Shine Fabrics and Soft Cotton. Smart would like to use only one of the suppliers in the future. Due to variations in...
-
Brown Industries operates several laminate flooring plants. Given the competitive pricing for flooring, Browns managers pay close attention to costs. Each plant uses a processcosting system, and at...
-
Why is the thermodynamic process also called cyclic process? Explain with suitable example.
-
A mercury manometer reads \(40 \mathrm{~cm}\) at \(30^{\circ} \mathrm{C}\) and \(1 \mathrm{~atm}\). Determine the absolute pressure, given that \(ho_{\mathrm{Hg}}=14.02 \mathrm{~g} /...
-
Define isothermal, isochoric and isobaric processes with suitable examples.
Study smarter with the SolutionInn App