Hello,
I want to do a regression with one dependent variable and an independent variable and a few other variables to control for. In addition I want to control for industry- and year-fixed effects. I have a sample consisting of loan pricing data including the borrower company, the lender, the industry in which the firm operates, the year the loan was taken etc. and I want to show which loan characteristics influence the loan spread using an OLS regression. I have multiple firms operating in the same industry. I already grouped the industry by looking at the 2-digit SIC code leaving me with 10 industry dummies. Now I am not sure how to do a regression and controll for industry- and year-fixed effects.
The command -xtset sic_group year- does not work it returns the error "repeated time values within panel", therefore I cannot continue using the command -xtreg, fe-
Thanks!
Related Posts with Inlcude industry- and year-fixed effects in regression
ttesti equivalent of oneway ANOVAHi all, I need to compare means of a parameter of 8 groups (independent). I do have SD but I do not…
repeated-measure vs. nested anova problemsI think I want to use Repeated-Measure Anova command, "anova, repeated ()" or "wsanova" commands bas…
group string var with random namesHi, I have list of investor name which are not same like "investor group" var. I want to create a v…
qq PlotsHello everbody, I have estimated parameter alpha for each participant with six different methods. I…
Help with Recoding with Multiple LoopsHello, I have a series of variables that looks like job[i]_sched[y]. [i] varies from 1 to 6. [y] var…
Subscribe to:
Post Comments (Atom)
0 Response to Inlcude industry- and year-fixed effects in regression
Post a Comment