Displaying 20 results from an estimated 2000 matches similar to: "prediction intervals"
2010 Jul 07
2
Sum vectors and numbers
We want to sum many vectors and numbers together as a vector if there is
at least one vector in the arguments.
For example, 1 + c(2,3) = c(3,4).
Since we are not sure arguments to sum, we are using sum function:
sum(v1,v2,...,n1,n2,..).
The problem is that sum returns the sum of all the values present in its
arguments:
sum(1,c(2,3))=6
sum(1,2,3)=6
We do not want to turn sum(v1,v2,...,n1,n2,..) to
2013 May 01
3
Adding Column to Data Frames Using a Loop
Dear R Helpers,
I am trying to do calculations on multiple data frames and do not want to
create a list of them to go through each one. I know that lists have many
wonderful advantages, but I believe the better thing is to work df by df
for my particular situation. For background, I have already received some
wonderful help on how to handle some situations, such as removing columns:
2010 Sep 22
2
defining set of variables in a formula
Dear fellow R users,
I am trying to conduct a regression analysis. I have thousands of
variables. The names are V1, V2,........V2000
Is there an easy way to include these variables in the regression?
my model is something like that:
model<- lm(y~V1+V2+.....+V2000, data=data)
Thanks so much in advance,
Ozlem
2011 Mar 14
2
code for "permutative" operation
Hello, I need some form of a "permutative" operation on a numeric
vector x
x = (v1, v2, v3, ..., vN)
that produces
x.r = (v1, v1+2, v1+v2+v3, ... v1+v2+...+vN)
If the operation is sum() I can run
x <- 5:8
m <- matrix(rep(x, length(x)), ncol=length(x))
(x.r <- rowsum(m * upper.tri(m, diag=TRUE), rep(1, length(x))))
But there's two things I don't know and kindly
2009 Apr 25
2
Extracting an object name?
Dear Sir or Madam:
This is an extension to a earlier post, about looping through several
thousand files, and testing student's models against a different
data-set, called rclnow, for "recall now".
The problem is, that the instructor never specified to the students,
what they should name their "lm" object.
So what they created was:
"arbitrary variable name"
1999 Dec 13
1
Superscript or subscript on Left hand side of symbol
Is there a way to get subscripts and superscripts on the left hand side of
a symbol? For example, oC or oF (degree Celsius or Fahrenheit)
TIA
Partha
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2005 Jul 24
1
CESA-2005:587 missing devhelp src.rpm
> src:
> devhelp-0.9.2-2.4.6.src.rpm
> mozilla-1.7.10-1.4.1.centos4.src.rpm
The mozilla src.rpm is there, but the devhelp one seems to be missing from
the mirrors....
--
Matthew Miller mattdm at mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 76 degrees
2012 Jun 04
1
simulation of modified bartlett's test
Hi, I run this code to get the power of the test for modified bartlett's
test..but I'm not really sure that my coding is right..
#normal distribution unequal variance
asim<-5000
pv<-rep(NA,asim)
for(i in 1:asim)
{print(i)
set.seed(i)
n1<-20
n2<-20
n3<-20
mu<-0
sd1<-sqrt(25)
sd2<-sqrt(50)
sd3<-sqrt(100)
g1<-rnorm(n1,mu,sd1)
g2<-rnorm(n2,mu,sd2)
2013 Feb 03
1
Adding complex new columns to data frame depending on existing column
Hello
I have a data frame as below
V1 V2 V3 V4 V5 V6
chr1 18884 C CAAAA 2 0
chr1 135419 TATACA T 2 0
chr1 332045 T TTG 0 2
chr1 453838 T TAC 2 0
chr1 567652 T TG 1 0
chr1 602541 TTTA T 2 0
on which I want to perform complex rearrangement such that:
if V3 is a string >1 (i.e line 2) then I
2006 Oct 19
1
Newbie: Selecting data
I've been working with R for all of about 8 hours, so anyone with more
experience than this should be able to help me. General comments about
my methods of work are also welcomed.
I have a table that I've imported thusly:
> w <- read.table("woodford.data", header=T)
> w
start therms gas KWHs elect temp days
1 10-Jun-98 9 16.84 613 63.80 75 40
2
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
- This avoids problematic "reloc'ed while mapped" messages and
some associated corruption as well.
Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
---
src/gallium/drivers/nouveau/nouveau_screen.c | 21 +++++++++++++++++++++
src/gallium/drivers/nouveau/nouveau_screen.h | 3 +++
src/gallium/drivers/nouveau/nouveau_stateobj.h | 13 +++++++++++++
2011 Jan 25
7
flush-btrfs-1 hangs when building openwrt
Hi,
Since update to 2.6.37 I can''t build openwrt on my btrfs buildroot anymore.
I''m not sure if this is related to the other flush-btrfs-1 thread.
plenty of diskspace is free:
/dev/mapper/cruor-build
97G 68G 27G 73% /opt/build
It always hangs when openwrt builds the ext4 image and runs tune2fs on it.
2006 Mar 03
0
unused composed_of bits
I implemented a Temperature model for my application. It is pretty basic,
composed of a temperature, a unit and some conversion methods. In my app model
I decided to store temperature values in Fahrenheit, so there is no need to
remember the units between invocations. I am having a little trouble composing
my app model.
A little bit of my temperature class:
class Temperature
# Composed of
2009 Jan 06
0
[LLVMdev] Heating/Cooling Maintenance Started
Dear LLVMers,
The heating/cooling maintenance in our building has started. I peeked
into the server room in which the LLVM SVN server is stored, and it's
already 81 degrees Fahrenheit in there. Our IT staff will shut systems
down once the temperature reaches 84 degrees Fahrenheit
Again, I strongly recommend that people not make any SVN commits or
Bugzilla changes until the cooling
2010 Feb 12
1
Wierdness in AGI file
Here's part of the output of running an AGI file:
-- Playing 'degrees' (escape_digits=) (sample_offset 0)
-- Playing 'fahrenheit' (escape_digits=) (sample_offset 0)
-- Playing 'wx/humidity' (escape_digits=) (sample_offset 0)
-- <DAHDI/1-1> Playing 'digits/40.ulaw' (language 'en')
-- <DAHDI/1-1> Playing
2006 Feb 04
1
RUnit - need advice on a good directory structure or tips...
I made my own RUnit testing convention, and I want to introduce this to one
of my friends.
Before that, I'd like to review my codes.
The problem that I met when I tried to polish my codes is: How can I get the
file path in the file???
I.e., I want to get the path to the file that I'm writing using some magic R
functions. But I couldn't find any good magic.
Is there any magic?
So, I
2004 Jan 17
0
New sounds posted
So, per the discussion last week and generous donations, we have some
new sound files with which to work.
The sounds are located in:
http://www.loligo.com/asterisk/sounds/
For those of you who just want to download the _new_ sounds, please fetch:
http://www.loligo.com/asterisk/sounds/20040117.newsounds.tar
All of the sounds in that tarball are also in the main ../sounds/
directory in
2012 Oct 04
1
Is there any package for Vector Auto-regressive with exogenous variable other than fastVAR?
Is there any package for Vector Auto-regressive with exogenous variable other
than fastVAR?
Because it is not able to solve my problem of not taking the base in the
model.
Please suggest some appropriate solution!!!!
--
View this message in context: http://r.789695.n4.nabble.com/Is-there-any-package-for-Vector-Auto-regressive-with-exogenous-variable-other-than-fastVAR-tp4644964.html
Sent from
2005 Feb 15
7
Extra sounds (Weather)
Does anyone know of a AGI script that takes advantage of the weather
sound files that's included with the extra sound files available from
www.loligo.com/asterisk/sounds/ <http://www.loligo.com/asterisk/sounds/>
?
Thank,
Jeramie
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Jun 14
0
Query about TSRV
Hi All,
This question may not belong here, but I asked this on the
R-SIG-FINANCE list and so far have not got any reply, so was hoping
someone here may help.
I have a basic query about TSRV and was hoping you all can shed some
light on the issue.
I have 22500 records for each day. So if I take the slow frequency as
5 mins I can have 75 subgrids. An estimate of the 5-minute realized
volatility