search for: i_i

Displaying 3 results from an estimated 3 matches for "i_i".

Did you mean: _i
2005 Nov 09
5
How to find statistics like that.
Hi there, Suppose mu is constant, and error is normally distributed with mean 0 and fixed variance s. I need to find a statistics that: Y_i = mu + beta1* I1_i beta2*I2_i + beta3*I1_i*I2_i + +error, where I_i is 1 Y_i is from group A, and 0 if Y_i is from group B. It is large when beta1=beta2=0 It is small when beta1 and/or beta2 is not equal to 0 How can I find it by R? Thank you very much for your time. Fay
2000 Jun 21
1
converting a string to an element in a function call
...t(" It expects a vector of names and a lm.object to update.\n") cat(" as in script.name(facvec,base.lm).\n") stop() } a_0 i_0 base.r2_summary(base.lm)$r.squared for (i in 1:length(facvec)){ a[i]_c(fac=summary(update(base.lm,.~.+as.name(facvec[i])))$r.squared-base.r2) i_i+1 } return(a) } Thanks for any help, adrian acuster at nature.berkeley.edu -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe&...
2013 Feb 13
1
An extended Hodgkin-Huxley model that doesn't want to work.
...n lsoda(y, times, func, parms, ...) : illegal input detected before taking any integration steps - see written message I'll first paste the formulae and then I'll paste my code. If anyone can spot something wrong with my implementation it would really make my day. (1) dV/dt = (I_ext - I_int-I_coup)/C I_ext = injected current I_int = Sum of all ion currents I_coup = coupling current (but we're not using it here ) (2) I_i = g_i * m_i^pi * h_i^pi(V-E) i identifies the ion, thus I_K would be Potassium current. (3) dm/dt = (m_inf*V - m)/tau_m (4) dh/dt = (h_inf*V-h)/tau_h (5) The...