# Questions tagged [offset]

A variable with a fixed coefficient of 1. Offsets are commonly used in Poisson regression to allow the modeling of rates instead of counts.

34 questions
1answer
309 views

### Offset option in Proc Logistic (SAS)

What difference does it make in estimation of model equation if a variable is specified in offset option in proc logistic? I know, if I specify a variable in offset option; the variable will be ...
1answer
45 views

### Count data with “double offsets”?

I am looking into race and homicides in the USA, 1995-2016. I want to look into "trans-race" (victim and perpetrator different races) homicides by race and year. However I want to also include effects ...
1answer
291 views

### Is the offset_column parameter in H20's random forest algorithm the same as the offset option in SAS Proc Logistic?

I am trying to use H2O in R to run a random forest. http://docs.h2o.ai/h2oclassic/Ruser/rtutorial.html In the documentation, I saw that there is an option for an offset parameter but I cannot find ...
1answer
22 views

### Statistical specification for a Regression with continuous finite range count like data

I am interested in explaining what kind of personal characteristics and work environment variables are associated with sickness absenteeism. My dependent variable is the total number of days a given ...
1answer
128 views

### Statistical analysis of number of flood events

I am given the number of flooding events. There were 9 events in the years 2000-2010, and 6 between 1900-2000. How can one use Poisson to test if the frequency is increasing or not? What other type of ...
0answers
1k views

### Analysis of survival data using binomial GLM with offset

We are interested in determining whether there's an association between frequency of screening visits and cancer outcomes and whether that differs by race. We have Medicare data to analyze this. ...
0answers
394 views

### Can a GLM with exponential response distribution be transformed into a Poisson regression instead?

Given the following generative model $$T | \mathbf{x_i} \sim \operatorname{Exp}(\lambda_i)$$ $$\ln(\lambda_i) = \beta_0 + \beta_1 x_1 + \beta_2 x_2 + \dots$$ That is: I have observations of ...
0answers
542 views

### How a tweedie glm handles an offset?

I am trying to fit a model with a glm using a tweedie family. I use a index parameter p between 1 and 2 to get a compound Poisson Gamma distribution to fit my data. But I want to use an offset only on ...
0answers
114 views

### How does Poisson regression (with an offset) relate to Logistic regression?

I have some data I am trying to analyze of how often someone has chosen a given option (which I'll call choice A) vs not choosing it (which I'll call choice B) during a 6 month period. Each subject ...
0answers
123 views

### How can I account for different sampling effort in my GLMM Poisson regression using glmer() - easily reproduced example inc

I've been grappling with my dataset for what seems like a very long time now. Hope someone can point me in the right direction. I would like to know how to account for the differing sampling effort ...
0answers
38 views

### What does one do when the coefficient for the log of the rate estimator for a poisson rate model is very different from 1?

Let's say we have "number of accidents" as the response in a poisson regression model. One of the predictors is "number of days." Naturally, we expect more accidents to occur over more days, so it ...
0answers
112 views

### How to account for patterns in GAMM residuals due to the addition of an offset?

I have been wrestling with some model problems for a few weeks now and would like some help. I am trying to determine whether fish catch rates have changed following an event using GAMM. Because ...
0answers
60 views

### Is an offset valid or is it endogenous in this count modeling scenario

Theory seems to indicate that an offset should be included in count models if groups are observed for different lengths of time or if they have different levels of exposure. Suppose we are observing ...
0answers
116 views

### Correlation between offset and predictor in count data

I am fitting a Poisson model that requires an offset term to account for sampling effort. However the offset term is highly correlated with one of the linear predictors that is central to my ...
0answers
508 views

### How to calculate robust standard error with offset?

I think the default vcovHC in R's sandwich package does not handle offsets in Poisson models. We see this because robust (heteroscedasticity consistent) standard ...
0answers
827 views

### How to estimate an mlogit (R package) model with a fixed (offset) variable

