similar to: Help to write to a file

Displaying 20 results from an estimated 6000 matches similar to: "Help to write to a file"

2010 Feb 19
1
Quadprog help
I am having some problems using Quadprog in R. I want to minimize the objective function : 200*P1-1/2*10*P1^2+100*P2-1/2*5*P2^2+160*P3-1/2*8*P3^2+50*P4-1/2*10*P4^2+50*P 5-1/2*20*P5^2+50*P6-1/2*10*P6^2, Subject to a set of constrains including not only the variables P1, P2, P3, P4, P5, P6, but also the variables X1, X2,X3,X4,X5,X6,X7,X8,X9. As the set of variables X's are not
2011 Nov 08
3
Reading a specific column of a csv file in a loop
Dear all: I have two larges files with 2000 columns. For each file I am performing a loop to extract the "i"th element of each file and create a data frame with both "i"th elements in order to perform further analysis. I am not extracting all the "i"th elements but only certain which I am indicating on a vector called "d". See an example of my code below
2011 Oct 20
1
How to remove all objects except the sequence
Dear All: I would like to know if there is plausible way to say to R to remove all elements in the memory but the sequence. I have a code which makes a loop, and what I want is after the programme has performed all the operation over every "i"th element, to remove all the objects, expect the sequence parameter. I included the option "rm(list=ls(all=TRUE))", but obviously that
2007 Jan 18
2
problem in adf command
this command is used in tseries adf.test(x, alternative = c("stationary", "explosive"), k = trunc((length(x)-1)^(1/3))) this command apply adf test on data given in x .here general equatiuon that is, equation with constant and trend is used.if i did not include constant or trend in the equation and run the command then how i can run this command in tseries.
2009 Jun 05
1
ADF test
Hi, While doing the ADF test in R using the following command I am getting the error and the result.."> x.ct=ur.df(rev$REVENUE,start=1,end=length(rev$REVENUE),frequency=1) Error in ur.df(rev$REVENUE, start = 1, end = length(rev$REVENUE), frequency = 1) : unused argument(s) (start = 1, end = 4, frequency = 1) >
2008 Dec 08
1
About adf.test
Dear sir, I am a new user of R statistical package. I want to perform adf.test(augmented dickey fuller test), which packages I need to install in order to perform it. I am getting following message on my monitor. *x<-rnorm(1000) > adf.test(x) Error: could not find function "adf.test" *I am waiting for your response. Kamlesh Kumar. -- Kamlesh Kumar Appt. No. - QQ420,
2009 May 15
1
Dickey-Fuller Tests with no constant and no trend
R has a Dickey-Fuller Test implementation (adf.test) that tests for unit roots in an autoregressive process with a constant and linear trend. Is there a DF implementation that doesn't use the constant or trend? Thanks, Jake. -- View this message in context: http://www.nabble.com/Dickey-Fuller-Tests-with-no-constant-and-no-trend-tp23565210p23565210.html Sent from the R help mailing list
2008 Apr 04
1
Problems with Unit Root testing using ur.df function
Hi All, I'm new to R and am trying to run a unit root test on the vector "y" (a time series of inflation (i.e. changes in the Consumer Price Index quarter on quarter)). I've run the Augmented-Dickey-Fuller Test below (R's URCA package). It gives me an error that it cannot find the function ur.df unless I comment out the third last line of code (see below). I try to call
2010 Aug 23
1
Dickey–Fuller test in R
Hi, While doing the adf test using ur.df ?price.df2=ur.df(y=log(price),type = "drift", selectlags="AIC") summary(price.df2)? It gives two values for ?value of test statistic is: -1.5992?? 2.32? one value is the t-test (or t-ratio), what is the other one? Please help. TIA Aditya
2008 Jan 10
1
question regarding kpss tests from urca, uroot and tseries packages
Hi R users! I've come across using kpss tests for time series analysis and i have a question that troubles me since i don't have much experience with time series and the mathematical part underlining it. x<-c(253, 252, 275, 275, 272, 254, 272, 252, 249, 300, 244, 258, 255, 285, 301, 278, 279, 304, 275, 276, 313, 292, 302, 322, 281, 298, 305, 295, 286, 327, 286, 270, 289, 293, 287,
2012 Aug 27
2
Assigning colors on low p-values in table
Hi all R-users, I?m trying to assign colors on those p-value in my table output that fall above a certain critical value, let?s say a p-value >0.05. My table looks like this: Assets ADF-Level P-Value ADF-First D P-Value ADF-Second D P-Value [1,] Liabilities -2.3109 0.1988 -3.162 0.025 -6.0281
2010 Jul 28
2
Nat issue one way audio on IP dial
hi there, i have posted earlier on the list but got no satisfying answer. the problem is not big. I have asterisk server directly connected with internet (79.80.x.x) and clients are behind router. clients/users are registered with asterisk and are using sipura and xlite softphone. Now problem is that when a user calls other by dialing his IP:Port (sip uri), call is connected fine and he can
2006 Aug 28
1
Help on function adf.test
Hello everybody, I've got a matrix called EUROPEDATA and I want to calculate the adf test statistic (part of the tseries package) on a rolling basis for window my.win on each column; i.e. each column of EUROPEDATA represents a particular variable; for the first column I calculate the adf test statistic for window my.win = 60 for example, roll forward one observation, calculate the adf
2010 Oct 29
3
Dickey Fuller Test
Dear Users, please help with the following DF test: ===== library(tseries) library(timeSeries) Y=c(3519,3803,4332,4251,4661,4811,4448,4451,4343,4067,4001,3934,3652,3768 ,4082,4101,4628,4898,4476,4728,4458,4004,4095,4056,3641,3966,4417,4367 ,4821,5190,4638,4904,4528,4383,4339,4327,3856,4072,4563,4561,4984,5316 ,4843,5383,4889,4681,4466,4463,4217,4322,4779,4988,5383,5591,5322,5404
2007 Aug 04
3
request
I want to calculate the commulative sum of any numeric vector with the following command but this following command does not work "comsum" My question is , how we can calculate the commulative sum of any numeric vector with above command Thanks Zahid Khan Lecturer in Statistics Department of Mathematics Hazara University Mansehra. ---------------------------------
2009 Mar 20
1
Dickey Fuller test of a time series (problem)
Hi all, I tried to do a Dickey Fuller test with R using adf.test with a time series of german stock prices. I have 10 stocks from 1985 to 2009 with monthly stock prices. So if you do the math I have 289 values for each stock. I tried to do the test for each stock alone and had the 289 values of my first stock listed in R. When I tried to do the test with command adf.test(x, k=1) the following
2008 Oct 02
1
nls with plinear and function on RHS
Dear R gurus, As part of finding initial values for a much more complicated fit I want to fit a function of the form y ~ a + bx + cx^d to fairly "noisy" data and have hit some problems. To demonstrate the specific R-related problem, here is an idealised data set, smaller and better fitting than reality: # idealised data set aDF <- data.frame( x= c(1.80, 9.27, 6.48, 2.61, 9.86,
2010 Aug 03
2
RTP stream not passing through router with port forwarding
Hi, I am trying to dial a registered user via his IP:Port mechanism, but problem is that the audio data is not reaching to dialed user. here is the scenario. caller and callee both are registered at asterisk server. asterisk server is on public ip so no port forwarding and natting necessary there. however caller and callee both are behind router and there is port forwarding enabled and nat=yes,
2007 Dec 08
2
time series tests
Hi all, Can anyone clear my doubts about what conclusions to take with the following what puts of some time series tests: > adf.test(melbmax) Augmented Dickey-Fuller Test data: melbmax Dickey-Fuller = -5.4075, Lag order = 15, p-value = 0.01 alternative hypothesis: stationary Warning message: p-value smaller than printed p-value in: adf.test(melbmax)
2013 Jun 23
1
Scaling Statistical
Short question: Is it possible to use statistical tests, like the Augmented Dickey-Fuller test, in functions with for-loops? If not, are there any alternative ways to scale measures? Detailed explanation: I am working with time-series, and I want to flag curves that are not stationary and which display pulses, trends, or level shifts. >df DATE ID VALUE2012-03-06 1