Displaying 20 results from an estimated 3000 matches similar to: "using zoo for daily stock prices"
2007 Mar 28
2
aggregating data with Zoo
Is there a way of aggregating 'zoo' daily data according to day of week? eg
all Thursdays
I came across the 'nextfri' function in the documentation but am unsure how
to change this so any day of week can be aggregated.
I have used POSIX to arrange the data (not as 'zoo' series) according to day
of week, but am curious if I've missed if a similar option available
2007 May 28
2
Yearly statistics
Dear R-experts,
Sorry if I've overlooked a simple solution here. I have calculated a
proportion of the number of observations which meet a criteria, applied to
five years of data. How can I break down this proportion statistic for each
year?
For example (data in zoo format):
open high low close hc lc
2004-12-29 4135 4135 4106 4116 8 -21
2004-12-30 4120 4131
2007 Mar 02
1
extracting data from zoo series
Dear List,
Sorry if I'm overlooking something simple here but I have gotten a bit
tangled.
I am trying to print the next five values(with their dates), which occur
after a certain condition is met.
I have a series of data in zoo format, call it "A". From this series I have
created a subset (also in zoo format) based on a certain condition, call
this series "B".
I
2007 Jun 01
1
aggregate in zoo
Hi R-experts,
Thanks very much to Jim Holtman and Gabor on my previous question.
I am having another problem with data manipulation in zoo. The following is
data (Z) for first business day of every month in zoo format. I am trying to
get mean of "open" for each year. I subset Z <- Z[,2] then
> sapply(split(Z, format(index(Z), "%Y")),mean)
I get error message:
2007 Jun 08
4
match rows of data frame
Hi R-experts,
I have a data frame (A) , and a subset (B) of this data frame. I am trying
to create a new data frame which gives me all the rows of B, plus the 5th
next row(occuring in A). I have used the below code, but it gives me all 5
rows after the matching row. I only want the 5th.
FiveDaysLater <- A[c(sapply(match(rownames(B),rownames(A)), seq,
length=6))),]
Any guidance much
2007 Feb 22
2
Is there better alternative to this loop?
Dear List,
Thanks to those who helped with my enquiry a few days ago.
I have a another question on loops, in this case I am trying to print out
the row of a data frame if the previous 3 values (daily values) in col5 are
in descending order. I have this loop which works, but ask whether this can
be done differently (without conventional loop) in R:
flag="T"
d= 3 # d represents
2007 Feb 22
1
how to show date with this subset
Dear List,
Thankyou to Jim and Marc for their help on my previous question.
I have a data frame of five columns, the first being a list of dates and the
other four columns are numeric values. I wanted to list the days where all 4
columns of values are less than in the previous row. I used the following
which works fine, except it doesnt show the dates for each row (the values
from column 1).
2007 Feb 19
2
help with loop over data frame
Dear List,
This may be the fifth time Ive tried to send this to the list so apologies
if there are multiple emails.
I need some help getting started with this problem. I have a data frame
containing a year of daily stock prices in the following format:
Date Open High Low Close
1/15/2000 10 11 8 10
1/16/2000 12 12 10 11
etc..
I want to create a new
2020 Aug 12
1
Cannot contact any KDC for realm
If this is a new setup.
And if this reflex your primary dns domain for your AD-DC.
realm = EXAMPLE.COM
Then i hope your really good with DNS setups, to easy to make errors here.
Cannot contact any KDC for realm can be one of them.
My advice use something like :
realm = INTERNAL.EXAMPLE.COM
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba
2020 Aug 12
2
Cannot contact any KDC for realm
Hi Rowland,
Sorry I missed out on the OS.
CentOS Linux release 7.6.1810 (Core)
smb.conf
# Global parameters
[global]
bind interfaces only = Yes
interfaces = lo ens192
netbios name = SERVER1
realm = EXAMPLE.COM
server role = active directory domain controller
workgroup = WORKGROUP
idmap_ldb:use rfc2307 = yes
ldap server require
2005 Jun 21
1
Another Mix Model Question
Hi again,
thank you for your previous answers. Just another question, though ...
I get the following variance components after fitting a mixed model.
Groups Name Variance Std.Dev. Corr
PlantID TreatmCtrl 0.51784 0.71961
TreatmNoAccess 4.77469 2.18511 -0.063
TreatmNoKeel 4.22726 2.05603 0.513 0.751
TreatmNoSpur 0.45918
2020 Aug 12
2
Cannot contact any KDC for realm
> It looks like you have built Samba yourself,
Yes. I followed the guide and built Samba myself.
> so did you run this script:
https://git.samba.org/?p=samba.git;a=blob_plain;f=bootstrap/generated-dists/centos7/bootstrap.sh;hb=master
>Before you built Samba ?
No. I was not aware of this step.
>Have you installed and started 'krb5-server' ?
No. I have checked and only
2020 Aug 12
3
Cannot contact any KDC for realm
Hello Samba Community,
I would like to seek advice as my Samba AD tends to consume high memory
usage caused by KDC service.
This issue will always come back within a couple of days after I restart
samba-ad-dc service.
It does not help by increasing memory.
>From message log:
kernel: Out of memory: Kill process 14527 (samba) score 873 or sacrifice
child
Identified pid 14527 belongs to
2013 Nov 06
1
resdiuals of random model estimated by plm function
Hi all,
I have estimated a random panel model using plm function.
I have a question about the vector of resduals obtained with the
object $residuals.
example:
data("Produc", package = "plm")
zz <- plm(log(gsp) ~ log(pcap) + log(pc) + log(emp) + unemp,
model="random", data = Produc, index = c("state","year"))
res<-zz$residuals #
2014 Nov 01
5
Pregunta (creo que simple) para usar twitteR
Hola Alfonso, buenos días:
Lo he probado pero no me va, eso sí ha cambiado el error, el código utilizado es:
library(ROAuth)library(twitteR)
download.file(url="http://curl.haxx.se/ca/cacert.pem", destfile="cacert.pem")
reqURL <- "https://api.twitter.com/oauth/request_token"accessURL <- "http://api.twitter.com/oauth/access_token"authURL <-
2008 Oct 07
0
RBloomberg - Converting international stock prices into $US
To all:
I'm using RBloomberg to pull historical equity prices across a range of
international markets. Bloomberg defaults to returning stock prices to
R in local currency, for example,
blpGetData(conn, "ALUA AR Equity", "PX_LAST",start="09/30/08",
end="09/30/08")
returns a stock price in Argentine Peso's. If ones use the BLPH
function directly
2012 Feb 21
0
BHHH algorithm on duration time models for stock prices
I am currently trying to find MLE of a function with four parameters. My codes run well but i don't get the results. I get the following message:
BHHH maximisation
Number of iterations: 0
Return code: 100
Initial value out of range.
I don't know this is so because of the way i have written my loglikelihood or what.
The loglikelihood
LogLik<-function(param){
beta_1<-param[1]
2008 Dec 09
8
pop3 attack
I was looking at my maillog and it looks like someone is trying to get
into my pop3 server.
Dec 9 15:28:54 mailserver dovecot: pop3-login: Aborted login: user=<alexis>, method=PLAIN, rip=::ffff:66.167.184.203, lip=::ffff:192.168.1.2
Dec 9 15:29:08 mailserver dovecot: pop3-login: Aborted login: user=<alfonso>, method=PLAIN, rip=::ffff:66.167.184.203, lip=::ffff:192.168.1.2
Dec 9
2007 Feb 04
2
Download stock prices
gReetings:
Is there any way to download a (or a sample of a) crossection of stock market prices? Or is it possible to use get.hist.quote with a *wild card*?
Thanks,
mihai
Mihai Nica
170 East Griffith St. G5
Jackson, MS 39201
601-914-0361
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time
[[alternative HTML
2005 Jun 17
1
Mixed model question
Hi,
I am new to this list as a poster, but a reader for some time.
I've using R for several weeks now, and I have a lot of questions about
certain procedures. Here I go:
I want to test if there are differences in the time spent by pollinators
visiting flowers of a given plant species, according to a number of
experimental manipulations made on those flowers. All experimental