Hi,
I want to estimate the following model: log_income = B*age with year and cohort fixed effects. I'm trying to use the command apc but the output gives an estimation of beta for each value of the variable age. I want only one beta that estimate the effect of age. The code I'm using is:
apc log_income, age(age) period(year) cohort(yrbrn)
where year is the year of the survey and yrbrn is the year of birth. How can I solve my problem?