a. X=c(2.45,
1.20,
0.85,
1.33,
2.25,
2.25,
2.09,
2.99,
1.00,
0.88,
1.42,
2.36,
2.15,
2.85,
1.52,
1.99,
2.38,
0.85,
2.22,
2.75)
R Code :
summary(X)
Range = max(X)-min(X)
Range
sd= sd(X)
sd
var(X)
Result :
Min. 1st Qu. Median Mean 3rd Qu. Max. 0.850 1.298 2.120 1.889 2.365 2.990 [1] 2.14 #Range [1] 0.6979059 #SD [1] 0.4870726 #Variance
B. Code :
Histogram= hist(X)
OUtput :
Here we have taken 5 intervals for 20 observation. Width 0.5 . The distribution is not symmetric. It's negatively skewed.
C . From part a we got min and max to be 0.85 and 2.99
hence 2.99-0.85=2.04 , so we take lower limit as 0.5 and upper as 3.
so if we split in 5 intervals we will get 0.5 width for each
below is the frequency table :
R code :
low_val =0.5
hi_val= 3
x_break=0.5
breaks=seq(low_val,hi_val,x_break)
breaks
y=cut(X,breaks)
y
z=table(y)
z
Output :
# The breaks :
X_break=
[1] 0.5 1.0 1.5 2.0 2.5 3.0 Y= [1] (2,2.5] (1,1.5] (0.5,1] (1,1.5] (2,2.5] (2,2.5] (2,2.5] (2.5,3] (0.5,1] [10] (0.5,1] (1,1.5] (2,2.5] (2,2.5] (2.5,3] (1.5,2] (1.5,2] (2,2.5] (0.5,1] [19] (2,2.5] (2.5,3] Levels: (0.5,1] (1,1.5] (1.5,2] (2,2.5] (2.5,3] The frequency table : Z (0.5,1] (1,1.5] (1.5,2] (2,2.5] (2.5,3] 4 3 2 8 3
that is
Value freq
0.5-1 4
1- 1.5 3
1.5-2 2
2-2.5 8
2.5-3 3
based on part b :
0.5-1 = 4/20=20%
.1-1.5 = 3/20 = 15%
1.5-2=2/20=10%
2-2.5= 8/20=40%
2.5-3= 3/20=15%
1) The following is a list of prices (in dollars) of birthday cards found in various...
please answer 1 and 2 in detail Q1) Twenty six smokers were surveyed to ascertain the number of cigarettes each smoked for a 1 weelk period. The results are as follows: 44 39 37 21 31 28 44 29 30 52 40 20 24 32 22 27 50 43 26 37 26 51 34 27 33 25 Create a frequency distribution with 5 classes using the headings: #ofcigarettes. Frequency(), Cumulative Frequency (c), and relative frequency (r). Show details of your...
1. Four objects are weighed 2 at a time on a spring balance. Denote the 4 unknown weights by B1,...,BA. Six observations are made and are expressed in these forms: Y = B: + 32 + €1. Y = B1 + B3 + €2, Y3 = B1 + B1 + €3, Y4 = 32 +33 + €4, Y = B2 + 4 + €5, Y6 = 33 +34 + €6. Assume that €, N (0,0%), i = 1,...,6. (a) Find...
little lose on step #3 1. The following data set represents the amount spent (in dollars) by 45 shoppers at a supermarket. Construct a frequency distribution for the variable, and also report the relative frequencies for each class in your frequency distribution. NOTE: the data is in dollars and cents; you can not change that data! 1081, 1269, 1378, 15.23, 15.62. 17.00, 17.39. 18.36. 1843. 1927, 19.50.1954. 20.16, 20.59, 22.22, 23.04, 2447. 24.58, 25.13, 26.24.26.26, 27.65, 28.06, 28.08, 28.38, 32.03,...
Could you please help me with questions 1a-1b please? ( since i could only find the formula needed for 1a, if u aren't sure with 1b u can just do 1a but please dont reply "no enough data given " because i have a lil systemical problem with replying the comments) * the first question was asked to complete the anova table ( table 9.1 in the picture ) by using the formulas ( in the pictures) * I have...
Suppose 1000 coins are tossed. Use the normal curve approximation to the binomial distribution to find the probability of getting the following result. Exactly 495 heads Use the table of areas under the standard normal curve given below. Click here to view page 1. Click here to view page 2. Click here to view page 3. Click here to view page 4. Click here to view page 5. Click here to view page 6. The probability of getting exactly 495...
Suppose 16 coins are tossed. Use the normal curve approximation to the binomial distribution to find the probability of getting the following result. More than 11 tails. Use the table of areas under the standard normal curve given below. Click here to view page 1. Click here to view page 2. Click here to view page 3. Click here to view page 4. Click here to view page 5. Click here to view page 6. Binomial probability = (Round to...
Write the C program, to achieve as shown in the sample code execution, using the given struct and using the comments in the given main program below: typedef struct{ char first[20]; char last[20]; float gpa; int score; } student; int main(void){ student *ptr; //first name //last name //student gpa //student score } //ask a user to enter the number of students, num //dynamically allocate memory for an array of students of the appropriate size (i.e. //num that the user just...
Please Answer ONLY F1, F2 and G . Thanks Problem: Daycare Management You've been hired as the Chief Statistician for the SummerlsFun Co. The corporation operates a variety of Summer Children Camp/Daycare chains: ParentsOasis SunAndPlay NoPlaceLikeHome As part of their ongoing marketing effort, SummerIsFun Co. collects a variety of statistics about their members. The database includes the following data (a) Child's age category: infant, toddlers, preschool, pre-K к} (b) Child's BMI category: underweight, normal weight overweight, obese (e) Number of...
1. Two manufacturing processes are being compared to try to reduce the number of defective products made. During 8 shifts for each process, the following results were observed: Line A Line B n 181 | 187 Based on a 5% significance level, did line B have a larger average than line A? *Use the tables I gave you in the handouts for the critical values *Use the appropriate test statistic value, NOT the p-value method *Use and show the 5...