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 -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -