Doubt logistic regression analysis in R

Asked

Viewed 114 times

0

Analysis R, possible logistic analysis, I have difficulties in analyzing a data where several species of toads vocalize, during the data collection the vocalization had presence or absence between intervals of 5 in 5 minutes for 12 hours (The data of the 5 minutes of collection totaled 144 samples). How to proceed?

Where Faber is a species of amphibian, I’ve only managed to reach this point.

rm(list=ls())

dados=read.csv("teste.csv", header=T)

dados$Tempo <- factor(dados$Tempo)


names(dados)

#REGRESSÃO LOGISTICA

# Análise de distribuição de B. faber
dadosfaber<-glm(faber~Tempo, family="binomial")
summary(dadosfaber)

# Calculando o intervalo de confiança
confint(dadosfaber)

# Calculando o intervalo de confiança com o erro padrão
confint.default(dadosfaber)

#
exp(cbind(OR = coef(dadosfaber), confint(dadosfaber)))
  • 3

    Welcome Érika, start by doing the [tour] to learn how the community, for someone to help you, we need you to provide a MCVE, read How to create a minimum playable example in R.

  • Welcome, bad would optimize using lm instead of GLM, lm already calculates confidence and standard error. If presence or absence is in school 0e 1(for presence or absence of any vocalization), could apply the technique of dummyes, but everything indicates that its serious result, the influence of the presence of voices in relation to Open (which should be quantity for period maybe) I’m not sure if it’s anything conclusive for your study, good luck!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.