Question

In: Statistics and Probability

The Motor Trend Car Road Tests dataset (mtcars.csv) contains the data extracted from the 1974 Motor...

The Motor Trend Car Road Tests dataset (mtcars.csv) contains the data extracted from the 1974 Motor Trend US magazine and comprises fuel consumption and 10 aspects of automobile design and performance for 32 automobiles (1973–74 models). The dataset contains 32 observations on 11 variables. Analyze the dataset according to the following steps:

1. Calculate sample mean and sample variance of each variable.

2. Calculate the sample variance-covariance matrix and the sample correlation matrix. What can you say about the variance-covariance matrix and correlation matrix? the file is in the link,

please use R markdown to write https://drive.google.com/file/d/1vnPTitlv6zhYdQXfeOY3JiHmvaUcnCqf/view?usp=sharing

Solutions

Expert Solution

The rcode is given below


Related Solutions

Using the Motor Trend Car Road Tests dataset mtcars, in faraway R package, fit a model...
Using the Motor Trend Car Road Tests dataset mtcars, in faraway R package, fit a model with mpg: Miles/(US) gallon as the response and the other variables as predictors. (a) Which variables are statistically significant at the 5% level? For each and every test provide the null and alternative hypotheses, critical region (or rejection region), test statistics and your conclusions. (30) (b) What interpretation should be given to the coefficient for vs: Engine? (3) (c) Compute 90 and 95% confidence...
Question 2 The rest of the questions deal with the Motor Trend Car and Sport data...
Question 2 The rest of the questions deal with the Motor Trend Car and Sport data from 1974 # It is famous dataset called mtcars comes built in to R. Use the line of code below # to familiarize yourself with it head(mtcars) ## mpg cyl disp hp drat wt qsec vs am gear carb ## Mazda RX4 21.0 6 160 110 3.90 2.620 16.46 0 1 4 4 ## Mazda RX4 Wag 21.0 6 160 110 3.90 2.875 17.02...
You will be performing an analysis on a dataset that contains data on fertility and life...
You will be performing an analysis on a dataset that contains data on fertility and life expectancy for 198 different countries. All data is from the year 2013. The fertility numbers are the average number of children per woman in each of the countries. The life expectancy numbers are the average life expectancy in each of the countries. You will be turning in a paper that should include section headings, graphics and tables when appropriate and complete sentences which explain...
1 The following information is extracted from the financial statements of Tasty Road Bhd. at 31...
1 The following information is extracted from the financial statements of Tasty Road Bhd. at 31 December 2018. Tasty Road Bhd. Statement of Financial Position as at 31 December 2018 RM’000 Assets 2700 Cash 2700 Trade Receivable(Net) 400 Interest Receivable 1100 Inventory 2000 Plant 2000 Research & Development 8000 Total 16,800 Equity & Liabilities Trade Payable 2,900 Loan 4,650 Provision for Warranties 150 Deferred tax liability 290 Share Capital 7,000 Retained Earnings 1.750 Total 16,800 RM’000 Additional information for relevant...
The dataset in the file Lab11data.xlsx contains data on Crimini mushrooms. The factor variable is the...
The dataset in the file Lab11data.xlsx contains data on Crimini mushrooms. The factor variable is the weight of the mushroom in grams and the response variable is the total copper content in mg. 1. Plot Copper vs. Weight and describe. 2. Find least squares regression line and interpret slope in the words of the problem. 3. Find the coefficient of determination (R2) and interpret in context. 4. Find the correlation coefficient (R) and interpret in context. 5. Find and interpret...
The dataset ’anorexia’ in the MASS package in R-Studio contains data for an anorexia study. In...
The dataset ’anorexia’ in the MASS package in R-Studio contains data for an anorexia study. In the study, three treatments (Treat) were applied to groups of young female anorexia patients, and their weights before (Prewt) and after (Postwt) treatment were recorded. The three treatments adminstered were no treatment (Cont), Cognitive Behavioural treatment (CBT), and family treatment (FT). Determine at the 5% significance level if there is a difference in mean weight gain between those receiving no treatment and those receiving...
The dataset ’anorexia’ in the MASS package in R-Studio contains data for an anorexia study. In...
The dataset ’anorexia’ in the MASS package in R-Studio contains data for an anorexia study. In the study, three treat- ments (Treat) were applied to groups of young female anorexia patients, and their weights before (Prewt) and after (Postwt) treatment were recorded. The three treatments adminstered were no treatment (Cont), Cognitive Behavioural treatment (CBT), and family treatment (FT). Determine at the 5% significance level if there is a difference in mean weight gain between those receiving no treatment and those...
Analyze used car inventory dataset using Python's pandas library - using DataFrame data structure¶ Dataset: UsedCarInventory_Assignment1.txt...
Analyze used car inventory dataset using Python's pandas library - using DataFrame data structure¶ Dataset: UsedCarInventory_Assignment1.txt (available on Canvas) This dataset shows used cars available for sale at a dealership. Each row represents a car record and columns tell information about each car. The first row in the dataset contains column headers. You must use Pandas to complete all 10 tasks.
A toy car starts from rest and accelerates on a straight road at a rate of...
A toy car starts from rest and accelerates on a straight road at a rate of 3m/s^2 for 5 seconds. In the next 2 seconds, it continues to move at a constant speed. Finally, it accelerates at a rate of 2m/s^2 until it stops in the rest of the rest of the time. Find its a.) Displacement b.) Speed at t=6 seconds c.) plot the following graphs: I. x vs. t II. v vs. t III. a vs. t
2. The dataset ’anorexia’ in the MASS package in R-Studio contains data for an anorexia study....
2. The dataset ’anorexia’ in the MASS package in R-Studio contains data for an anorexia study. In the study, three treatments (Treat) were applied to groups of young female anorexia patients, and their weights before (Prewt) and after (Postwt) treatment were recorded. The three treatments adminstered were no treatment (Cont), Cognitive Behavioural treatment (CBT), and family treatment (FT). Determine at the 5% significance level if Cognitive Behavioral treatment is effective in helping patients gain weight. Perform all necessary steps for...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT