Linked Questions
27 questions linked to/from How to fit a mixed model with response variable between 0 and 1?
68
votes
4
answers
63k
views
Regression for an outcome (ratio or fraction) between 0 and 1
I am thinking of building a model predicting a ratio $a/b$, where $a \le b$ and $a > 0$ and $b > 0$. So, the ratio would be between $0$ and $1$.
I could use linear regression, although it doesn'...
30
votes
6
answers
22k
views
Beta regression of proportion data including 1 and 0
I am trying to produce a model for which I have a response variable which is a proportion between 0 and 1, this includes quite a few 0s and 1s but also many values in between. I am thinking about ...
39
votes
3
answers
33k
views
How to do logistic regression in R when outcome is fractional (a ratio of two counts)?
I'm reviewing a paper which has the following biological experiment. A device is used to expose cells to varying amounts of fluid shear stress. As greater shear stress is applied to the cells, more of ...
65
votes
2
answers
78k
views
What is quasi-binomial distribution (in the context of GLM)?
I'm hoping someone can provide an intuitive overview of what quasibinomial distribution is and what it does. I'm particularly interested in these points:
How quasibinomial differs to the binomial ...
24
votes
2
answers
26k
views
How to apply binomial GLMM (glmer) to percentages rather than yes-no counts?
I have a repeated-measures experiment where the dependent variable is a percentage, and I have multiple factors as independent variables. I'd like to use glmer from ...
24
votes
1
answer
39k
views
Fitting a binomial GLMM (glmer) to a response variable that is a proportion or fraction
I'm hoping somebody can help with what I think is a relatively simple question, and I think I know the answer but without confirmation it has become something I just can't be certain of.
I have some ...
12
votes
4
answers
11k
views
Extending logistic regression for outcomes in the range between 0 and 1
I have a regression problem where the outcomes are not strictly 0, 1 but rather in the range of all real numbers from 0 to 1 included $Y = [ 0, 0.12, 0.31, ..., 1 ]$.
This problem has already been ...
8
votes
3
answers
4k
views
GLM with logit link and Gaussian family to predict a continuous DV between 0 and 1
Can you run a GLM using a logit link with a continuous DV (between 0 and 1)? Generally it's suggested to use a binomial family with a logit link, but I'm guessing that is because the model assumes a ...
9
votes
2
answers
14k
views
How to replicate Stata's robust binomial GLM for proportion data in R?
There is an example on how to run a GLM for proportion data in Stata here
The IV is the proportion of students receiving free or reduced priced meals at school. The stata model looks like this.:
<...
11
votes
2
answers
2k
views
Is it technically "valid" to fit a logistic regression with a dependent variable that is a proportion?
Several posts (here and here) suggest that beta regression is more appropriate when the dependent variable is naturally bounded between 0 and 1. My question is, leaving appropriateness aside, is it ...
7
votes
2
answers
10k
views
R: How to fit a GLMM in nlme
I want to compare lme4 and nlme packages for my data. But I'm confused by how to use syntax in nlme. I'm working with Mixed-Effects Models in S and S-Plus (Pinheiro, Bates 2000) and the current ...
13
votes
1
answer
12k
views
Regression with percentage response variable (ratio of two counts but the counts themselves are not available) in R
I have a dataset where I'm trying to predict a student's percentage score on a school exam from some other collected IVs. I'm wondering how to correctly run this analysis in ...
3
votes
3
answers
2k
views
Interesting Logistic Regression Idea - Problem: Data not currently in 0/1 form. Any solutions?
I am attempting to conduct a logistic regression for a tennis analytics project, endeavoring to predict the probability of a player winning a point in which he is the server. My response variable (...
8
votes
1
answer
4k
views
Continuous dependent variable between 0 and 1 fitted with sigmoidal function
I've tried to find an answer to this to no avail. It is similar to this question, but not quite identical.
I have a continuous dependent variable that occurs between zero and one (with some data ...
1
vote
0
answers
7k
views
Which of glmer or glmmTMB fits a binomial family mixed model with response in [0,1] - and what metrics help choose? [closed]
I have proportion data $Y \in [0,1]$. Without random effects, this is fit in glm without too much trouble, with family = quasibinomial to adjust the standard errors, although I actually bootstrap to ...
5
votes
0
answers
4k
views
Linear mixed effect model with fractional/proportional outcome: choosing between binomial and beta
I'm looking to run a linear mixed effect model using lme4, where my dependent variable one_syllable_words / total_words_generated is a proportion and my random ...
2
votes
1
answer
3k
views
Still get non-positive values for the 'gamma' family
I am going to post it here, as suggested in stackoverflow:
I am analyzing percentage data with glmer, and I have read that Gamma family should be suitable for this kind of data. I have checked my data ...
1
vote
1
answer
1k
views
Mixed model residuals are not normal
I am modeling data from an experiment with a mixed model. The outcome variable is a percentage. There are three fixed effects, Condition: diseased and healthy, Time point: 1, 2 and 3 , Drug: A,B,C,D,E....
0
votes
2
answers
661
views
modelling proportion data - transforming 0 and 1s to fit beta regression
I have proportion data which includes 0s and 1s (the ri column below, calculated from the ud/days_lib)). I have found a few threads related to modelling this issue. A few of which (e.g., this thread) ...
1
vote
0
answers
1k
views
How to model a decimal response between 0 to 1 with a GLM in R
I am trying to model a response variable which is a proportion (so a response between 0 and 1, see picture for distribution).
Ideally I would like to model it without using the actual counts, so as a ...
5
votes
0
answers
188
views
Which approach can be used to regress sleep time on brain mass, in this data set?
I was reading this blog post:
https://htmlpreview.github.io/?https://raw.githubusercontent.com/avehtari/BDA_R_demos/master/demos_rstan/sleep.html
the author describes a model to predict how many ...
1
vote
1
answer
118
views
A good fit of the model but the estimates are very low
I'm trying to model soil quality using the soil quality index (SQI) as a function of earthworm abundance and elevation. The SQI is restricted to values between 0 and 1. I used multiple soil indicators ...
1
vote
0
answers
215
views
Is lmer or glmer appropriate for nested continuous proportion data
I have a reviewer that wants me to analyze my data along the lines:
Con_Ratio ~ Range * Latitude * Longitude + (1 | Genotype/Pair).
But I'm not sure if this can be done and how. My experimental ...
1
vote
1
answer
125
views
Is a binomial logistic model appropriate for this proportional data?
I am analysing data from a questionnaire with different subscores. The subscores are calculated like this, for example:
Subscore 1 = $(Item_1 + Item_2+ ....+ Item_n)/ n*2$.
Each Item can have a score ...
1
vote
0
answers
103
views
Non-normal residuals when the outcome variable is a Fisher $Z$-transformed correlation coefficient
I’m running a multilevel model in which the outcome variable is a Fisher Z-transformed correlation coefficient. The residuals look quite non-normal:
In case the details matter, I’ll mention that the ...
0
votes
1
answer
88
views
Significance analysis for multiple classes of stimulus with different items per class
I have some data where participants watched some clips and evaluated them. All participants watched all the clips (within-subjects experiment). There are 3 categories of clips: positive, neutral and ...
0
votes
1
answer
45
views
Should I use independent T-Test in this case
I am running a test with two independent variables (Interfaces and Tasks) and one dependent variable (task completion rate):
The data looks like this
...