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?
Related Posts with apc model
Create four-year average dataHello I would like to create a panel data that contains four-year averages accross each variables i…
How to replace space(s) in a string by another charater like and underscore (_)?For my coding, I need to automatically replace possible spaces from value labels during processing i…
Advertising variablesDear All I have a Stata dataset with 200 observations. Each observation represents 1 order. The dat…
Fixed-effect model: how to regress with 2 sample periodsDear Statalist, For my thesis I try to examine the effect when a firm generates more renewable ener…
Ordered probit / multinomial probit models, marginal effects differenceHello everyone, I'm working with National Longitudinal Survey of Youth (NLSY79 and NLSY97), which i…
Subscribe to:
Post Comments (Atom)
0 Response to apc model
Post a Comment