Displaying 16 results from an estimated 16 matches for "epsi".
Did you mean:
eps
2013 Feb 11
1
assign estimated values
Hi,
I want to assign the ar1 , ma 1 and the intercept estimated by the
following<http://r.789695.n4.nabble.com/assign-estimated-values-td4658138.html#>code
to three variables a, b and c respectively.
Can anyone help me with this please?
code:
a0 = 0.05; a1 = 0.1; b1 = 0.85
nu = rnorm(2500)
epsi = rep(0, 2500)
h = rep(0, 2500)
for (i in 2: 2500) { h[i] = a0 + a1 * epsi[i-1]^2 + b1 * h[i-1] ; epsi[i]
= nu[i] * sqrt(h[i])}
epsi = epsi[1501:2500]
epsi=epsi*epsi
arma(epsi,order=c(1,1))
--
*Malaka Thilakaratne
Department of Mathematics and Statistics
Missouri University of Science and Techno...
2007 Jun 24
2
ANOVA non-sphericity test and corrections (eg, Greenhouse-Geisser)
...x0 <- rnorm(30)
x2 <- rnorm(30)
x4 <- rnorm(30)
data <- cbind(x0,x2,x4)
# n is the number of 'subjects' or rows; while
# k is the number of levels in the factor (columns),
# which is the number of repeated measures
n <- dim(data)[1]
k <- dim(data)[2]
# if k <= 2, the epsilon correction is not required.
# When the data are perfectly spherical, epsilon = 1.
# The minimum value possible for epsilon is
epsi = 1 / (k - 1)
# if epsi == 1 and k == 2, quit now...
# ---
# calculate variance-covariance matrix
# diagonal entries are variance,
# off-diagonal are covariance
S...
2011 Dec 21
3
NEWTON ALGORITHM
...1ST DERIVATIVE
fp=function(x){
out=(2)*(x^2)*exp(x^3)-(10/x)
return(out)
}
## 2ND DERIVATIVE
fpp=function(x){
out=(4)*(x)*exp(x^3)+(6)*(x^4)*exp(x^3)+(10/x^2)
return(out)
}
I am trying to find the "zero" of "fp",my 1st derivative, with my newton
algorithm:
newbon=function(x0,epsi,f,fp){
## where "a" corresponds to x^n et
## "b" corresponds to x^n+1
## We are looking for x^n+1 such that f(x^n+1)=0
## NB: fp(a)*(a-b)=f(a) when f(b)=0
a=x0
b=(fp(a)*a-f(a))/fp(a)
while(abs(-fp(a)*(b-a))>epsi){
a=b
b=(fp(a)*a-f(a))/fp(a)
}
out=NULL
out=a
r...
2005 Feb 23
1
H-F corr.: covariance matrix for interaction effect
...ow I could do this?
(I'll append my code at the end, in case that helps in any way...)
Thanks
Bela
# parameters for this function are:
# S - variance matrix (created by var() )
# k - number of factor levels (i.e. dim of S)
# n - number of measurements (i.e. number of rows in original matrix)
epsi.GG.HF <- function (S,k,n) {
D <- (k^2 * (mean(S) - mean(diag(S)))^2)
N1 <- sum(S^2)
N2 <- 2 * k * sum(apply(S, 1, mean)^2)
N3 <- k^2 * mean(S)^2
epsiGG <- D / ((k - 1) * (N1 - N2 + N3))
epsiHF <- (n * (k-1) * epsiGG - 2) / ((k-1) * ((n-1) - (k-1)*epsiGG))
c...
2005 Feb 23
1
H-F corr.: covariance matrix for interaction effect
...ow I could do this?
(I'll append my code at the end, in case that helps in any way...)
Thanks
Bela
# parameters for this function are:
# S - variance matrix (created by var() )
# k - number of factor levels (i.e. dim of S)
# n - number of measurements (i.e. number of rows in original matrix)
epsi.GG.HF <- function (S,k,n) {
D <- (k^2 * (mean(S) - mean(diag(S)))^2)
N1 <- sum(S^2)
N2 <- 2 * k * sum(apply(S, 1, mean)^2)
N3 <- k^2 * mean(S)^2
epsiGG <- D / ((k - 1) * (N1 - N2 + N3))
epsiHF <- (n * (k-1) * epsiGG - 2) / ((k-1) * ((n-1) - (k-1)*epsiGG))
c...
1998 May 01
0
R-beta: ps-graph in R and S confirmation
...for reason
explained in earlier messages 10 times larger in R than in S.
best regards to everyone who helped me with this
Helgi Tomasson
>
> Sorry to get into this late - I have been off at a conference.
>
> The Aladdin distribution of ghostscript contains a script called
> ps2epsi that re-calculates and inserts a tighter bounding box. It
> does this essentially by rendering the postscript code on a raster
> then determining a minimal bounding box for the raster.
>
> A disadvantage of using ps2epsi is that it also includes the raster
> image in the file so...
1998 Apr 25
1
R-beta: postscript in R and R
I am creating postscript-graphics in R. When I import them into
a LATEX document it is impossible to get the caption close
to the figure. I run the same program in Splus, and no problem
of getting the caption just below the figure. Another thing,
the ps file that S created is only 10% of the size of the file
that R created. What is wrong? Are there some parameters to
be set?
Helgi
2007 May 18
2
displaying intensity through opacity on an image
Dear colleagues,
I have an image which I can display in the greyscale using image. On this image, for some pixels, which I know, I want to display their activity based on a third measure. One way to do that would be to color these differently, and use an opacity measure to display the third measure. An example of what I am trying to do is at:
2007 Feb 01
0
Someone change my printer default settings
...ails.
I use gentoo (kernel 2.6.17), samba (3.0.22-r3), cups (cups-1.2.6),
openldap (2.3.30-r2).
An extract of my smb.conf (only the relevant):
[global]
delete user from group script = /usr/sbin/smbldap-groupmod -x "%
u" "%g"
dns proxy = no
netbios name = epsi
netbios aliases = mthics
dos charset = 850
Unix charset = ISO8859-1
local master = yes
workgroup = nneint
debug level = 3
os level = 65
ldap admin dn = cn=manager,dc=nneint,dc=com
ldap passwd sync = Yes
printing = cups...
2000 May 29
2
LaTeX \varrho
Hi,
plot( <whatever> , xlab=expression(rho))
works fine and plots LaTeX''s \rho. How can I plot \varrho ?
Torsten
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject
2007 Aug 02
0
Package portability issues
...the R
headers.)
1) One common error message is
An integer constant expression is required within the array subscript
operator.
Here is an example:
double data[(*nrow)+2*env][(*ncol)+2*env];
This affects at least packages
GammaTest MCMCpack MasterBayes clusterSim dprep edci epsi knnFinder pbatR
rmetasim zicounts
2) Including C header files is fraught with difficulties. Unfortunately
that includes the R header files, because they in turn include system C
headers.
The checking of which features were available was done using the C
compiler with particular flags, and g...
2000 Aug 20
0
Fwd: Re: Exporting graphics to PS or EPS
...t; EPSF and various other vector and bitmap formats, see the
> Encyclopedia of Graphics File Formats from O'Reilly at
> > <a
href="http://www.oreilly.com/catalog/gffcd/">http://www.oreilly.com/catalog/gffc
d/</a>
>
> The preview image is only required in EPSI (I for Interchange) files. See
> the definitive source, the PostScript Language Reference Manual from Adobe.
> The critical point about EPSF is that it bans some of the PS operators, and
> unfortunately R (up to and including 1.1.1) got that slightly wrong. What
> you are describing is...
2000 Aug 19
1
Exporting graphics to PS or EPS
On Fri, 18 Aug 2000 07:49:44 +0100, Brian D Ripley <ripley at stats.ox.ac.uk> wrote:
>On Thu, 17 Aug 2000, Paul E Johnson wrote:
>> My experience is that, if I output a gif that does not
>> fit on the page, then I've shot myself in the foot because resizing the
>> graph makes all the text in it too small. I don't think postscript is
>> immune to this
2001 Sep 13
3
OT: ps -> eps -> MS Word
I've created a bunch of postscript trees (post.rpart), which I subsequently
edit in Adobe Acrobat 4.05 (I need additional labelling that isn't easy to
add with R). After editing the labels and annotations using Acrobat, I
then export the file to Adobe's .eps format so I can insert the picture
into a Microsoft Word 2000 document. The .pdf file distilled from the .ps
file is
2007 Mar 26
1
Problem in loading all packages all at once
...ot;edci","effects","eha","elasticnet","ElemStatLearn","ellipse","elliptic","emme2","emplik","emulator","EMV","energy","ensembleBMA","Epi","epitools","epsi","equivalence","evd","evdbayes","evir","exactLoglinTest","exactmaxsel","exactRankTests","extRemes","FactoMineR","Fahrmeir","far","faraway","fastICA","fBasics&q...
2014 Oct 17
2
Windows 8 polices are not applied
Hello all,
I am having some problems with the group policies in a small (~10 pc's)
AD. I have set up Samba and i used a NAS for saving home folders and
policies. I then had to replace the NAS and i used a new ip for the new
NAS. For the last step i changed the ip of the redirected folders in the
policy in order to point all pc's to the new NAS. It seems the policies
are not applied