search for: x_it

Displaying 6 results from an estimated 6 matches for "x_it".

Did you mean: x_i
2018 Jan 17
1
mgcv::gam is it possible to have a 'simple' product of 1-d smooths?
...gression analysis. The following is the 'hierarchy' of models I would like to test: (1) Y_i = a + integral[ X_i(t)*Beta(t) dt ] (2) Y_i = a + integral[ F{X_i(t)}*Beta(t) dt ] (3) Y_i = a + integral[ F{X_i(t),t} dt ] equivalents for discrete data might be: 1) Y_i = a + sum_t[ L_t * X_it * Beta_t ] (2) Y_i = a + sum_t[ L_t * F{X_it} * Beta_t ] (3) Y_i = a + sum_t[ L_t * F{X_it,t} ] where Y_i are scalar outcomes for the i-th subject, and X_i(t) is a functional covariate observed at times t in [0,1,...T], and L are the quadrature weights. Beta() and/or F{} are the functions to...
2012 Jul 03
2
Help with lmer formula
Hey all - I am a newbie on mixed-effects models. I want to estimate the following model: Y_it = alpha_0t + alpha_1t*X_it + e_it alpha_0t = gamma_00 + u_0t alpha_1t = gamma_10 + gamma_11*W_it + u_1j Where Y is my outcome, X is my level-1 predictor, and W is my level 2 predictor. I am not sure if I am doing it right. Is this the correct specification of the formula? model = lmer(Y ~ X + X:Y + ( X | ID), data = data)...
2012 Apr 08
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...code to be. I'd have to see the LLVM IR it generated to be sure. But it looks okay to me. (And if it's working for you, all the better. ;-) ) A snippet of the IR code is: > entry: > %add_it = alloca %add_iterator, align 8 > %y_it = alloca %singleton_iterator, align 8 > %x_it = alloca %singleton_iterator, align 8 > %y = alloca %item, align 8 > %x = alloca %item, align 8 > %exception_caught_flag = alloca i8, align 1 > store i8 0, i8* %exception_caught_flag, align 1 > %caught_result_storage = alloca %0, align 8 > store %0 zeroinitializer, %0*...
2012 Apr 08
2
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
On Apr 4, 2012, at 9:32 PM, Paul J. Lucas wrote: > On Mar 23, 2012, at 4:46 PM, Bill Wendling wrote: [...] > This all seems to work just fine. I can throw a C++ exception either in a C++ object's constructor or in an ordinary member function and the stack unwinds correctly (the object's destructors are called) and the exception is propagated back up the C++ code that called the
2012 Mar 08
1
Panel models: Fixed effects & random coefficients in plm
Hello, I am using {plm} to estimate panel models. I want to estimate a model that includes fixed effects for time and individual, but has a random individual effect for the coefficient on the independent variable. That is, I would like to estimate the model: Y_it = a_i + a_t + B_i * X_it + e_it Where i denotes individuals, t denotes time, X is my independent variable, and B (beta) is the coefficient on that random variable. I want both a coefficients to be estimated with fixed effects because I expect them to be correlated with Y, and B to be estimated using a random effect. I und...
2012 Apr 09
5
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...okay to me. (And if it's working for you, all the better. ;-) ) > > A snippet of the IR code is: > The code is good, except for one comment (see below). >> entry: >> %add_it = alloca %add_iterator, align 8 >> %y_it = alloca %singleton_iterator, align 8 >> %x_it = alloca %singleton_iterator, align 8 >> %y = alloca %item, align 8 >> %x = alloca %item, align 8 >> %exception_caught_flag = alloca i8, align 1 >> store i8 0, i8* %exception_caught_flag, align 1 >> %caught_result_storage = alloca %0, align 8 >> store %0 ze...