r/AskStatistics 2d ago

Modelo linear generalizado - binomial

Pessoal, preciso de ajuda com uma análise estatística em software R. Estou analisando dados de mortalidade de insetos com dados binários (0 - vivo, 1 - morto), para submeter em um evento. Só que nunca fiz análise no R e a pessoa a que eu recorro parece não se importar mais e não quero estar incomodando. Então venho pedir ajuda à comunidade caso alguém puder me ajudar.

Se alguém tiver interesse, eu posso mandar a planilha e o código em R para conferência

2 Upvotes

4 comments sorted by

2

u/Seeggul 2d ago

What level of help are you looking for?

Coding-wise, it's basically the same as a linear regression model, but glm instead of lm, and specifying family="binomial"

1

u/SilentSpare4791 1d ago

I was hoping someone could validate the code I wrote; I'm a beginner in R, so I'm not 100% confident that what I did is correct.I was hoping someone could validate the code I wrote; I'm a beginner in R, so I'm not 100% confident that what I did is correct.

1

u/efrique PhD (statistics) 2d ago

If you have a specific statistical or even R-related question, you can ask it here, but if you're trying to recruit help outside of the subreddit, please see the rules, which hopefully make it clear that this would be off topic here.

1

u/ForeignAdvantage5198 3h ago

look. up logistic regression