Displaying 3 results from an estimated 3 matches for "multi2".
Did you mean:
multi
2007 Nov 16
1
constraint matrices in vglm (VGAM package)
Hello R users,
I am performing a multinomial logit regression and would like to
constrain a few model coefficients to be equal.
Here is my model:
multi <- vglm(case123con ~ SNP_A1+SNP_A2+age, multinomial, work.analy)
where case123con is a four level categorical variable (case 1, case 2,
case 3, control) and SNP_A1 and SNP_A2 are indicator functions (yes/no).
The output of this
2011 Jun 13
0
How to formulate an (effect-modifying) interaction with matching variable in a conditional logistic regression?
...drop race
mult2.cl<-update(mult.cl,.~.-race)
summary(mult2.cl)
######################
# check interactions #
######################
multi1.cl<-update(mult2.cl,.~.+age:lwt)
summary(multi1.cl)
anova(mult2.cl,multi1.cl)
# then comes the interaction with smoke
# no good! Here's the problem
multi2.cl<-update(mult2.cl,.~.+age:smoke)
summary(multi2.cl)
anova(mult2.cl,multi2.cl)
# has to define my own variable?
dataset$ageNsmoke<-as.numeric(dataset$smoke=="yes")*dataset$age
multi2a.cl<-update(mult2.cl,.~.+ageNsmoke)
summary(multi2a.cl)
anova(mult2.cl,multi2a.cl)
# but suppo...
2008 Jul 12
1
Reading Multi-value data fields for descriptive analysis
Hello,
I'm looking for help on the best approach to get "multi-value" data fields into R for simple descriptive analysis.
-------------------------------------
I am new to this list and new to R, but I really want to get over the hump and get productive with it. Some help with how to best get the following data into R would be greatly appreciated. I have programming experience