I am attaching the R code for part (a) , (b) & (c)
Ans Pr (X<=8) = 0.2735315
Ans Pr (X<8) = 0.0546875
Ans Pr (X>=8) = 0.0546875
5. In this question, you are asked to learn about the pbinom command in R. If...
. In this question, you are going determine the outcome of a test without assuming that the sample size condition holds for tests involving a population proportion. Consider the situation described in the box below About 13% of the population is left-handed. A biologist suspects that the scientific community is not like the general population in terms of handedness. He believes that scientists are more likely to be left-handed. He asks 40 scientists and finds that 7 are left-handed. Does...
6. In this question, you are going to study the approximation to binomial probabilities using the nor mal distribution. The binomial distribution is discrete while the normal distribution is continuous Therefore, we would expect some issues with approximating the binomial with the normal. (a) (2 points) Suppose X ~ Bin (25,04). Calculate E (N) and Var . (b) (4 points) Use the central lit theorem along with (a) to approximate Pr (X 8). Compare this with your result in #4(a)....
This is a question about writting R code for a linear regression model. 8. . (13 marks) Given four points (1,0.8), (4,4.2), (5,4.7) and (7,7.8), write down your R code to Build the linear regression model. (a) (4 marks) Predict the results on the new data with a sequence of 51 numbers equally spaced (b) values starting from 0 to 8 (4 marks) Generate the plot in Figure 3, where the curved lines are the upper (upr) and lower (c)...
R is a little difficult for me, please answer if you can interpret the R code, I want to learn better how to interpret the R code 4. each 2 pts] Below is the R output for a simple linear regression model Coefficients: Estimate Std. Error t value Pr(>t) (Intercept) 77.863 4.199 18.544 3.54e-13 3.485 3.386 0.00329* 11.801 Signif. codes: 0 0.0010.010.05 0.11 Residual standard error: 3.597 on 18 degrees of freedom Multiple R-squared: 0.3891, Adjusted R-squared: 0.3552 F-statistic: 11.47...
Question 11 You are in the oranges directory. Write the command to copy the mandarin file to the apples directory. Use a relative path. 2 points Question 12 Which command do you use to rename files and directories? A. uname B. mv C. rn D. rename 2 points Question 13 You are in the oranges directory. Write the command to list...
question 9 from A to F 9. (5 points) Please answer the following questions about the function fr) - 21² f(x) = 2.9 al num- increas- for the Instructions: . If you are asked for a function, enter a function. - If you are asked to find X- or y-values, enter either a number or a list of numbers separated by commas. If there are no solutions, enter None. . If you are asked to find an interval or union...
Problem 4 (7 points): What is the output (printed to command prompt) of the following code (Exam2Prob4.m)? DO NOT USE MATLAB for solving this problem. ZERO CREDIT if all steps are not shown. You should explain the output of each code as if you are executing the code. (answer 2 points; process, with each step - 8 points) Exam2 Prob4.m clc; clear; close all; p=4; q = 3; r5; (x, y] = user Defined (p, q, r); fprintf('x- $d, y=%d',x,y);...
R code all steps (copy paste it) - for all answers . R problem 1: Cernsus At School is a project that engages students in grades 4 - 12. The data from the project contains many variables. In this problem we will examine the following variables: -Languages.spoken: the number of languages a student can hold an everyday conversation Armspan.cm: the physical measurement of the length from one end of a student's arms (measured at the fingertips) to the other when...
You are asked to prepare a software for kids to learn addition, subtraction and multiplication for numbers from 1 to 10. Ensure that the answer is always positive. The software will prepare objective questions with four choices. The answer provided by the kid will be checked by the software. After the session is over, the software will provide a summary. Number of questions answered will depend on the kid. The questions are generated randomly. The multiple choices are also generated...
Please help this out with all Purpose: Learn how to get input and print out formatted results using scanf and printf separately in C. 1) Write a C program getPhone Number:c that accepts a phone number from the user in the form XXX-XXX-XXXX, and then displays it in the form (XXX)XXX-XXXX: Enter a phone (XXX-XXX-XXXX): 011-123-4567 You entered (011) 123-4567 Question: Execute your getPhoneNumber.c and attach a screenshot of the output. Then write the source code of getPhoneNumber.c in your...