Please help me with these questions related to R. And provide the answer in R ma

Do you need this or any other assignment done for you from scratch?
We have qualified writers to help you.
We assure you a quality paper that is 100% free from plagiarism and AI.
You can choose either format of your choice ( Apa, Mla, Havard, Chicago, or any other)

NB: We do not resell your papers. Upon ordering, we do an original paper exclusively for you.

NB: All your data is kept safe from the public.

Click Here To Order Now!

Please help me with these questions related to R. And provide the answer in R ma

Please help me with these questions related to R. And provide the answer in R markdown PDF file. Thank you!
Study of Teenage Gambling in Britain
The teengamb dataset contains a survey conducted to study teenage gambling in Britain. The dataset has 47 observations and five variables:
sex: 0 = male, 1 = female
status: Socioeconomic status score based on parents’ occupation
income: income in pounds per week
verbal: verbal score in words out of 12 correctly defined
gamble: expenditure on gambling in pounds per year
Use the following statement to access the data: data(teengamb, package= “faraway”)
Question 1
Make sure to convert any categorical variable to a factor.
Create a regression with gamble as the outcome variable and sex, status, income, and verbal as predictors.
Hint: See Lesson 3, Slide 48.
Question 2
Create a standardized residuals vs. fitted plot. Do you think the variance is constant?
Hint: See Lesson 6, Slide 11.
Question 3
Create a Quantile-Quantile plot and a histogram based on the standardized residuals. Does the distribution of residuals look normal?
Hint: Go to Lesson 6, Slide 28.
Question 4
Print all the standardized residuals.
Are there any observations with standardized residuals greater than 3 or smaller than -3? If so, which ones? What are their standardized residuals?
Hint: Use the rstandard function
Question 5
Identify points with leverages that are at least two times the average leverage.
Did you find any points? If so, which points did you find?
Hint: Go to Lesson 6, Slide 22.
Question 6
Detect outliers using studentized residuals. Use the Bonferroni correction.
Did you detect any outliers? If so, show the studentized residual of any outlier you found.
Hint: Go to Lesson 6, Slide 40.
Question 7
Show the values of any outlier observation you found in question 6 (i.e., show the entire row of each such observation).
Hint: Assuming that observation 5 is an outlier, you can use teengamb[5,]Question 8
Use Cook’s distances to search for influential points. Does any point have a Cook’s distance above 0.5?
Hint: See Lesson 6, Slide 48.
Question 9
Create a half normal plot of the Cook’s distances. Which four observations have the highest Cook’s distances?
Hint: See Lesson 6, Slide 48.

Do you need this or any other assignment done for you from scratch?
We have qualified writers to help you.
We assure you a quality paper that is 100% free from plagiarism and AI.
You can choose either format of your choice ( Apa, Mla, Havard, Chicago, or any other)

NB: We do not resell your papers. Upon ordering, we do an original paper exclusively for you.

NB: All your data is kept safe from the public.

Click Here To Order Now!

Posted in R

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount