Question

In: Statistics and Probability

Solve using R. You will need library(resampledata) and the dataset FlightDelays. Conduct a hypothesis test to...

Solve using R.
You will need library(resampledata) and the dataset FlightDelays. Conduct a hypothesis test to see whether there is a difference in the variances of flight delay length between the two airlines.
1) Set a hypothesis for this test using appropriate notation
2) Using R, find the value of the observed test statistic
3) Using R, compute the P-value of the observed test statistic using a permutation distribution with N=10^5-1 resamples.

If possible use comments so that it is easier to study.

Thanks A lot!!

Solutions

Expert Solution


Related Solutions

Work these in R. Using library(resampledata) and the dataset Spruce to conduct a test to see...
Work these in R. Using library(resampledata) and the dataset Spruce to conduct a test to see if the mean difference in how much the seedling grew (in height) over the course of the study under these two treatments are significantly different from each other. Answer the following: a) Set up a hypothesis using appropriate notation. b)Find the value of the observed test statistic using R. c)Compute the P-value of the observed test statistic using a permutation distribution with N= 10^5-1....
Solve it by R Use the “d_logret_6stocks” dataset to answer the questions. Test by using α=...
Solve it by R Use the “d_logret_6stocks” dataset to answer the questions. Test by using α= .01. (General Motor: GenMotor). (1) Regress the return of General Motor on the returns of Citigroup (with intercept). Report the estimated coefficients. Is there any evidence to show strong linear relationship between these two variables at significance level 5%? (2) Suppose we “know” the return of Citigroup tomorrow is 0.05, what is the predicted return of General Motor tomorrow? (3) Compute the correlation of...
The R library faraway contains the pima dataset. We will fit a model with test as...
The R library faraway contains the pima dataset. We will fit a model with test as a response and bmi (only) as a predictor to see the relationship between the odds of a patient showing signs of diabetes and his/her bmi. The odds o and probability p are related by: o = p/(1-p), p = o(1+o) Using the GLM function: a. Please estimate the amount of increase in the log(odds) when the bmi increases by 10. b. Give a 95%...
Hypothesis test. Using the p-value method,conduct a formal hypothesis test of the claim that the mean...
Hypothesis test. Using the p-value method,conduct a formal hypothesis test of the claim that the mean RBG of Type 2 diabetics is 13.5 mmol/dl or higher. Use = 0.01. Include the following in your written summary of the results: Your null and alternate hypotheses in the proper format using standard notation. The type of distribution you used ( or normal). The p-value and its logical relationship to (≤ or >). Your decision regarding the null hypothesis: reject or fail to...
Using the "mammals" dataset from the "MASS" library in R: body brain Arctic fox 3.385 44.50...
Using the "mammals" dataset from the "MASS" library in R: body brain Arctic fox 3.385 44.50 Owl monkey 0.480 15.50 Mountain beaver 1.350 8.10 Cow 465.000 423.00 Grey wolf 36.330 119.50 Goat 27.660 115.00 Roe deer 14.830 98.20 Guinea pig 1.040 5.50 Verbet 4.190 58.00 Chinchilla 0.425 6.40 Ground squirrel 0.101 4.00 Arctic ground squirrel 0.920 5.70 African giant pouched rat 1.000 6.60 Lesser short-tailed shrew 0.005 0.14 Star-nosed mole 0.060 1.00 Nine-banded armadillo 3.500 10.80 Tree hyrax 2.000 12.30...
ANSWER USING R CODE Using the dataset 'LakeHuron' which is a built in R dataset describing...
ANSWER USING R CODE Using the dataset 'LakeHuron' which is a built in R dataset describing the level in feet of Lake Huron from 1872- 1972. To assign the values into an ordinary vector,x, we can do the following 'x <- as.vector(LakeHuron)'. From there, we can access the data easily. Assume the values in X are a random sample from a normal population with distribution X. Also assume the X has an unknown mean and unknown standard deviation. With this...
*Using the mpg column in the mtcars data conduct a hypothesis test to see if the...
*Using the mpg column in the mtcars data conduct a hypothesis test to see if the true mean miles per gallon of cars is greater than 22. Use an alpha level of .1* Please make sure you solve in R-studio. Solving without giving me R-codes will not help me. It would also help if you write a brief explanation of what you did. Thanks in advance!
Fitting a linear model using R a. Read the Toluca.txt dataset into R (this dataset can...
Fitting a linear model using R a. Read the Toluca.txt dataset into R (this dataset can be found on Canvas). Now fit a simple linear regression model with X = lotSize and Y = workHrs. Summarize the output from the model: the least square estimators, their standard errors, and corresponding p-values. b. Draw the scatterplot of Y versus X and add the least squares line to the scatterplot. c. Obtain the fitted values ˆyi and residuals ei . Print the...
1. The director of medical services wants to conduct a hypothesis test, using a sample of...
1. The director of medical services wants to conduct a hypothesis test, using a sample of emergency response times, to determine whether or not the service goal of 12 minutes or less is being achieved. A random sample of 40 emergencies was taken. The average response time was 13.25 minutes with a standard deviation of 3.2 minutes. Conduct the hypothesis test with alpha = 0.05 and draw your conclusion.
Conduct hypothesis test to verify if there is a significant relationship between X and Y using the t test approach
9 16 8 21 6 18 5 14 8 15 6 13 9 20 5 19 7 17 Using the table above answer the following questions: Please show all your work. 1. Conduct hypothesis test to verify if there is a significant relationship between X and Y using the t test approach b. Calculate confidence interval for B 1 2. Perform hypothesis test to verify if there is a significant relationship between X and Y using the F test approach.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT