Econometrics : This homework deals with using R-Studio.The Two-Variable Model: Hypothesis Testing

profileLolhuhuh
HW_IntroR1.R

#============================================================================== # # # # I declared this is my work and I have not copied this code from anyone. # I am fully aware that submitting a copy of other peoples work is against # #============================================================================== # HINT: ALL THE NEED CODE IS IN THE INTRO R VIDEOS # WATCH THEM # NOTE YOU MUST RUN YOUR CODE TO MAKE SURRE IT RUNS # I WILL RUN YOU SCRIPT. IF IT DOES NOT WORK YOU WILL NOT GET FULL CREDIT #============================================================================== # Open this file in RStudio then add your code. # After you are done upload this file to canvas #============================================================================== # storing mtcar is a build in data set to carData carData <- mtcars #write the copde the find the column name of carData hine use names(.....) # write the code that finds the mean of the following columns in carData # "mpg" "cyl" "disp" "hp" "drat" "wt" "qsec" "vs" "am" "gear" "carb" # write the code that finds the standard deviation of the following columns in carData # "mpg" "cyl" "disp" "hp" "drat" "wt" "qsec" "vs" "am" "gear" "carb" # write the code that plot "mpg" vs "cyl" with the regression line transpose on top # write the code that plot "mpg" vs "hp" with the regression line transpose on top # write the code that plot "mpg" vs "hp" with the regression line transpose on top # write the code that stores the result of the mulit-regression into a variable named model # the mulit-regression -> mpg = cyl + disp + hp + drat + wt # write the code that gives the summary of the regression above # write the code that gets the stand errors of the estimated parameters from the summary above