Answered step by step
Verified Expert Solution
Question
1 Approved Answer
the course is research methods in business and economic use Rstudio for this exercise,don't forget the codes please Do not copie paste. help me please
the course is research methods in business and economic use Rstudio for this exercise,don't forget the codes please Do not copie paste. help me please
1) Open your R-studio 4) Open a new file: File-New file- R script 5) Save as " name.surname.R" 6) Write your answers as codes 7) Then save it. 8) Please upload the file 9)For question 3 you should create your own data set. Every student should have their own data set (observations should be different. Note: For question 3 you should create your own data set. Every student should have their own data set observation should be different). 1) Before the codes, write question numbers ###Q1, Q2,03 *** (5 points) 2) Create a 4x4 matrix called mymatrix (35 points) Same as (You should use the elements of this matrix): 25 15 21 61 mymatrix- 45 22 32 SI 55 33 42 41 65 44 52 31 3) Create data frame called mydata by using data editor (35 Points). There will be 5 variables called age ,income, gender, schooling, weight. There are 15 observations. (Observations should be from your family and relatives you, your mom, your dad, your uncle etc...) age: observations should be from your family including you (you should write your age at the first observation ) income: observations should be from your family including you (you should write your income at the first observation etc...) gender: female or male-observations should be from your family including you (you should write your gender at the first observation etc...) schooling: years of schooling observations: should be from your family including you (you should write your years of schooling at the first observation etc...) weight: should be from your family including you (you should write your weight at the first observation etc > 4) Test the true average income (the variable from mydata) is and write the interpretation of the result. (5 points) (You should determine value of u). 5) Run a linear regression model (OLS) where income is dependent variable while age and schooling are independent variables 2. Summarize the regression (5 points). b. Write the calculated p_value of the coefficients and test whether the coefficients are significantly different then or not. And write the interpretation of these coefficents (7.5 points). c. Write p-value of the calculated F statistic and write the interpretation according to that (7.5 points) 1) Open your R-studio 4)) Open a new file: File- New file-R script 5) Save as name.surname.R' IF I CAN NOT OPEN THE DOCUMENT, will grade 0 6) Write your answers as codes 7) Then save it. 8) Please upload the file 9)For question 3 you should create your own data set. Every student should have their own data set (observations should be different Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started