Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 46228

Use this tag for any *on-topic* question that (a) involves `R` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `R`.

0 votes
0 answers
2k views

collinearity in linear mixed effects model

I have one dependent variable (continuous data) and 4 independent data (mix of continuous and count) collected over 35 years across several states. I am using a linear mixed effect models with a rando …
user3013423's user avatar
2 votes
1 answer
2k views

difference in results of mixed effects model in nlme and lme4 package

Can anyone please tell me why the results of random slope model is different for the same dataset when I use lme and lmer. I first fitted a random intercept model as follows using both lme as well lm …
user3013423's user avatar
3 votes
1 answer
19k views

nlme() convergence error code = 1

I was trying to use the nlme package in r to do a multilevel linear model. I have yield as response variable and rainfall as predictor variable for 60 years for 6 different locations (State). …
user3013423's user avatar
0 votes
1 answer
5k views

Linear mixed effect models with two independent variables

I am estimating a random intercept and a random slope model using the following R code. My dependent and independent variable are both continuous. …
user3013423's user avatar
1 vote
0 answers
3k views

error structure in Generalized linear models when y is continuous data and errors not normal...

Lets say I have continuous y and x variable and I run a linear regression: mdl1<-lm(y ~ x) A generalised linear model should also give me the same parameters value if I do not specify the error str …
user3013423's user avatar
1 vote
0 answers
161 views

R-squared for linear mixed effects model [duplicate]

I ran linear mixed effects model in R. model<-lmer(yld ~ rain + (1+rain|state),data=data,REML=FALSE) Is there any way I can generate an R-squared for the model. … You may want to have a look at Nakagawa & Schielzeth (2013) A general and simple method for obtaining R 2 from generalized linear mixed-effects models. …
user3013423's user avatar
6 votes
4 answers
700 views

find the point at which the curve significantly shoots up

so this is getting a little complex for me and hope someone can help me out. I do not have a mathematical background. I have a time series of daily rainfall for 50 years for a particular location. Tha …
user3013423's user avatar