Displaying 20 results from an estimated 900 matches similar to: "ADF test"
2017 Jul 30
1
Add Anova statistics in each figure
Hi R Users,
I created interaction plots in ggplot2 and was trying to add output of two way ANOVA models, especially only interaction ( example treatment*control F(XX, XX) = xxx, p = xxx) into figures, but i was not able to add. Would you mind to help on how I can add information into each figure? I have attached the example data and the code that I used for this.
dat<-structure(list(Sites
2007 Dec 08
0
help for segmented package
Hi,
I am trying to find m breakpoints of a linear regression model. I
used the segmented package. It works fine for small number of
predicators and breakpoints.(3 r.v. 3 points). However, my model has
14 variables it even would not work even for just one breakpoints!.
The error message is always estimated breakpoints are out of range.
Since my problem is time related problem. So I
2010 May 26
3
Peak Over Threshold values
Dear List
I hope you can help me: I?ve got a dataframe (df) within which I am looking
for Peak Over Threshold values as well as the length of the events. An event
starts when walevel equals 5.8 and it should end when walevel equals the
lower threshold value (5.35).
I tried ?clusters (?)? from ?evd package?, and varied r (see example) but it
did not work for all events (again
2004 Aug 21
3
Puzzled at lm() and time-series
I tried toy problems and there doesn't seem to be a basic problem
between lm() and ts objects:
X = data.frame(x=c(1,2,7,9), y=c(7,2,3,1))
lm(y ~ x, X)
X <- lapply(X, function(x) ts(x, frequency=12, start=c(1994,7)))
lm(y ~ x, X)
and this works fine - whether you do an lm() before or after making ts
objects, it's okay.
But I have a situation where things aren't okay.
2016 May 25
1
Slow RAID Check/high %iowait during check after updgrade from CentOS 6.5 -> CentOS 7.2
On 2016-05-25 19:13, Kelly Lesperance wrote:
> Hdparm didn?t get far:
>
> [root at r1k1 ~] # hdparm -tT /dev/sda
>
> /dev/sda:
> Timing cached reads: Alarm clock
> [root at r1k1 ~] #
Hi Kelly,
Try running 'iostat -xdmc 1'. Look for a single drive that has
substantially greater await than ~10msec. If all the drives
except one are taking 6-8msec, but one is very
2006 Nov 21
4
means over factors in mlm terms
I'm trying to write a function to find the means over factors of the
responses in a mlm (something I would do easily in SAS with PROC SUMMARY).
The not-working stub of a function to do what I want is below,
and my problem is that I don't know how to call aggregate (or
some other function) in the context of terms in a linear model
extracted from a lm/mlm object.
means.mlm <-
2013 Dec 23
2
[PATCH net-next 3/3] net: auto-tune mergeable rx buffer size for improved performance
On Mon, Dec 16, 2013 at 04:16:29PM -0800, Michael Dalton wrote:
> Commit 2613af0ed18a ("virtio_net: migrate mergeable rx buffers to page frag
> allocators") changed the mergeable receive buffer size from PAGE_SIZE to
> MTU-size, introducing a single-stream regression for benchmarks with large
> average packet size. There is no single optimal buffer size for all
>
2013 Dec 23
2
[PATCH net-next 3/3] net: auto-tune mergeable rx buffer size for improved performance
On Mon, Dec 16, 2013 at 04:16:29PM -0800, Michael Dalton wrote:
> Commit 2613af0ed18a ("virtio_net: migrate mergeable rx buffers to page frag
> allocators") changed the mergeable receive buffer size from PAGE_SIZE to
> MTU-size, introducing a single-stream regression for benchmarks with large
> average packet size. There is no single optimal buffer size for all
>
2004 Nov 09
2
Data Censoring and Normality Tests
Hello,
I would like to know if there is a function in R that will test for
normality and handle censored data sets. Currently, I evaluate each
censored data set by the extent to which a normal scores plot
approximate a straight line. For complete data sets I use
shapiro.test().
Below is an example of a censored data set.
data1<-c(0.00, 0.00, 0.00, 5.86, 5.17, 8.17, 5.12, 4.92, 7.08,
2011 Mar 22
3
Accelerating the calculation of the moving average
Dear List,
I have a data frame with approximately 500000 rows that looks like this:
?Date??? time??? value
?
19.07.1956????????? 12:00:00?????????????? 4.84
19.07.1956????????? 13:00:00?????????????? 4.85
19.07.1956????????? 14:00:00?????????????? 4.89
19.07.1956????????? 15:00:00?????????????? 4.94
19.07.1956????????? 16:00:00?????????????? 4.99
19.07.1956????????? 17:00:00?????????????? 5.01
2005 Oct 10
1
text(x,y,greek character)
Dear list,
I would like to plot points with two types of labels, one at the data
point (the name of the point) and another offset a bit with another
factor which is either of the two greek characters alpha or beta. I have
tried to get the routine to plot a greek character with expression() or
with substitute() and have not yet had any success. The following only
plots the word in english in
2012 Apr 26
2
How does .Fortran "dqrls" work?
Hi, all.
I want to write some functions like glm() so i studied it.
In glm.fit(), it calls a fortran subroutine named "dqrfit" to compute least
squares solutions
to the system
x * b = y
To learn how "dqrfit" works, I just follow how glm() calls "dqrfit" by my
own example, my codes are given below:
> qr <-
>
2013 Mar 22
4
error while extracting the p-value from adf.test
Hello all,
I tried to extract the p-value from adf.test in tseries; however, I got the error message such as
> ht=adf.test(list.var$aa)
> ht$p-value
Error in ht$p - value : non-numeric argument to binary operator
> ht
Augmented Dickey-Fuller Test
data: list.var$aa
Dickey-Fuller = -2.3147, Lag order = 4, p-value = 0.4461
alternative hypothesis: stationary
> ht$data
[1]
2008 Oct 09
1
YALAQ - Yet Another LApply Question
Hello,
Two lapply questions (system info and sample data below):
1) Why does the first form of command1 add the name of y _after_ the
str() output rather than before as does the second (preferred) form?
# command1 version1
invisible(lapply(ls(pattern='bn'), function(y) cat(y, "\n",
str(get(y)), "\n") ))
# command1 version2 (preferred output)
2003 Nov 30
1
bad performance on 2.4.23
hi,
- big and ugly mail. If you don't like them, delete it now :-) -
I have collected and classified some information of:
http://home.earthlink.net/~rwhron/kernel/bigbox.html
And I observed that ext3 performance is worse than previous
kernels(2.4.19...). -ac and -aa are here only as reference.
Complete information is in the upper URL.
dbench: Performance is worse.
dbench (Numbers are in
2016 Mar 14
3
Perl on CentOS 6 and CentOS 7
On Mon, 14 Mar 2016, John R Pierce wrote:
> On 3/14/2016 8:57 AM, Boris Epstein wrote:
>> What are the proven/tested version of Perl for CentOS 6 and 7? Is Perl 6
>> operational on either?
>
> C6 comes with perl 5.10.1
> C7 comes with perl 5.16.3
Additionally, there are software collections available for Perl 5.16
and 5.20:
2008 Jul 02
1
Insert text in data.frame
Dear R-helper,
I wonder if anyone can help me. I am trying to convert a dataset to a
format recognizable by a software onboard a research vessel but I am
having problems with some steps.
I have a data frame as follows:
Conc Lat Lon Depth
Point0000 56.25 -5.65 70
Point0001 56.55 -5.35 85
Point0002 56.25 -5.65 65
Point0003 56.37
2012 Jul 30
2
distance matrix and hclustering
Dear R Users,i am very new to R. I want your help on an issue regarding distance matrix and cluster analysis
i had discharge data of 4 rivers(a,b,c,d) in 4 vectors each having 364 values
> dput(qmu)structure(list(a = c(0.26, 0.25, 0.25, 0.25, 0.24, 0.23, 0.22, 0.21, 0.21, 0.21, 0.2, 0.19, 0.19, 0.19, 0.19, 0.18, 0.18, 0.18, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17,
2010 Sep 17
1
how to import this kind of data?
Dear All,
I am in a trouble with reading data.
It is in txt file looking like this.
0.00632 18.00 2.310 0 0.5380 6.5750 65.20 4.0900 1 296.0 15.30
396.90 4.98 24.00
0.02731 0.00 7.070 0 0.4690 6.4210 78.90 4.9671 2 242.0 17.80
396.90 9.14 21.60
0.02729 0.00 7.070 0 0.4690 7.1850 61.10 4.9671 2 242.0 17.80
392.83 4.03 34.70
0.03237 0.00
2017 Feb 18
2
[RFC] Using Intel MPX to harden SafeStack
On 2/7/2017 20:02, Kostya Serebryany wrote:
> ...
>
> My understanding is that BNDCU is the cheapest possible instruction,
> just like XOR or ADD,
> so the overhead should be relatively small.
> Still my guesstimate would be >= 5% since stores are very numerous.
> And such overhead will be on top of whatever overhead SafeStack has.
> Do you have any measurements to