r - Hypothesis testing on GLM estimates -


i have model defined follows

m1 <- glm(t2d ~ bmi.groups, family = "binomial") 

where bmi.groups factor levels "normal", "overweight", "obese". using summary(m1) can see effect estimates of different factors , associated p-values.

if have hypothesis effect of obese 3 times higher of overweight. how can test in r?

i've tried recode factors numeric values 0, 1 , 4 respectively, i'm not sure if approach correct.

thanks!


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -