
R code:
x=c(10,10,16,18,18,18)
mean(x)#AM
(prod(x))^(1/length(x))#GM
median(x)# median
names(table(x))[table(x)==max(table(x))] # mode
Output:
> mean(x)#AM
[1] 15
> (prod(x))^(1/length(x))#GM
[1] 14.50963
> median(x)# median
[1] 17
> names(table(x))[table(x)==max(table(x))] # mode
[1] "18"
R code:
x=c(10,10,16,18,18,18)
var(x)#variance
sd(x)#standard deviation
(sd(x)/mean(x))*100# coefficient of variation
Output:
> var(x)#variance
[1] 15.6
> sd(x)#standard deviation
[1] 3.949684
> (sd(x)/mean(x))*100# coefficient of variation
[1] 26.33122
C.
Q1=First quartile=2nd observation+0.25*(3rd observation-2nd observation)=10+0.5*(10-10)=11.5
Q3=3rd quartile=5th observation+0.75*(6th observation-5th observation)=18+0.75*(18-18)=18
Inter quartile range=Q3-Q1=18-11.5=6.5
R code:
x=c(10,10,16,18,18,18)
quantile(x,0.25)#Q1
quantile(x,0.75)#Q3
quantile(x,0.75)-quantile(x,0.25)#Inter quartile range
Output:
> quantile(x,0.25)#Q1
25%
11.5
> quantile(x,0.75)#Q3
75%
18
> quantile(x,0.75)-quantile(x,0.25)#Inter quartile range
75%
6.5
D.
x=c(10,10,16,18,18,18)
boxplot(x,main="boxplot of hourly wages")

E.
R code:
x=c(10,10,16,18,18,18)
f=c(2,1,3)
pct=round(f/sum(f)*100)
lbls= paste(pct) # add percents to labels
lbls= paste(lbls,"%",sep="") # ad % to labels
pie(f,main="boxplot of hourly wages",labels = lbls)

F.
R code:
x=c(10,10,16,18,18,18)
hist(x,main="boxplot of hourly wages")

Descriptive Statistics: The Old-Fashioned Way (and with 2. In this problem, calculate the descriptive statistics below...
Consider the number of days absent from a random sample of six students during a semester: A= {2, 3, 2, 4, 2, 5} Compute the arithmetic mean, geometric mean, median, and mode by hand and verify the results using R Arithmetic Mean: X=i=1nXin=2+3+2+4+2+56=3 mean(data2$absent) [1] 3 Geometic Mean: GMx=Πi=1nX11n=2∙3∙2∙4∙2∙516=2.79816 >gmean <- prod(data2$absent)^(1/length(data2$absent)) > gmean [1] 2.798166 Median: X=12n+1th, Xi2,2,2,3,4,5, n=6=126+1th ranked value=3.5, value=2.5 days absent >median(data2$absent) [1] 2.5 Mode: Most frequent value=2 > mode <- names(table(data2$absent)) [table(data2$absent)==max(table(data2$absent))] > mode [1]...
1.The two branches of statistics are (1.1) a) dependent and independent c) descriptive and inferential 2.When we compute averages and standard deviations or graph data, we are b) population and sample d) ull and alternative workinq within a)descriptive statistics c) hypothesis testing 3. Which of the following groups is likely to have a lower standard deviation? b)inferential statistics d) statistical graphing (3.2) Group A: average heights of 13-year-old males Group B: average heights of 25-year old males a) Group A...
(1, 1 pt ea) Provide the summary statistics for the following set of numbers below (Note: if the answer is not an integer, you must provide the value to three decimal places)s 21, 24, 24, 29, 24, 28, 13, 16, 40, 33, 22, 20, 23, 19 44.1 u Mean 241 Range2Pop. Variance = Z - Median SOR Pop. standard deviation = Q1 225 Mid-range = 20, S- sample Sample standard deviation Mode = Skewness (population)- Kurtosis (population)- Excess kurtosis (population)-...
- A variable is a. Unit upon which measurements are made b. Data collection form c. The characteristic being measured d. The realized measurement - For what kind of data are bar graphs best suited? a. Nominal or Ordinal b. Ordinal or Interval c. Nominal or Interval d. Interval or Ratio - Histograms display frequencies for what level of measurement? a. Ordinal b. Interval or Ratio c. Categorical d. Nominal - The term for a value that best describes the...
Samples nalysis of varunce Control Charts ime Series Make Similar 1-Sample t: StressScore Descriptive Statistics N Mean sioevsE Mean 95% Cl for 72 122222 7.1606 0B439 (105396 13.9049) mean of StressScore Test ll hypothesis Alternative hypothesis 13.15 Hi μ 13.15 T-Value P-Value 1.10 0275 D Sex Ethncity Age Car Type of eformation Stresstevel tressScore Recal! Recal2 Racalls Confidence Recal Colo Consisten 21 blue Cosent 4 5 6 7 8 Week 6 Project Instructions Final Project For this assignment, use data...
Exercises Present the results and solutions of the problems in a document, similar to that of the examples portion above. Copy and paste the plots, the function may be hand written but the rest should be word processed. You may print the plots, however, it is suggested that you copy and paste into your solution word document. To include MINITAB plots in MSword document: right click in the gray area of the figure window, select Copy Graph then paste into...
DISPLAY A Descriptives Descriptive Statistics N Minimum Maximum Mean Std. Deviation 1.376 72.673 EXPENDITURE 48 3.656 9.774 5.946 SAT 48 854.000 1107.000 970.563 Valid N (listwise) 48 Model Summary Model R R Square Adjusted R Std. Error of Square the Estimate 65.492 453 205 188 a Predictors: (Constant), EXPENDITURE ANOVA Model F Sig. Sum of df Mean Square Squares 50920.77 11.872 0.001 4289.197 1 Regression 50920.77 1 Residual 197303.00 46 Total 248223.80 47 a Predictors: (Constant), EXPENDITURE b Dependent Variable:...
MAT 107 Project: Age of Students in College Professor Sumner Collect Data: (5 points) You will need to ask 30 college students their age. The students can attend any college or university. Use the table below to input the data you collected. If you do the work for this project by hand, you must show the work you do to arrive at your results to earn full credit. If you use technology (computer, calculator, etc.) to obtain the results, you...
Lab 3: Homework Assignment (30 pts.) Using the data from Table 2 below, calculate the statistics and fill in the cells of Worksheet 1 below. Use these data to make a table in MS Excel that lists the population name (Lake) and the sample statistics for each population including mean ducklings fledged, median, DF, SS, s2, SD, SE, and tos(SE) for each of the populations. (10 pts) Use Table 3 below as a template to construct your table in MS...
Can you solve Question 4.1.3 with details? This is from Advanced
Statistics.
236 Some Statistical Inferences the histogram. Use the R function dganna(X, 8hape. 1,scale-のto evaluate the plf. (c) Obtain the sample median of the data, which is an estimate of the median lifetime of a motor. What parameter is it estimating Le., determine the nedian of x)? (d) Based oa the mle, what is another estimate of the median of X? .1.2. Here are the weights of 26 professional...