Displaying 20 results from an estimated 500 matches similar to: "require help"
2017 Sep 16
2
require help
You can just use the same code that I provided before but now use your
dataset. Like this
df <- read.csv(file="data2.csv",header=TRUE)
dates <- as.Date(paste(df$year,"-01-01",sep=""))
myXts <- xts(df,order.by=dates)
head(myXts)
#The last command "head(myXts)" shows you the first few rows of the xts
object
year cnsm incm wlth
2017 Sep 22
2
require help
Assuming the input data.frame, DF, is of the form shown reproducibly
in the Note below, to convert the series to zoo or ts:
library(zoo)
# convert to zoo
z <- read.zoo(DF)
# convert to ts
as.ts(z) #
Note:
DF <- structure(list(year = c(1980, 1981, 1982, 1983, 1984), cnsm = c(174,
175, 175, 172, 173), incm = c(53.4, 53.7, 53.5, 53.2, 53.3),
with = c(60.3, 60.5, 60.2, 60.1, 60.7)),
2017 Sep 16
0
require help
oky.. thank you very much to all of you
On Sat, Sep 16, 2017 at 2:06 PM, Eric Berger <ericjberger at gmail.com> wrote:
> You can just use the same code that I provided before but now use your
> dataset. Like this
>
> df <- read.csv(file="data2.csv",header=TRUE)
> dates <- as.Date(paste(df$year,"-01-01",sep=""))
> myXts <-
2017 Sep 16
0
require help
> On 15 Sep 2017, at 11:38, yadav neog <yadavneog at gmail.com> wrote:
>
> hello to all. I am working on macroeconomic data series of India, which in
> a yearly basis. I am unable to convert my data frame into time series.
> kindly help me.
> also using zoo and xts packages. but they take only monthly observations.
>
> 'data.frame': 30 obs. of 4 variables:
2017 Sep 15
0
require help
> On 15 Sep 2017, at 12:38, yadav neog <yadavneog at gmail.com> wrote:
>
> hello to all. I am working on macroeconomic data series of India, which in
> a yearly basis. I am unable to convert my data frame into time series.
Do you really need to convert your data to time series/xts/zoo? I don?t know you try what kind of an analysis but perhaps you don?t have to.
> kindly
2017 Sep 22
0
require help
thankx to everyone for your valuable suggestions. one query regarding the
GARCH model.
I have applied the GARCH model for the same data that I send you all . and
my results coming like
Error in .sgarchfit(spec = spec, data = data, out.sample = out.sample, :
ugarchfit-->error: function requires at least 100 data
points to run
can you suggest something on it.
On Fri, Sep 22, 2017 at 6:02
2017 Sep 15
0
require help
> On 15 Sep 2017, at 11:38, yadav neog <yadavneog at gmail.com> wrote:
>
> hello to all. I am working on macroeconomic data series of India, which in
> a yearly basis. I am unable to convert my data frame into time series.
> kindly help me.
> also using zoo and xts packages. but they take only monthly observations.
>
> 'data.frame': 30 obs. of 4 variables:
2017 Nov 21
2
help
thank you for your valuable reply. I have attached my commands, results, and
data with this mail..maybe it will be beneficial for you to feedback.
On Tue, Nov 21, 2017 at 9:13 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
wrote:
> Your example is incomplete... as the bottom of this and every post says,
> we need to be able to proceed from an empty R environment to wherever you
2017 Nov 21
2
help
I am working on Johansen cointegration test, using urca and var package.
in the selection of var, I have got following results.
>VARselect(newd, lag.max = 10,type = "none")
$selection
AIC(n) HQ(n) SC(n) FPE(n)
6 6 6 5
$criteria
1 2 3 4
5 6 7 8 9
AIC(n) -3.818646e+01 -3.864064e+01
2017 Dec 27
2
require help
Respected sir,
hoping that you are well.sir, i am trying to run Tado-Yamamoto causality
test with my data. I have three variables. but in running wal.test in R, I
have faced problems (especially in 'terms' arguments). my results have
shown as...
Error in L %*% V : non-conformable arguments
-- kindly help me in solving this issue. I have also attached my codes
and data to this email.
2017 Nov 21
0
help
Your example is incomplete... as the bottom of this and every post says, we need to be able to proceed from an empty R environment to wherever you are having the problem (reproducible), in as few steps as possible (minimal). The example needs to include data, preferably in R syntax as the dput function creates... see the howtos referenced below for help with that. [1], [2], [3]
You also need to
2017 Dec 09
0
help
dear members, I want to run Toda Yamamoto causal test in my data. I have
gone through the some of the examples. but unable to understand wald.test.
especially the 'term' argument. kindly help me in understand wald.test ??
--
Yadawananda Neog
Research Scholar
Department of Economics
Banaras Hindu University
Mob. 9838545073
[[alternative HTML version deleted]]
2009 Apr 28
1
kernlab - custom kernel
hi,
I am using R's "kernlab" package, exactly i am doing classification using
ksvm(.) and predict.ksvm(.).I want use of custom kernel. I am getting some
error.
# Following R code works (with promotergene dataset):
library("kernlab")
s <- function(x, y) {
sum((x*y)^1.25)
}
class(s) <- "kernel"
data("promotergene")
gene <- ksvm(Class ~ .,
2010 Feb 06
2
lmer Error message
Does anybody knows what this error message means:
Error in object$terms : $ operator not defined for this S4 class
I have peformed the following steps:
> library(lattice)
> library(Matrix)
> library(lme4)
> inkm inkm$Gamie glm.incm drop1(glm.incm,test="Ch") Error in object$terms : $ operator not defined for this S4 class
Your suggestin would be of a greatl help to
2009 Nov 11
1
fitting a glm with matrix of responses
hi all - quick question:
i have a matrix 'y' of response values, with two explanatory variables
'x1' and 'x2'.
tested values of 'x1' and 'x2' are sitting in two vectors 'x1' and
'x2'.
i want to learn model parameters without "unrolling" the matrix of
response values.
example below:
# some fake data for the example
x1 <- 1:5
x2
2009 Mar 25
2
need help with ordering of plots
I want to do a series of contour plots, 4 in all. The data is coming
from a data frame named "nd.frame", which has elements "xdf", "ydf",
"zdf", and "pndt". I am treating "pndt" as a factor, and it has four
levels. I make a call to the lattice graphics routine "contourplot"
like so:
2012 Mar 09
4
For loop and using its index
Dear All,
I have a data set with variables x1, x2, x3, ..., x20 and I want to
create z1, z2, z3, ..., z20 with the following formula:
z1 = 200 - x1
z2 = 200 - x2
z3 = 200 - x3
.
.
.
z20 = 200 - x20.
I tried using a for loop and its index as:
for (i in 1:20) {
z(i) = 200 - x(i)
}
But R gives the following error message: "Error: could not find function "x"".
Is there any
2010 May 26
3
error "variable names are limited to 256 bytes" when sourcing code
I've written a function that takes some input data output from a
simulation model and creates some graphs. It's not very complicated
code, and it works perfectly fine if I just run the code as is.
But I have converted it into a function so we call it externally, and
when I try to source the code to test the function, I get the error
message "variable names are limited to 256
2007 Feb 26
4
Does running redundancy with ZFS use as much disk space as doubling drives?
If I''m gonna use OpenSolaris, I will have to buy new hardware, which I can''t really defend at the moment. But I may be able to defend it in the near future if using redundancy on ZDF uses less disk space as simply getting extra drives and do identical copies, with periodic CRC checks of the source material to check the health. Or will I use as much drive space with redundancy?
2015 Oct 30
4
disable ZTS in php
Hey guys,
I'm trying to disable ZTS in php, because an application we need
(AppDynamics) is not compatible with it.
So I tried compiling php with the following flags:
php -i | grep configure
Configure Command => './configure' '--with-apxs2=/opt/apache2/bin/apxs'
'--with-zlib=/usr' '--prefix=/opt/php-5.6.8' '--with-libdir=lib64'