Panel Data Structure with Fixed Effects Model
Show older comments
I need to estimate linear fixed effects model with 1 dependent variable and 2 independent variables and I'm wondering how I should order my data and how I could estimate my model. Currently my data is organized in excel in 3 different datasheets with column headers for the companies and row headers for the years. Resulting in a N*T matrix for all my variables. Do I need to reorder my data to a NT * 1 matrix for my dependent variable and a NT * 2 (2 independent variables)? Or is there an easier way to estimate a fixed effects model in matlab?
Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!