Displaying 20 results from an estimated 600 matches similar to: "Convert data into zoo object using Performance analytics package"
2017 Sep 20
1
Convert data into zoo object using Performance analytics package
Dear Sir,
Thanks for your mail and help. I got this error while trying to run your
code.
sbux1.z <- read.csv.zoo(u, FUN = as.yearmon, format = fmt)
Error in read.table(file = file, header = header, sep = sep, quote = quote,
:
'file' must be a character string or connection
Thanks and Regards,
Upananda Pani
On Tue, Sep 19, 2017 at 4:31 PM, Upananda Pani <upananda.pani at
2017 Sep 22
1
Convert data into zoo object using Performance analytics package
Dear All,
Thanks a lot for your help. Would you please let me know if i want to read
a csv file as zoo object from my local file rather than directly from the
website, how to do that?
library(zoo)
u <- "https://faculty.washington.edu/ezivot/econ424/sbuxPrices.csv"
fmt <- "%m/%d/%Y"
With sincere regards,
Upananda Pani
On Wed, Sep 20, 2017 at 3:22 PM, PIKAL Petr
2017 Sep 20
0
Convert data into zoo object using Performance analytics package
Hi
Gabor's code works as expeceted without error.
What is "u" in your case?
Cheers
Petr
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Upananda
> Pani
> Sent: Wednesday, September 20, 2017 11:06 AM
> To: Gabor Grothendieck <ggrothendieck at gmail.com>
> Cc: r-help <r-help at r-project.org>
>
2011 Oct 05
2
creating a loop for a function
Dear All,
I want to create a loop within a function r. The example follows:
Box.test (lfut, lag = 1, type="Ljung")
if i want to compute the Box.test for lag 1 to 10, I have to write manually
change each time for different lag. So i wan to write a loop for the lag 1
to 10 and return the statistics for each lag. Is there any method to do this
?
With regards,
Upananda
--
You may
2011 Sep 29
1
checking the outliers of the time series data set
Dear All,
Can you please guide me how to check the outliers in the data set in R. It
would be great if you can give some examples of methods.
With regards,
Upananda
--
You may delay, but time will not.
Research Scholar
alternative mail id: upani@iitkgp.ac.in
Department of HSS, IIT KGP
KGP
[[alternative HTML version deleted]]
2023 Feb 05
3
Extracting data using subset function
Dear All,
I want to create a vector p and extract first 20 observations using subset
function based on logical condition.
My code is below
p <- 0:100
I know i can extract the first 20 observations using the following command.
q <- p[1:20]
But I want to extract the first 20 observations using subset function which
requires a logical condition. I am not able to frame the logical
2023 Jan 12
1
Reg: ggplot error
Hallo
I am not familiar with any of packages you use (except of MASS and ggplot2) and the code is too complicated without any hint where the error could come from and what is the message you get. I wonder if anybody would like to go through your whole code.
1. data seems to be read correctly
ICUData <- read.csv(file = "ICUData.csv", stringsAsFactors = TRUE)
ICUData.neuro <-
2023 May 02
5
Reg: Help regarding ggplot2
Dear All,
I have a dataset which contains date and 12 other countries data. I
have extracted the data as xts object.
I am not able to recall all the series in the Y axis. My data set
looks like this
index crepub finland france germany italy netherlands norway poland
<date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
2023 Jan 11
1
Reg: ggplot error
I am sorry.
On Wed, Jan 11, 2023 at 5:32 PM Eric Berger <ericjberger at gmail.com> wrote:
> No code or data came through.
> Please read the posting guidelines.
>
>
> On Wed, Jan 11, 2023 at 1:38 PM Upananda Pani <upananda.pani at gmail.com>
> wrote:
> >
> > Dear All,
> >
> > I am using roptest function of package "ROptEst" (Kohl
2023 Jan 11
1
Reg: ggplot error
No code or data came through.
Please read the posting guidelines.
On Wed, Jan 11, 2023 at 1:38 PM Upananda Pani <upananda.pani at gmail.com> wrote:
>
> Dear All,
>
> I am using roptest function of package "ROptEst" (Kohl and Ruckdeschel
> (2019)) to find out the ML, CvM-MD, and the RMX estimator and their
> asymptotic confidence intervals. I am assuming 1-5% of
2011 Sep 28
0
cointegration test
Dear All,
I am looking for a cointegration relationship between Spot and Future Price
of commodites. The problem i am facing follows:
1. After estimating by Engle-Grranger Method, i found that the residuals are
stationary at their level I (o), which is required to fulfill the
cointegration test. But the autocorrelation problem arises, as DW statistics
is signficantly low 0.50-0.88 for various
2023 Jan 11
1
Reg: ggplot error
Dear All,
I am using roptest function of package "ROptEst" (Kohl and Ruckdeschel
(2019)) to find out the ML, CvM-MD, and the RMX estimator and their
asymptotic confidence intervals. I am assuming 1-5% of erroneous data for
the RMX estimator.
Then I am trying to Plot the data in the form of a histogram and add the
three Gamma distribution densities with the estimated parameters and
2023 Jan 16
1
Reg: Frequency in declaring time series data
Dear All,
I have a time series daily data with date are stored ( %dd-%mm-%yy format )
from 22-01-20 to 03-08-21. In total I have 560 observations. I am using the
following command to declare as a time series object. Here the the data set
is 7 days a week.
oil <- read_xlsx("crudefinal.xlsx")
pricet=ts(oil$price, start = c(2020, 22), freq = 365)
2023 May 02
1
Reg: Help regarding ggplot2
It's not clear what you want but ...
On 02/05/2023 10:57, Upananda Pani wrote:
> Dear All,
>
> I have a dataset which contains date and 12 other countries data. I
> have extracted the data as xts object.
>
> I am not able to recall all the series in the Y axis. My data set
> looks like this
>
> index crepub finland france germany italy netherlands norway poland
>
2012 May 20
1
Problem in convert function in RTAQ package
Hi All,
I am using convert() function in RTAQ package to convert the text file into
xts object.The code I am using is shown below:
convert(from="2010-07-01",to="2010-07-01",datasource="C:\\TAQdata",datadestination="C:\\datadestination",trades=T,quotes=F,ticker="SUBX",dir=F)
The problem is that I am not getting the text files named Ticker.trades
2017 Sep 22
1
Treating NA in timeSeries package
Dear All,
I am facing problem with NA treatment in my financial time series data.
# data reading
aluminum = read.csv(file="alu.csv", header=T, sep=",")
fut = aluminum [,2]
spt = aluminum [,3]
# Missing Value Treatment (Linear Interpolation)
spt = interpNA(spt, method = c("linear"))
fut = interpNA(fut, method = c("linear"))
fut=fut[,1]
spt =spt[,1]
2011 Aug 24
2
regarding changing of title of decompose graph
Hi All,
I am new to this forum. I have just started learning R. When i use
plot(decompose(x)), i am getting the title " Additive time series
decomposition". How to make this title off and change to some other title.
Any help regarding this is highly appreciated.
With sincerer regards,
Upananda
--
View this message in context:
2006 Nov 22
1
Probit analysis
Respected Sir/Madam,
I have a question regarding calculation of LD50 (Lethal Dose) and IC50 (50%
inhibitory concentration) of an antimicrobial experiment.
I have used a compound isolated from a plant and observed its effect on the
fungus *Fusarium oxysporum* by the food poisoning method. Solutions of the
compound at concentrations of 0, 50, 100, 150, 200 and 250µg/ ml were added
to
2023 May 02
0
Reg: Help regarding ggplot2
Hi Thomas,
Thanks for your help. I need to plot all other countries as well.
Thanks for your time
With sincere regards,
Upananda
On Tue, May 2, 2023 at 3:01?PM Thomas.Rose <Thomas.Rose at daad-alumni.de>
wrote:
> Dear Upananda,
>
> I see a misplaced bracket in your code, and there is no need in aes() to
> call the dataframe explicitly. Does this work?
>
> ggplot(data =
2023 Jan 16
0
Reg: Frequency in declaring time series data
?s 20:52 de 16/01/2023, Upananda Pani escreveu:
> Hi Rui,
>
> Thank you so much for your help. As I have to fit a Markov Switching Model
> using MSwM package.
>
> May I know whether i can convert from zoo object to a time series object.
>
> As I have to use several packages which uses ts so I am not able to decide
> how to do it.
>
> Grateful to you for your