Please provide with R codes! thank you!! Data: Question: Data: 179 161 162 605557 155 60...
Please help me with these questions with R codes.. thank
you!!
Here’s the data I have obtained for the questions:
Data: 9 students in total
Height(cm) Head Circumference(cm)
179 60
161 55
162 57
155 60
158 56
172 57
191 60
179 57
163 58
2. Draw at most 3 plots to visually describe your data. Is your response variable approximately Normal? 3. Numerically describe the centre, spread and any unusual points of your variables/data. 4. Fit and describe...
The Book of R (Question 20.2) Please answer using R code. Continue using the survey data frame from the package MASS for the next few exercises. The survey data set has a variable named Exer , a factor with k = 3 levels describing the amount of physical exercise time each student gets: none, some, or frequent. Obtain a count of the number of students in each category and produce side-by-side boxplots of student height split by exercise. Assuming independence...
Do 2.3.4
Use the data "Orange" in R. You should include the r code as well as the output in your file, with appropriate answer to questions. Answer the following questions in your document 1. Fit a simple linear regression using "circumterence" as response and "age" as predictor. Is there a significant linear relationship between the two variables? State the null and alternative hypothesis, test statistic and p-value 2. Find which observation has the largest residual in absolute value) Give...
Exercise 1. For this exercise use the bdims data set from the openintro package. Type ?bdims to read about this data set in the help menu. Of interest are the variables hgt (height in centimeters), wgt (weight in kilograms), and sex (dummy variable with 1-male, 0-female). Since ggplotO requires that a categorical variable be coded as a factor type in R, run the following code: library (openintro) bdíms$sex2 <-factor (bdins$sex, levels-c (0,1), labels=c('F', 'M')) (a) Use ggplot2 to make a...
USE R STUDIO The stackloss data frame available in R contains 21 observations on four variables taken at a factory where ammonia is converted to nitric acid. The first three variables are Air.Flow, Water.Temp, and Acid.Conc. The fourth variable is stack.loss, which measures the amount of ammonia that escapes before being absorbed. Read the help file for more information about this data frame. - Give a numerical summarization of each column of the dataset, then use boxplots to help illustrating...
Bivariate Fit of NONFOOD PURCHASES By AGE 90 80 70 60 50 40 30 20 20 30 40 50 60 AGE -Linear Fit Linear Fit NONFOOD_PURCHASES = 12.956633 0.8136836 AGE Summary of Fit RSquare RSquare Adj Root Mean Square Error Mean of Response Observations (or Sum Wgts) 0.33852 0.336478 11.54086 39.1842 326 Lack Of Fit Analysis of Variance Sum of Source DF Squares Mean Square F Ratio 22084.6 165.8106 133.2 Prob > F .00011 Model 1 22084.562 Error 324 43154.032...
4. The anscombe data set in the datasets R package (should automatically be loaded) contains 4 pairs of response-explanatory variables. The pairs are xl-yl, x2-y2, x3-y3, and x4-y4 where x is the explanatory variable and y is the response variable. (a) Run 4 simple linear regression analyses (one on each of the 4 pairs) to verify that the regression output is exactly the same (up to numerical accuracy) b) For each pair, describe what is wrong (if anything) and use...
**R-STUDIO KNOWLEDGE REQUIRED***
PLEASE ANSWER THE FOLLOWING WITH ****R-STUDIO****
CODING- thank you so much!!
I am specifically look for the solution to part
***(h)**** and *****(i)***** below using R-Studio
code:
The data set in question
is:
YEAR Height Stories
1990 770 54
1980 677 47
1990 428 28
1989 410 38
1966 371 29
1976 504 38
1974 1136 80
1991 695 52
1982 551 45
1986 550 40
1931 568 49
1979 504 33
1988 560 50
1973 512...
I‘m not sure about this
question, please show your work thanks!
For question 1 in this assignment we will investigate data collected by a student to try to infer a person's stature from their footprints, for forensic purposes. The goal would be to identify the stature of an unseen suspect from evidence (such as a foot print) left at a crime scene. (Rohren, B. 2006. Estimation of Stature from Foot and Shoe Length: Applications in Forensic Science, obtained from Triola...
Need help with stats true or false questions
Decide (with short explanations) whether the following statements are true or false a) We consider the model y-Ao +A(z) +E. Let (-0.01, 1.5) be a 95% confidence interval for A In this case, a t-test with significance level 1% rejects the null hypothesis Ho : A-0 against a two sided alternative. b) Complicated models with a lot of parameters are better for prediction then simple models with just a few parameters c)...