Hello everyone,
I am trying to run a regression using a panel data to examine the possible effect of the amount of student loan for the years while enrolled in college on the log of hourly wage after college graduation. The variable for student loan has values for each year when an individual is enrolled (and has zero values after college graduation), and the hourly wage has values for the years after college graduation (some individuals who worked while in college has wage values). My question is, what kind of regression I should run. For example, can I run a pooled OLS (i.e. reg log(wage) studentloan X) or should I run xtreg log(wage) studentloan X? Here, X is some control variables that are mostly time invariant (race, gender, family income) but some are time variant (age, occupation at given year). Or should I make a new variable for total student loan borrowed while in college (by summing the yearly values)?
I am very sorry if my question is elementary, and thank you in advance for your help and guidance. If I need to post this question in specific format, please let me know and I will fix it asap.
Have a great day!
David
I am trying to run a regression using a panel data to examine the possible effect of the amount of student loan for the years while enrolled in college on the log of hourly wage after college graduation. The variable for student loan has values for each year when an individual is enrolled (and has zero values after college graduation), and the hourly wage has values for the years after college graduation (some individuals who worked while in college has wage values). My question is, what kind of regression I should run. For example, can I run a pooled OLS (i.e. reg log(wage) studentloan X) or should I run xtreg log(wage) studentloan X? Here, X is some control variables that are mostly time invariant (race, gender, family income) but some are time variant (age, occupation at given year). Or should I make a new variable for total student loan borrowed while in college (by summing the yearly values)?
I am very sorry if my question is elementary, and thank you in advance for your help and guidance. If I need to post this question in specific format, please let me know and I will fix it asap.
Have a great day!
David
Comment