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
How do i transform categorical variables to continuous scores?Hello Statlist, I am working on the Health Information National Trends Survey (HINTS) which has 7 v…
Creating a new variablehello! i would like to make two variables into one variable. The variables contain at which universi…
Standardising variables across waves in panel data analysis - how?Good morning all from a very gloomy Ireland where we have just reported our highest daily number of …
create new variable with multiple conditionsHello expert stata I'm new to stata. I had an exercise from the class for analysing the data. the fi…
Urgent: How to change the relationship according to HH serial numberDear All, How can I select and create a new data set with all household heads and those household w…
Subscribe to:
Post Comments (Atom)
0 Response to Create variables econometrics
Post a Comment