Question

In: Statistics and Probability

Run the R command y <- rchisq(1000,2). Then use your exploratory tools to identify which, if...

Run the R command y <- rchisq(1000,2). Then use your exploratory tools to identify which, if any of the following are correct. THERE ARE more than one correct answer.

Group of answer choices:

The distribution is unimodal.

The mean would be an appropriate measure of location.

The median would be an appropriate measure of location

The distribution is skewed to the right

The standard deviation would be an appropriate measure of spread.

Solutions

Expert Solution

solution:

Sol:

y <- rchisq(1000,2)

y

hist(y)

mean(y)

median(y)

boxplot(y)

mean for data is 1.981126

median=1.380834

mean>median

skewed to right

From

boxplot we could see outliers

median would be appropriate measure of centre

Rscreensht

median would be an appropriate measure of location

The distribution is sewed to right

please give me thumb up


Related Solutions

Run the R command y <- rchisq(1000,2). Then use your exploratory tools to identify which, if...
Run the R command y <- rchisq(1000,2). Then use your exploratory tools to identify which, if any of the following are correct. THERE ARE more than one correct answer. Group of answer choices: The distribution is unimodal. The mean would be an appropriate measure of location. The median would be an appropriate measure of location The distribution is skewed to the right The standard deviation would be an appropriate measure of spread.
DISPLAYING AND DESCRIBING DISTRIBUTIONS In this lab assignment you will use exploratory tools in StatCrunch to...
DISPLAYING AND DESCRIBING DISTRIBUTIONS In this lab assignment you will use exploratory tools in StatCrunch to study the wealth and life expectancy in 97 countries. In particular, you will learn how to display the related categorical and quantitative data with pie charts, histograms, and boxplots, and how to summarize the data by obtaining contingency table, mean, median, standard deviation, and quartiles. You will also explore the relationship between material wealth and life expectancy with a scatter-plot. Wealth and Life Expectancy...
Open the Command Prompt window and use the nslookup command to identify the domain names that...
Open the Command Prompt window and use the nslookup command to identify the domain names that correspond to the following IP addresses: 161.170.244.20 205.251.242.103 144.160.155.43 Use the Command Prompt window and nslookup command to identify the IP addresses that correspond to the following domain names: walmart.com amazon.com att.com Close the Command Prompt window. Submit your findings.
1) For your sample, use R to find the mean of x, the mean of y,...
1) For your sample, use R to find the mean of x, the mean of y, the standard deviation of x, the standard deviation of y, and the correlation between x and y. (You must give R code for credit.) > set.seed(0003653838) > x=rnorm(500) > y=2*x+rnorm(500) > Xbar=mean(x) > Xbar [1] 0.0712552 > Ybar=mean(y) > Ybar [1] 0.2370446 > sdx=sd(x) > sdx [1] 0.9841084 > sdy=sd(y) > sdy [1] 2.277837 > corxy=cor(x,y) > corxy [1] 0.9040743 2) Find the equation...
Consider our medium-run model of the economy: Y =C(Y −T)+I(Y,r+x)+G (IS) r=r(bar) (LM) πt − πt...
Consider our medium-run model of the economy: Y =C(Y −T)+I(Y,r+x)+G (IS) r=r(bar) (LM) πt − πt − 1 = −α(ut − un) (PC) Suppose the economy starts at a point such that ut = un and r=rn Graph the effects of a financial shock that increases the risk premium, x. What happens to output, the interest rate, and inflation in the short-run? What happens in the medium-run? What mechanism causes the transition from the short-run equilibrium to the medium-run equilibrium?
Please use RStudio to answer the question and give the R command: please load data use...
Please use RStudio to answer the question and give the R command: please load data use data: library(MASS) data(cats) Use the “cats” data set to test for the variance of the body weight in male and female cats
What command do I use in R to compute the probability that a t distribution with...
What command do I use in R to compute the probability that a t distribution with 36 df exceeds 2.5 and then how do I compute the lower 10th percentile of a t distribution with 54 df (using what command in (R)?
Use Workbench/Command Line to create the commands that will run the following queries/problem scenarios. Use MySQL...
Use Workbench/Command Line to create the commands that will run the following queries/problem scenarios. Use MySQL and the Colonial Adventure Tours database to complete the following exercises. 1. List the last name of each guide that does not live in Massachusetts (MA). 2. List the trip name of each trip that has the type Biking. 3. List the trip name of each trip that has the season Summer. 4. List the trip name of each trip that has the type...
1) Open a new terminal. a) Use the runlevel command. What is the current run level...
1) Open a new terminal. a) Use the runlevel command. What is the current run level of your system? b) Use the command ls /usr/lib/system/system . What does this show? c) Use the command ls /etc/rc.d. What does this show? d) Use the command ls/etc/rc.d/init.d. What SysV daemons are available on your system? e) Type init 3 and press Enter. The type runlevel. What is the most recent runlevel? f) Type init 1 and press enter. Does the runlevel command...
1. Use the R command X <- iris to assign Fishers’ iris dataset to the data...
1. Use the R command X <- iris to assign Fishers’ iris dataset to the data matrix X. Using the head(X) command summarize what each column of the dataset is measuring and represents. Assign Y as a new matrix of dimension 150 by 4 which has the values of X without the species label. 2. Compute and interpret (in summary English) each of the summary statistics X,S,R using R. 3. Visualize the dataset by making a scatterplot of Sepal Length...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT