search for: variable5

Displaying 2 results from an estimated 2 matches for "variable5".

Did you mean: variables
2012 Dec 06
1
clustering of binary data
...trix in R from my data, by using the Vegan package mydistance<-vegdist(t(data),method="jaccard") I receive the following error message: Error in rowSums(x, na.rm = TRUE) : 'x' must be numeric below an subset from my dataset: variable1 variable2 variable3 variable4 variable5 variable6 variable7 variable8 variable9 variable10 variable11 variable12 variable13 case1 0 0 0 0 0 1 0 0 1 1 0 0 0 case2 0 0 0 0 0 1 0 NA NA 1 0 0 0 case3 0 0 0 0 0 1 0 0 1 1 0 0 0 case4 1 0 0 0 0 1 0 1 0 1 0 0 0 case5 0 0 0 0 0 1 0 0 1 1 0 0 0 case6 0 1 0 0 0 1 0 1 0 1 0 0 0 case7 0 1 0 0...
2009 Apr 30
0
Categorical variable in a custom nonlin function with gnm
Hi all I want to construct a generalised nonlinear model (binomial family) using gnm, of the form: Response = a + b variable1 + c variable2 + d variable3 - d b variable4 - d c variable5, with the parameters b, c, and d appearing more than once. Hence, I think I need to use a custom nonlin function with gnm. One of my predictor variables is categorical, so I have created a dummy variable for each factor level (i.e. zeros and ones), and incorporated each of these variables into th...