Questions tagged as 'glm'

1
answer

Predict function in GLMM

Edited When we use a traditional logistic regression and make a prediction in R for example: library(dplyr) n = 300 xx<-c("r1","r2","r3","r4","r5") xxx<-c("e1","e2","e3") p=0.3 df1 <- data_frame( xx1 = runif(n, min = 0, max = 10)...
asked by 26.01.2018 / 12:17
0
answers

Problems with GLM

I have the following array: DIV RIQ EXC FX_FREQ AMPL FQMIN FQMAX FQDOM DUR BM 1.16 14 1 6 9950 250 10200 3254.4 173.77 CP 1.23 12 1 6 9840 260 10100 3417.5 84.06 MT 2.03...
asked by 08.11.2017 / 00:27
0
answers

Confidence Interval

I would like to generate the confidence interval values for some explanatory variables of the HUNTED response variable. The data is distributed in 3 different time periods. However, when I use the code: library (MASS) confint (allspecies4) I onl...
asked by 07.09.2018 / 14:50
0
answers

How to perform a GLM of a variable with lognormal distribution in R?

I have the problem defining a "generalized linear model" with the lognormal distribution. Simply the glm function does not accept this distribution and I saw the suggestion to use the following command: glm(y ~ a+b+c, family=gaussian(l...
asked by 04.06.2018 / 23:49
0
answers

which family to use in glm for non-binomial categorical variable

I'm working with a database to test seasonalities in different time frames. One of the response categories is binomial (rain and dry) and it's all right when I do the glm using the family="binomial", but the other categories are not binomial and...
asked by 06.06.2018 / 22:47
0
answers

Which theoretical distribution family do you use for indexes?

Hello, I have a dataset of floating leaf asymmetry indexes and would like to run a GLM using this index as a response variable and the other characteristics of the leaf as predictor variables (leaf width, leaf thickness). the variable response is...
asked by 02.05.2018 / 19:05