Publications by Dr. Viviana Wu
Quiz 2 (Answer Key)
Instructions Answer all questions as best you can and in complete sentences. There are 20 questions and 30 points in total. Do not round intermediate calculations. Round your final calculation to 2 significant digits. Two points will be given for professional presentation, e.g., labeled graphs, short #comment lines in code chunks to explain co...
17368 sym Python (18990 sym/82 pcs) 7 img
Lab 8 (Answer Key)
A Reminder keep your #comment short in a code chunk. Write paragraphs above or below the code chunks. Do not round intermediate calculations. Round your final calculation to 2 significant digits. Instructions Answer the following questions using the appropriate dataset and codebook. For each question, provide (1) your codes, (2) R outputs AND ...
8810 sym
Lab 9
Panel Regression Slides for this week are available here For the lab, we will be using the code materials from this book: https://www.econometrics-with-r.org/10-1-panel-data.html Install and load all necessary libraries # install.packages("plm") # install.packages("AER") library(stargazer) library(AER) library(plm) In contrast to cross-section ...
12865 sym R (14824 sym/34 pcs) 3 img 1 tbl
Lab 8
Lecture 11: Interaction Effects Slides for Week 11 is available here Before adding interaction effects to the model, test the model for potential violations of OLS assumptions. To correct for violations: center age, add a squared age term, and log transform income variable in a new temporary dataset. Basic Set Up and install and load all necessa...
4575 sym Python (10849 sym/51 pcs) 13 img 4 tbl
Quiz 1 (Answer Key)
SELF-GRADING by March 29 Reflection: Reflect on your statastic trajectory and your work in Quiz 1. Correction: Indicate the question numbers for correction. In your original work, explain the mistakes made and how you corrected the responses and codes. Quiz 1 Instructions Answer all questions in complete sentences. Round to 2 decimal places ...
11286 sym Python (7211 sym/35 pcs) 5 img
Lab 3 (Answer Key)
Self-grading Grade [out of 12]: Reflection: Correction: If you made corrections in your original code chunks, indicate the question numbers. A Reminder keep your #comment short in a code chunk. Write paragraphs above or below the code chunks. Instructions Answer the following questions using the appropriate dataset and codebook. For each ques...
8859 sym 6 img
Lab 1 (Answer Key)
Self-grading Instructions Grade your work (All Correct / Minor Revision / Major Revision) by checking each question to see if you had the (1) correct codes, (2) R outputs, and (3) the written answer in complete sentences. Be as thorough and precise as possible by referring to the data dictionary/documentation. If you need revisions, indicate t...
1959 sym
Lab 1
Lecture Slides for Week 1 is available here R Studio R by itself is just the ‘beating heart’ of R programming, but it has no particular user interface. R Studio is an Integrated Development Environment (IDE). This program serves as a text editor, data manager, and package library to help you read and write R code. You can create R script, ...
9412 sym R (4849 sym/32 pcs) 1 img 2 tbl
Lab 1
Install and load all necessary libraries Lecture Slides for Week 1 is available here R Studio R Studio is an Integrated Development Environment (IDE). This program serves as a text editor, data manager, and package library to help you read and write R code. You can create R script, R Markdown, Shiny App, run Python script and many more in R Stu...
4668 sym R (4312 sym/22 pcs) 1 img
Lab 2
Lecture Slides for Week 2 is available here In this tutorial, you will learn how to: use import, explore and visualize a data set understand data structure of variables in R make decisions to clean the data Additional Readings: 🏆 Code Chunks R Markdown Basic R Markdown Formatting Cheatsheet Step 1: Import a Dataset smoking_data is the va...
6842 sym R (5872 sym/41 pcs) 1 img 1 tbl