Displaying 20 results from an estimated 32 matches for "w_".
2012 Jun 25
4
do.call or something instead of for
Dear R users,
I'd like to compute X like below.
X_{i,t} = 0.1*t + 2*X_{i,t-1} + W_{i,t}
where W_{i,t} are from Uniform(0,2) and X_{i,0} = 1+5*W_{i,0}
Of course, I can do this with "for" statement, but I don't think it's good
idea because "i" and "t" are too big.
So, my question is that
Is there any better idea to avoid "for"...
2009 Nov 15
2
lme model specification
....
. . . .
2000 4 1 2.48
2000 4 2 3.93
2000 4 3 5.17
that is, I have data Y_{gtr} for g (gene) =1,...,2000 t (treatment) = 1,...,4 and r (replicate) = 1,...,3
I would like to fit the following linear mixed model using lme
Y_{gtr} = \mu_{g} + W_{gt} + Z_{gtr}
where the \mu_{g}'s are fixed gene effects, W_{gt} ~ N(0, \sigma^{2}) gene-treatment interactions, and residual errors Z_{gtr} ~ N(0,\tau^{2}). (Yes, I know I'm specifying an interaction between gene and treatment without specifying a treatment main effect ! - there is good r...
2001 Jan 02
0
mdct explanation
...output, and put it
on a webpage or something. I'm to lazy to do it (and besides, I
don't have access to TeX, X, or anything else from a text terminal
with gcc and vi right now).
Hope you like it,
Segher
--
Suppose we want to calculate a MDCT (encode side):
(x_ is input (time) samples, w_ is window, b_ is output (freq) samples):
b_k = \sum_{j=0}^{4N-1} x_j w_j \cos{(2k+1)(2j+1-2N) \over 8N} \pi
After setting
a_j := w_{-j-1+N} x{-j-1+N} + w_{j+N} x{j+N}, j < N
a_j := w_{j-1-N} x{j-1-N} - w_{j+3N} x{j+3N}, otherwise
(or something similar; the cos'es should agree)
we ge...
2011 Jan 03
1
Greetings. I have a question with mixed beta regression model in nlme.
...lp:
My name is Rodrigo and I have a question with nlme package
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...
2011 Jan 03
0
Greetings. I have a question with mixed beta regression model in nlme (corrected version).
...t to say that W is also a unknown parameter in the mixed
beta 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 norm...
2010 Apr 10
1
minimization function
Hi all,
I am trying to minimize the quardratic form w'Aw, with certain
constraints.
In particular,
(1) A=(a_{ij}) is n by n matrix and it is symmetric positive definite,
a_{ii}=1 for all i;
and 0<a_{ij}<1 for i not equal j.
(2) w'1=n;
(3) w_{i}>=0
Analytically, for n=2, it is easy to come up with a result. For larger n, it
seems
difficult to obtain the result.
Does any one know whether it is possible to use R to numerically compute it?
Thank you so much in advance!
Hannah
[[alternative HTML version deleted]]
2008 Mar 19
1
how to add registry files to windows
Hello
I would like to add .reg file to all samba clients (windows xp) in quiet
mode.
How can I do it ? It is possible from eg netlogon??
----------------------------------------------------
ERROR! ... . .... bEZb??DnY prOgrAm__o nowo??iAcH w_ ?wiEcie G_iER
na.jNowSzy_OdcinEk_ : co $Zykuj? tw?rcy caLL of Duty4,
czym JeST The CLUB ............. poD??cz si?:
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Ferror18.03.html&sid=272
2012 Apr 26
0
nnet formular for reproduce the expect output
...0,data=train,size=4,linout=FALSE,decay=0.025,maxit=800)
It works well and give me ROC 0.85. However, when I want to reproduce the
result in java, I cannot get the same prediction as nnet output.
I checked modern applied statistics with S and I think the output is as
follows: y=sigmoid(a_0+\sum (w_{hk} sigmoid_h(a_h+\sum (w_{ih}*x_i)))) and
this is exactly how I reproduce the result, the activation function is
logistic function for hidden layer and output layer.
I use the exact weights I get from the model.
Will anyone be kind of pointing out where thing goes wrong?
Thanks
Eric
--
View...
2013 Feb 27
1
some help in using the package NUT in a perl script
Hello,
I want use the package NUT in a script perl, i wonder how
use the result of method such as BattPercent() for example.
here is my
code :
_#!/usr/bin/perl -w_
_# server_
_use strict;_
_#use
/etc/nut/dev/modules;_
_#use IO::Socket::Multicast;_
_use
UPS::Nut;_
_my $message = localtime;_
_$message .=" `who` . n";_
_print
"-- test : $message n";_
_my $ups = new UPS::Nut(_
_ NAME => "UPS",_
_
HOST => "localhost"...
2013 May 09
0
ARMA(p,q) prediction with pre-determined coefficients
I have the following time series model for prediction purposes
*Loss_t = b1* Loss_(t-1) + b2*GDP_t + b3*W_(t-1)* where W_t is the
usual white noise variable.
So this is similar to ARMA(1,1) except that it also contains an extra
predictor, GDP at time t.
I have only 20 observations on each variable except GDP for which I know
till 100 values.
And most importantly,I have also calculated the coefficien...
2002 Apr 19
4
Durbin-Watson test in packages "car" and "lmtest"
Hi,
P-values in Durbin-Watson test obtained through the use of functions available in packages "lmtest" and "car" are different. The difference is quite significant. function "dwtest" in "lmtest" is much faster than "burbinwatson" in "car". Actually, you can take a nap while the latter trying to calculated Durbin-Watson test. My question
2012 Jun 20
0
{Filename?} Returned mail: see transcript for details
...?!Jc??3??????H???zr???s,?????Ch????S?/?w*kY(s?I???"?d?????
4h?\?u?M8Z??`??E[???l???\.?K?p?r?e??Q???)?????Id'????'???????S??????????? -&>?????gD??????5d5??p?teH? ?)?"??.8^1~??&?{l??!0?u??u????K??E?,z?HDE??<???,'??e??f???m?R???gk
?%Y??????????eG???????????*Q???zK?(?W_??gsO??#?V?"?WJ??%?w?E?n?C?l U???Po?uS?kl???el%:?b?-?I????7
9?Hu???]oD???iZ??$???K?kW3N*??g???N/???a??????}s
5????/??v?c}f??u`??M9g|???g?_
CS?r]??I
E?D4?n?t??Q????a?
?P?w4?e?2j?o??8?c82\?X`?G
?\??B????"??????8?Q?<?????,????2?
"?Pe?? ?~LF
$`?<Z![?B~g)X?l??>b??????Jo,????Kip&qu...
2001 Nov 14
0
OPEN ssh pkg
...\[1X>G ^[M=^KB! 2I0<+QE
ML+@&C,9(;.,:"83=IS'Y2YQGG.92^9W1:<1:/,8PNGW-^0/=]Z\@ ,"JZ,%
MJ[Y%( =) B]"<BNU<6U$:(2#A=+59Z7WMZAVZJ20*JEIJ[[DKE94L!W,H<?7
MENY\J#:**G$FYAQR#BBVE01+ 5;IK9%*6$+=YQ?N_FK\GL8=[+R# [W#@[%P
MP9"MK@ U2P("[Z^(8?!"2[!;"KP+W_!(H[\F(FD( 87,4?%,<?'+X9)8NO%T
MU_$D:\=J1010N1LH7WD9$BO=L?-J#/1L._19&0)N*19XG_=ZO_=\W_=^__>
M'_B"/_A>4>5>SAS9F^6$O_@,<1$980,TP!(G$1(C 1(F<1(PH!,:T1([ 0,T
M$ ,P,0,P,!(Q$/FE[Q&,G_H^D2='D10GC/<*=V1A<14RD!4?L16JG_NZW_=D
M at 8-KX8^086:=>'H at H...
2005 Oct 29
2
LaTex error when creating DVI version when compiling package
...nately be passed.
}
\value{
A list with the following items:
\item{AIC}{a data.frame including LL, the maximized log-likelihood; K
the number of estimated parameters; N2K, number of observations/K; AIC,
the Akaike index criterion; deltAIC, the difference between AIC and the
lowest AIC value; w_i, the Akaike weights; AICc, the second order Akaike
criterion; deltAICc, the difference between AICc and the lowest AICc
value; w_ic, the AICc weights }
\item{models}{the list of models}
}
\references{
Anderson, D.R., Link, W.A., Johnson, D.H. and Burnham, K.P. (2001).
Suggestions for pres...
2013 Nov 12
0
OpenSSH 6.4 connection to Cisco 6506 routers/switches fails
...p/.ssh/id_dsa (0),
debug2: key: /home/mikep/.ssh/id_ecdsa (0),
___
.=" "=._.---. ### ### #####
." c '' ''`p # # ## ## # # #
/ , `. w_/ # # # # ### #
| ''-. / / # # # # # #
_,..._| )_-\ \_=.\ ### ## ## ###
`-....-''`------)))`=-''"`''"
**************...
2018 Nov 02
7
[PATCH v3 0/4] common/utils: Move libxml2 writer macros to a common header file.
v1 was here:
https://www.redhat.com/archives/libguestfs/2018-October/msg00047.html
v2 was here:
https://www.redhat.com/archives/libguestfs/2018-October/msg00051.html
v3:
- Back to using string/string_format and attribute/attribute_format.
- Add both single_element and single_element_format.
- Rebased and retested.
Rich.
2014 Jan 08
5
hivex: Make node names and value names with embedded null characters accessible
On Windows, there exist at least two APIs for dealing with the
Registry: The Win32 API (RegCreateKeyA, RegCreateKeyW, etc.) works
with null-terminated ASCII or UTF-16 strings. The native API
(ZwCreateKey, etc.), on the other hand works with UTF-16 strings that
are stored as buffers+length and may contain null characters. Malware
authors have been relying on the Win32 API's inability to
2015 Jan 03
4
Potential cross-platform package building issue
I am using 32-bit R 3.1.2 on Windows 7.
I recently conducted an `R CMD check --as-cran` on a recently-developed
package and received only the 'New submission' note. Research on
StackOverflow and on R-devel suggested this could be ignored. I also used
devtools::build_win() and received no notes or warnings, other than the one
mentioned previously. Lastly, I conducted an `R CMD check` with
2014 Dec 11
3
Problem with TLS and Outlook 2010
....
0030 - 88 21 4e fd 7e be 69 b8-88 30 c9 99 70 f4 ea f3
.!N.~.i..0..p...
0040 - b0 90 c8 ab a6 f4 e5 37-c8 3e 4e 33 24 f9 cd 37
.......7.>N3$..7
0050 - f8 b0 8a 9a f3 44 39 27-e3 3d 96 3b ba a2 4e 85
.....D9'.=.;..N.
0060 - 77 5f a7 f7 6e 12 76 59-51 94 da 63 dd 99 cc 74
w_..n.vYQ..c...t
0070 - 1b 1b 1f 33 02 5f 3d ed-9a 57 e8 63 87 d4 8f d5
...3._=..W.c....
0080 - d5 fc 8c bf 89 4d 4d 91-bc 4f c7 67 79 c4 ec e9
.....MM..O.gy...
0090 - 47 68 0f 21 47 58 8a c9-10 a0 3b 46 e9 3b 08 cb
Gh.!GX....;F.;..
Start Time: 1418337012
Timeout : 300 (s...
2014 Jan 10
4
[PATCH] Add a minimal hive with "special" keys and values
...IjS{WDsl5^DbVRygYe);`|l5
zmwvTc6<;J7wSyZRz#}64kJx;0%#I?=7nQG);7gK}{a8it4kYH{F-$#?#6xOZ>|NqV
zd&C<%;!nxWP=0qK-r1br*ioH{x3$K0vx<a4z%k7f)M#uy^M+y#w4Hl|^N6ef>#83Y
zz+dBbm`$(dcCK8KYPzrn|4Y=<FmVGw%f_)pj&x=wJN>D-{t;aqV!DdB6*xGaxzF8t
zo0l4V94u-aKJapH5c6RSisfa^^5XR1CDntMF7XEcF7d{W_^!Oz_^rG+U3f`_u(rH7
zp3Q5UUa@`nU5h8*=k9#*hDN7n{O|m&;rA>@e~6Ft@U?kmJ59(>9P_z7$1d1=Ci3&h
zu4c7;&s_Kd0X;?x>>!)>g@(ZILg5jm@Sfd5A1;rMTvkSgX(I!L*{Io*`#r=jSYEha
zBJU3JaZr}9uKKCad7-@`^XTPe(B&&Ycg2&Zvf%Qh&>MUwTv>ne?$F)8)E`Hoo%OT6
zp#A~q8|RbR?Kv*Y_Q?e5yt@40bx{9...