panel data

  1. D

    Bootstrapping wald test scores following SUR with panel data

    Hey everyone. Can anyone help me implement these steps into R code? Using this system: [url=http://i.stack.imgur.com/J3qBB.png] I found this piece of R code which might be helpful: # Sample Size N <- 2^12; # Linear Model to Boostrap Model2Boot <- lm( mpg ~ wt...
  2. D

    Bootstrapping test statistics with panel data and SUR

    As a newbie to bootstrapping, I'm having some trouble with developing with critical wald test scores for every observation in my panel dataset. I'm using a Seemingly Unrelated Regression to predict residuals, but then I'm unsure how to resample these and develop these critical wald test values...
  3. A

    Panel data correlation

    In a panel dataset of multiple years and multiple countries, what is best practice for running correlations among variables? I know that pooling by both countries and years is not recommended. Is restricting instead by both country and year the preferred method? Or just by either one, country...
  4. G

    Panel Data: Add Fixed Effects Before or After Controls?

    Hi all, I'm using 51 entities with seven independent variables. Is it typically better to add entity/time fixed effects at the beginning or at the end? Essentially, is it best for analysis to include fixed effects in my first model or my last? Thanks in advance for your help!
  5. S

    Stata Unbalanced Panel Data - which ttest should I use to compare means?

    Hi, Apologies if this question is very basic but I have spent hours looking online and in forums such as this one for an answer and I am still unsure. I have an unbalanced panel data set of a few thousand firms, for the years 2002 to 2008. I have looked at the mean values for the audit...
  6. B

    Random Sampling in Mixed Models

    Hi, I have a data set that contains 40 firms over 15 years with firm and individual level data, with the individuals being sample randomly from each firm over 15 years. There are time invariant variables at the firm level and the panel design is unbalanced. How should I be looking to treat my...
  7. D

    Merging three files, building panel data and regression

    I'm not a complete newbie in Stata, but I think I'm probably newbie by the standards of the forum, I think. The thing is, I'm trying to build a panel data and test a difference-in-differences model with fixed effects, but I'm having trouble with the merging of the files that I have. I have...
  8. C

    loop regression based on variable

    Dear statisticians, I'm trying to loop a regression on a panel data set. I have the following variables: iden1: cross sectional variable (non-sequential numerical) year: time series variable SIC2: industry variable (non-sequential numerical) What I would like to do is run a regression...
  9. L

    panel data - within-group estimate - individual fixed effects retrieved

    Hi TalkStats people! I am analyzing panel data. First, I have to decide whether to use a random or fixed effect estimator. The Hausman test suggests to use the fixed effect estimator (also named within group estimator). Thus, this is what I am using. However, this method eliminates the...
  10. M

    Repeated ANOVA controlling for a factor

    I have data for agencies funded consistently from 2003 to 2012. I have 4 agencies in Massachusetts (agencies of interests) and ## controls (other agencies). My data is in long format. I have 4 variables: Year 2204 to 2012 Total_Clients MA= controls and Massachusetts agencies (1 or 0)...
  11. N

    panel data

    can anyone please help me in sas i need a sample panel data and also can someone run it on sas and give me solution here i would realy thnkful to you guys and it helps me to start work on panel data and please solution of sas also provide me please...
  12. L

    hausman vs xtoverid test

    Hi there, I'm a new user to stata so please forgive the really basic question here. I received this output when i keyed in the hausman test: "hausman cannot be used with vce(robust), vce(cluster cvar), or p-weighted data" I have used the robust command for both the fixed effects and...
  13. P

    Reshape to long: how to prepare data?

    Hi, I really need your help. I'm new to Stata so it might be easy to answer for you guys... I have an excel sheet that lists stock prices for specific firms (about 800) on each trading day for 10 years. Firms (coded by their German stock exchange code) are arranged in ROW and dates in COLUMN...
  14. R

    STATA - Splitting panel data into quartiles

    I am new to this stuff so please excuse me if an answer already exists but I certainly can't find it. I have a large panel dataset in STATA and want to know how I can split the data into quantiles (deciles preferably) of a certain variable, but by year. To be more specific, I have data on...
  15. D

    Interpreting Panel data analysis

    Hi there, This is my first statistical question on this forum. I am busy with my thesis, so I think a couple more will follow in the coming months. I have some results from a panel data analysis. My outputs are in the attachment. I have a simple question on how I have to interpret these...
  16. S

    Error using xtregfem

    Hey guys. I've been trying to run a user-written program to do a ridge and weighted fixed effects panel data regression called xtregfem but I can't get it to work. What I do is: *******example******* xtregfem hea gdpln postin labforfem, id(country) it(year) ******example end*******...
  17. S

    Fixing multicollinearity in panel data regression

    Hey guys. It's a big question in short format; I have data from 42 countries over 12 years and one of my independent variables is GDP (transformed by ln). I have a few other macro level variables and I would like to run some pooled models but I run into trouble - I have a lot of...
  18. T

    SPSS 20 - Fixed effects regression using LSDV

    Hi, I am using a panel data set in SPSS 20. I am attempting to run a fixed effects regression using least squares dummy variable and calculate F tests to compare the residuals from the (restricted) pooled OLS and (unrestricted) LSDV estimators. However, since I am using a recent version I...
  19. M

    Stata - selecting data to go into a panel

    I am fairly new to stata and I am trying to run a cross country panel data analysis. my data comes from a variety of sources e.g. World Bank, UN etc. I have imported the data for each variable seperately into Stata but I have noticed that for each variable I have data for different years and...
  20. A

    How to use a mix of random effects and fixed effects?

    Hi, all :wave::wave::wave: I was reading a paper about Free Trade Agreements impact on trade, here is the link http://www.aseancenter.org.tw/upload/files/OUTLOOK002_02.pdf. I have been contacting the author, but he wouldn't explain in detail :confused::confused::confused::confused: For...