search for: x1_

Displaying 4 results from an estimated 4 matches for "x1_".

Did you mean: x11
1999 Jan 21
2
scoping problem?
...n() line. Any hint would be appreciated. -Yudi- R : Copyright 1998, The R Development Core Team Version 0.63.0 Beta (Nov 13, 1998) -- on WIndows3.11 fnfn _ function (m=10,n=10,spar=2) { fn _ function(u,v){ uc_ u-floor(m/2)-1 vc_ v-floor(n/2)-1 exp(-(uc^2 + vc^2)/2/spar^2) } x1_ 1:m ; x2_ 1:n x12 _ outer(x1,x2,FUN='fn') filt _ x12/sum(x12) image(filt) } > source('fnfn.r') > m_10; n_10; spar_2 > fnfn(m,n,spar) Error in get(x, envir, mode, inherits) : variable "fn" was not found ------------------------------ Yudi Pawitan: yudi...
2011 Jan 03
1
Greetings. I have a question with mixed beta regression model in nlme.
...kage in R to fit a mixed beta regression model. The details of the model are: Suppose that:* *j in {1, ..., J}* *(level 1)* *i in {1, ..., n_j}* *(level 2)* *y_{ij} ~ Beta(mu_{ij} * phi_{ij}; (1 - mu_{ij}) * phi_{ij}) y_{ij} = mu_{ij} + w_{ij} * *with* *logit(mu_{ij}) = Beta_{0i} + Beta_{1i} * x1_{ij} + b2 * x2_{ij} log(phi_{ij}) = Gamma_{0i} + Gamma_{1i} * z1_{ij} + c2 * z2_{ij} * *Beta_{0i} = b_0 + u_{0i} Beta_{1i} = b_1 + u_{1i} Gamma_{0i} = c_0 + v_{0i} Gamma_{1i} = c_1 + v_{1i} * *The vector* *(u_{0i}, u_{1i})'* *has normal distribution with mean* *(0, 0)'* *and covariance matri...
2011 Jan 03
0
Greetings. I have a question with mixed beta regression model in nlme (corrected version).
...ta regression model. In any case, here I send you the correct formulation. ** Suppose that:* *j in {1, ..., J}* *(level 1)* *i in {1, ..., n_j}* *(level 2)* *y_{ij} ~ Beta(mu_{ij} * phi_{ij}; (1 - mu_{ij}) * phi_{ij}) y_{ij} = mu_{ij} + w_{ij} * *with* *logit(mu_{ij}) = Beta_{0i} + Beta_{1i} * x1_{ij} + b_2 * x2_{ij} log(phi_{ij}) = Gamma_{0i} + Gamma_{1i} * z1_{ij} + c_2 * z2_{ij} * *Beta_{0i} = b_0 + u_{0i} Beta_{1i} = b_1 + u_{1i} Gamma_{0i} = c_0 + v_{0i} Gamma_{1i} = c_1 + v_{1i} * *The vector* *(u_{0i}, u_{1i})'* *has normal distribution with mean* *(0, 0)'* *and covariance mat...
2003 Feb 27
0
unwanted coercion of length 0 vectors (PR#2587)
...the mode of the something, regardless of whether the coercion is necessary under normal R rules. In particular, if NA is assigned to an element of a vector that was previously length 0, the mode of the vector is coerced to 'logical'. For example, here's the normal behaviour: test> x1_ 5 test> x1[1]_ NA test> x1 [1] NA test> mode( x1) [1] "numeric" No coercion was required because 'logical' (the default mode of NA) is "ancestral" to 'numeric'. Note also that assigning to a hitherto non-existent element of x1, e.g. x1[2]_ NA, also does...