Hi, i have few question on generating new variables and calculating. I am new to stata and I dont know how to go about solving these problems below. For the first question i am assuming i need to generate a new variable and think it would be something similar to gen realwage by dividing wage/cpi but i am lost and dont know how to go about doing so. Please help me solve and explain the principles. Many thanks!!!
the variables and label are:
Array
Questions:
1. Create the real wage by deflating wage with the price index (i.e. wage/cpi).
2. Create the log of the real wage. Plot the histogram of it for the two years in the
sample.
3. Calculate the average years of education for 1995 and for 2011. Test (using a t-test)
if average education has significantly changed between those years.
Related Posts with Create variables econometrics
Reading xml filesDear all, It's the first time that I'm trying to work with xml files. Unfortunately, in this post I…
Trade signals time series dataHi! I have a question regarding the following; I have obtained buy signals from stock data for every…
ploting the panel data by using "LPM" methodhello everyone, I use the "local projection method " for estimating the effect of the crisis on fert…
Generating new dummy var in an individual level dataset that gives country-year level information for each individualHello, I have individual-level data that looks like this: indiv_id country_code indiv_disc_dummy…
Probit Regression and Reverse CausalityI have a concern using a probit model. In short, I am using cross-sectional data to investigate the …
Subscribe to:
Post Comments (Atom)
0 Response to Create variables econometrics
Post a Comment