I am trying to estimate a multinomial logit model using an offset variable with the mlogit package of R Using the syntax here [https://stat.ethz.ch/R-manual/R-devel/library/stats/html/formula.html] ...
0answers
43 views

### How does offset in XGBoost is handled in binary:logistic objective function

I am working on a mortality prediction (binary outcome) problem with “base mortality probability” as my offset in the XGboost problem. I have used gbtree booster and binary:logistic objective function....
0answers
524 views

### GLM with averaged-count data - Poisson? Negative Binomial? Offset?

I am trying to construct GLMs to explore the relationship between woodpecker abundance and 9 predictor variables (tree density, canopy cover, and so on). My data were collected as counts of ...
0answers
37 views

### Using an offset term with panel data and unexposed controls

I'm evaluating the effect of a policy change on a count outcome across a number of units over time. I have panel data for 300 units over 20 time periods, with roughly 20% of units exposed to the ...
0answers
33 views

### Negative Binomial Regression model discrepancies

In a table, I've got total plant Counts (C), previous yr plant counts(PC), and multiple weather predictors(W; continuous data). The objective is examine the relationship between counts (C) and various ...
0answers
156 views

### Poisson model with multiple time offsets

I am trying to model health outcome rates by flu-season. I.e. hospitalization rates in good flu-years versus bad years. I am working with individual level nursing home resident data from ...
0answers
123 views

### Logarithmic offset + Scaling Counts + Multiplying by Scalar + Poisson Regression

I am working with a contingency table where I know that the population sizes from which the counts are derived are very different. From what I have been able to gather, an appropriate way to adjust ...
0answers
315 views

### Exposure variable negative binomial

I am using a negative binomial regression to analyse the amount of purchases per day for different products. When products are available for a different amount of time, (for example product A is ...
0answers
152 views

### Regression Model - forcing a coefficient/effect to be 1

Currently we have a linear model which includes 3 independent variables and the dependent variable "Y" which is the predicted values (range from -0.5 to 2000) from the model. Now we want to leverage ...
0answers
830 views

### Analysis of rates and post hoc test with offset variable using glmer.nb

I am investigating variation in pollinator visitation rate (number of visits per inflorescence) with treatment and time category as fixed factors. Block is a random factor. Following Zuur et al. (2009)...
0answers
98 views

### Confusion about the kind of offset-value for this non homogenous poisson-process

Suppose that I observe $M$-times this kind of table: ...
0answers
15 views

### Can I use Poisson regression to model prevalence ratios if I only have information on events?

I often used Poisson regression models to estimate prevalence ratios. However, in these cases my data contained information on the whole population, including events (1) and non events (0). ...
0answers
10 views

### Interpretation of average marginal effect for proportion outcome in Poisson model with offset

To see the association of malaria prevalence with village level risk factors, I ran a Poisson model in r with the prevalence of malaria(y) as a dependent variable, altitude(x1) and Forestation(x2) as ...
0answers
23 views

### How to fit a gls model with a known slope

i want to fit a gls model (from nlme package) with a specified slope, so i can get the computed intercept for the best fit. I tried to set the slope with an offset. Althogh it works fine with lm, it ...
0answers
77 views

### Residual Deviance and degrees of freedom - Negative Binomial Distribution

I am trying to model count data using python's statsmodels module (Beer's sold at a football stadium as function of visitors, "tilskuer", and weather data). ...
0answers
25 views

### Offset in NB model produces contradictory results to original data

My (example) data frame is rather simple. I would like to know if there is a difference in numbers between the factors (n=2) within variable X. ...
0answers
103 views

### Weights vs offsets in logistic tree models

I'm interested in the differences in interpretation and functionality regarding weights and offsets in logistic regression trees. In my case, I am using XGBoost trees for logistic regression where the ...
0answers
23 views

### Include predictions as feature in regression. covariate or offset?

I have a regression setting in which I would like to explore the influence of a given variable on a certain patient condition, given a level of risk for the same outcome, predicted with a more complex ...
0answers
41 views

### How to insert temperature and precipitation data on a GEE or GLMM model

I am analysing a data of number of aphids with variation over time (32 avaliations performed every week), area (two areas), and plant position (fixed factor), with 3 replications. Because of that, I ...