Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assignment 1 Instructions For question 1 , you can submit a PDF or scanned copy of your work. Please consult with me if you don't
Assignment
Instructions
For question you can submit a PDF or scanned copy of your work. Please consult with me if you don't know how to accomplish this.
For questions you must use STATA, and must turn in a copy of your Dofile. The Dofile must perform every task below neatly and correctly.
The work you hand in must be your own. You must NOT copy any answers from anyone or anywhere else. Please review FIU's policy on academic misconduct for more information.
Questions
Derive the secondorder condition SOC for the OLS estimator see class notes for week equations I and II as a starting point.
From the questions at the end of Chapter of your texbook, questions Ci Cii and Ciii using the WAGE dataset.
Generate the dataset below using STATA's command line:
var var var
Hint: You might want to use the help function to look at at the input command
a Using STATA's command line, create a variable named var with values: in row in row and in row
b Rename the variable var to sex and use the label command to define value labels male for value and female for value
c Use the generate command with the n system variable to create a variable called idx that assigns a unique number to each row
d Rename variables var var and var as time time and time
e Use the reshape command to convert the dataset into long form by year
f Use the egen command to generate a new variable named d that is equal to the squared difference between the variable time at each occasion and the average of time for each subject
g Drop the observationrow corresponding to the third year for id
The following table contains monthly housing expenditures for families:
Family Monthly Expenditures
a Calculate and report the average monthly housing expenditure
b Calculate and report the median monthly housing expenditure
c Modify the data to reflect an increase from $ to $ for Family #expenditures for all other families remain the same Report the average and median house expenditures
Vella and Verbeek use the National Longitudinal Survey Youth Sample dataset to study the impact union membership has on wages for young males. You can get the dataset from here.
a Create a variable equal to the exponential of lwage.
b Generage a new variable that represents the annual salary for each observation
c Collapse the data to obtain the mean annual salary by year and ethnicracial group, black, hispanic, other, etc.
d Generate a line graph showing the mean annual salary over time for each ethnicracial group.
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