EuStockMarkets is a built-in R dataset. The EuStockMarkets data set is a time series giving the Daily Closing Prices of Major European Stock Indices, 1991-1998. We are interested in some descriptive statistics related to German DA index prices. We can access the data directly by using the assignment x <- as.vector(EuStockMarkets[ ,2]) (In R use ? EuStockMarkets for info on this dataset.) Remember: x <- as.vector(EuStockMarkets[ ,2]) a.Calculate the sample median of x. b. Using R, find the 60th quantile of x. c. Calculate the interquartile range of x using R. d. Calculate the sample mean of x. e. Calculate a 10% trimmed mean for x. f. Calculate the sample variance of x. g. Calculate the sample standard deviation of x. h. What proportion of the x values are within 0.5 sample standard deviation from the sample mean i. Calculate the range of x. (one number)

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Topic Video
Question
**EuStockMarkets Dataset Analysis Instructions**

EuStockMarkets is a built-in R dataset. This dataset is a time series that provides the daily closing prices of major European stock indices from 1991 to 1998. We are particularly interested in descriptive statistics related to the German DAX index prices. You can access the data directly in R by using the assignment:
```R
x <- as.vector(EuStockMarkets[,2])
```
For dataset information, use:
```R
? EuStockMarkets
```
Remember: `x <- as.vector(EuStockMarkets[,2])`

### Statistical Calculations

a. **Calculate the sample median of x.**  
&nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here]

b. **Using R, find the 60th quantile of x.**  
&nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here]

c. **Calculate the interquartile range of x using R.**  
&nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here]

d. **Calculate the sample mean of x.**  
&nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here]

e. **Calculate a 10% trimmed mean for x.**  
&nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here]

f. **Calculate the sample variance of x.**  
&nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here]

g. **Calculate the sample standard deviation of x.**  
&nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here]

h. **What proportion of the x values are within 0.5 sample standard deviation from the sample mean?**  
&nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here]

i. **Calculate the range of x (one number).**  
&nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here]

j. **What number do you get if you add up the reciprocals of the values in x?**  
&nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here]

### Instructions for Performing Calculations in R

To calculate these statistics, you may use R functions like `median()`, `quantile()`, `IQR()`, `mean()`, `var()`, `sd()`, and other relevant functions. Ensure you load the dataset correctly and perform each operation on the vector `x` as indicated by the instructions.
Transcribed Image Text:**EuStockMarkets Dataset Analysis Instructions** EuStockMarkets is a built-in R dataset. This dataset is a time series that provides the daily closing prices of major European stock indices from 1991 to 1998. We are particularly interested in descriptive statistics related to the German DAX index prices. You can access the data directly in R by using the assignment: ```R x <- as.vector(EuStockMarkets[,2]) ``` For dataset information, use: ```R ? EuStockMarkets ``` Remember: `x <- as.vector(EuStockMarkets[,2])` ### Statistical Calculations a. **Calculate the sample median of x.** &nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here] b. **Using R, find the 60th quantile of x.** &nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here] c. **Calculate the interquartile range of x using R.** &nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here] d. **Calculate the sample mean of x.** &nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here] e. **Calculate a 10% trimmed mean for x.** &nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here] f. **Calculate the sample variance of x.** &nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here] g. **Calculate the sample standard deviation of x.** &nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here] h. **What proportion of the x values are within 0.5 sample standard deviation from the sample mean?** &nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here] i. **Calculate the range of x (one number).** &nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here] j. **What number do you get if you add up the reciprocals of the values in x?** &nbsp;&nbsp;&nbsp;&nbsp;[Enter the value here] ### Instructions for Performing Calculations in R To calculate these statistics, you may use R functions like `median()`, `quantile()`, `IQR()`, `mean()`, `var()`, `sd()`, and other relevant functions. Ensure you load the dataset correctly and perform each operation on the vector `x` as indicated by the instructions.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Research Design Formulation
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman