# Questions tagged [fixed-effects-model]

In biostatistics, fixed-effects may mean population-average effects. In econometrics, fixed-effects may represent the observed quantities in terms of explanatory variables that are treated as if the quantities were non-random.

853 questions
Filter by
Sorted by
Tagged with
1answer
17 views

### Including Fixed Effects in a LASSO/Elastic Net regression model (in R)

So this is a question has vaguely been asked before (see 1 and 2) but I have not been able to find a conclusive answer for anywhere. Essentially I have panel data for 300 US firms between 2012-2020 ...
0answers
11 views

1answer
40 views

### Two-way fixed effects and collinearity

I am modeling the relationship of an independent variable $(x_t/z_i),$ where $t$ indexes time and $i$ individual with an outcome $y_{it}$. The log transformation of $(x_t/z_i)$ is prohibitively ...
0answers
50 views

### How can I generate longitudinal data with correlated individual effects and serially correlated error term in R/Rstudio?

I would like to generate longitudinal data with correlated individual fixed effects (correlation with the explanatory variable) and serially correlated error term in R/Rstudio. The data generating ...
0answers
13 views

### non linear model with fixed effect and instrumental variables

I encountered a project which has binary outcomes and repeated observations of the same individual, but the panel is short (T is small), so it seems that the only ...
1answer
42 views

### Time effects with dummy variable - regression

I am doing a multiple regression analysis and I wanted to inspect the time effect by using factor(Year) in R. However, I got the following summary results: Do you ...
0answers
35 views

### What is the difference between conditional and unconditional fixed effects?

What is the difference between unconditional and conditional (fixed effects negative binomial) regression models? A similar question was asked for quantile regression here: What is the difference ...
0answers
25 views

### Repeated Measures analysis of variance

I am new user of R software. I have 2 types of experiments. I want to analyze data from 10 jujube varieties and harvested fruits at 4 maturity stages. The effect of varieties is fixed while that of ...
1answer
65 views

### Pooled cross-sectional data or Fixed Effects?

Note: Apologies in advance for mistakes in terminology and understanding of the methods, I am a novice at this. I would like to compare the mental health of different groups of immigrants (by region-...
0answers
14 views

### Fixed effects and seasonality

I am looking at historical hourly electricity demand data over multiple years and trying to regress it with hourly temperature data to understand the true relationship. I am curious if the hour of the ...
0answers
22 views

### Using random effects for a between-subjects variable to assess variability in a mixed model

I want to use a mixed model to test random effects for between subject factors. Similar questions have been covered before, with answers that it can be done using lme4. (See here and here for some ...
1answer
31 views

### What is the mathematical model formula to a gam model fit using two fixed effects and interactions?

I am fitting a qGAM model via the qgam package in R; modelling the median of my response Y along covariates. It is of the form: ...
1answer
41 views

### Theoretical explanation of using time-fixed effects

I am currently sitting on an understanding issue. I did some regressions (pooled OLS) on my panel data and hold for time fixed effects. However, I am confused about the interpretation of the time ...
1answer
44 views

### Random effect accounting for main effect?

Situation: I'm analyzing results from an experiment with a hierarchical structure. There are two groups A and B, multiple subjects within each group, and multiple measurements within each subject. ...
1answer
40 views

### Regression model for a 2x3 mixed design with repeated measures?

Edited: I have a mixed (2x3) design setup where the between-subjects factor is "gender"(2 levels) and the within-subjects factor is "group"(3 levels). The main IV of interest is ...
1answer
46 views

### Do unbalanced observations contribute to identification in fixed effects models?

I am quite confused on how to interpret my regression results. I want to estimate the effect of tariff changes $\tau_{st}$ in sector $s$, period $t$ on firm $i$ employment. I have two time periods (4 ...
1answer
79 views

### Treat year as a fixed effect, random effect, or covariate?

I have a dataset of fish species from different sites within a harbour collected over 17 years. The dataset consists of 1,042 sampling transects collected at 6 specific locations where fish were ...
1answer
54 views

### Difference-in-difference and panel data models

I understand that according to the observations you have (two independent cross-sections in two or more time periods or the same individuals observed in two different periods), then difference-in-...