Displaying 20 results from an estimated 5000 matches similar to: "What's wrong with ar for my data?"
2003 Oct 23
7
generic algorithm
Dear all,
Is there any generic algorithm code for optimization implemented in R? I
searched without success.
Thanks,
--
Zhu Wang
Statistical Science Department
Southern Methodist University
Phone: (214)768-2453
Fax: (214)768-4035
Email: zhuw at mail.smu.edu
2004 Apr 06
4
missing values for mda package
Dear helpers,
I am trying to use the mda package downloaded from the R website, but
the data set has missing values so I got an error message. Should I
manually handle these missing values? I was trying to read the documents
to specify any option related to missing values, but I did not find it.
Please forgive me if I ignore something obvious.
Thanks,
Zhu Wang
Statistical Science Department
2003 Jun 09
1
Questions for package ts prediction
Dear helpers,
I am trying to write a function to return prediction values using
package ts. I have written three different versions since I am not sure
what's wrong with my func2. func and func1 return the same results.But
func1 and func2 don't. In particular, the only difference between
"func1" and "func2" is the function variable name being y and data,
respectively.
2003 Feb 03
0
FW: unable to open connection
Thanks to Brian D. Ripley and Uwe Ligges. It works now.
Zhu Wang
Statistical Science Department
Southern Methodist University
3225 Daniel Avenue, Heroy 123
Dallas, TX 75275
Tel: (214)768-2453
Fax: (214)768-4035
>
>
> > -----Original Message-----
> > From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de]
> > Sent: Sunday, February 02, 2003 5:22 AM
>
2004 May 31
1
Question about building library and BLAS
Dear helpers,
I am trying to create a library which uses some Fortran source files and Lapack and Blas
subroutines. The Fortran source files from the original author contain subroutines
isamax.f, sgefa.f and sgesl.f, which are part of BLAS subroutines on my Linux computer,
but maybe different (old) versions. So in addition to these subroutines, there are other
Lapack and Blas subroutines
2004 Jun 09
2
Building package on Windows: No rule to make target '-llapack'
Dear all,
I have a problem to build a package on Windows XP while there is no problem on Linux. The Makefile is something like:
###########
LIBNAME=cts
PKG_LIBS = $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
OBJS=file1.o ... file20.o -llapack -lblas
$(LIBNAME)$(SHLIB_EXT): $(OBJS)
$(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) $(FLIBS)
clean:
@rm -f *.o *.$(SHLIB_EXT)
realclean: clean
2011 Mar 29
1
Simple AR(2)
Hi there, we are beginners in R and we are trying to fit the following time
series using ar(2):
> x <- c(1.89, 2.46, 3.23, 3.95, 4.56, 5.07, 5.62, 6.16, 6.26, 6.56, 6.98,
> 7.36, 7.53, 7.84, 8.09)
The reason of choosing the present time series is that the we have
previously calculated analitically the autoregressive coefficients using
the direct inversion method as 1.1, 0.765, 0.1173.
2007 Oct 31
2
survey weights in sample with replacement
>> Hi,
I am trying to draw a random sample from an household survey with sample weight. Is there any function in R or Splus which allows this.
Regards,
*******************************************************
Mehtabul Azam
Department of Economics
Southern Methodist University
Dallas TX 75275-0496
Tel: (214) 214 938 3906
Email: mazam at smu.edu <mailto:mazam at smu.edu>
1997 Aug 29
1
R-beta: ar
I have been trying to get a working version of ar, since I have used it
in several calculations in the test suite for my time series library.
The following limited version (order.max must be specified and other
short comings) works more or less, but the results differ by more than
I would expect from those given by Splus. I have tried several
variations with no success. If anyone can see a reason
2015 Aug 27
0
Column name expansion in data.frame()
Dear R developers:
I am trying to add a column to a data.frame. The following does the
trick by expanding the name of the first data frame with the prefix foo:
> data.frame(foo = as.list(data.frame(items = 1:3, bar=1:3)), items =
1:3) foo.items foo.bar items
1 1 1 1
2 2 2 2
3 3 3 3
However, the following special case produces an
2014 Nov 30
1
Using FPP preprocessor for Fortran Code
Dear R Developers,
For package seriation I use Fortran code. I recently got a request to add
#if defined(__ICC) || defined(__INTEL_COMPILER)
USE IFPORT
#endif
to the code since the Intel Fortran compiler otherwise has problems with
rand(). However, to enable the FPP preprocessor I have to either add a
compiler flag (-cpp for gFortran) which is possibly not portable or
change the
2003 Apr 21
4
nonlinear equation solver?
Dear R-Help,
I am trying to use R to solve a nonlinear equation many times for different values. I am looking for a mathematical nonlinear equation solution which may not have a closed solution form. For example, I have equation:
2 = (t^2)/log(t)
What is t?
I am wondering how to solve it in R.
Many thanks,
Zhu Wang
Statistical Science Department
SMU.
2011 Jan 12
1
[LLVMdev] About test suits
I have built and configured the test suits as told at
http://llvm.org/docs/TestingGuide.html#testsuite.
The llvm is built with configuration:
SRC_DIR/configure --prefix=INS_DIR --enable-debug-runtime
--disable-optimized --enable-debug-symbols --enable-assertions
This configuration is used again in the re-configure process. However, after
the re-configure process, the following "make"
2013 Jan 20
2
[LLVMdev] local test-suite failures on linux
There is almost certainly a bug in lnt or the makefiles.
I changed the body of Burg main to the following:
+ printf("Hello World\n");
+ return 0;
I re-ran the test-suite again and got the following errors:
--- Tested: 986 tests --
FAIL: MultiSource/Applications/Burg/burg.execution_time (494 of 986)
FAIL: MultiSource/Applications/ClamAV/clamscan.execution_time (495 of 986)
FAIL:
2005 Mar 12
1
[LLVMdev] GCC 3.4.1 and conflicting types for 'malloc'
Hi
These are:
========================
llvm[2]: Linking Release Object Library LLVMbzip2.o
gmake[2]: Leaving directory `/homes/myuser/LLVM/llvmobj/lib/Support/bzip2'
gmake[1]: Leaving directory `/homes/myuser/LLVM/llvmobj/lib/Support'
gmake[1]: Entering directory `/homes/myuser/LLVM/llvmobj/utils'
gmake[2]: Entering directory `/homes/myuser/LLVM/llvmobj/utils/Burg'
llvm[2]:
2005 Mar 12
1
[LLVMdev] GCC 3.4.1 and conflicting types for 'malloc' (2)
It seems that this happened before but I do not know the details:
http://llvm.cs.uiuc.edu/testresults/SparcV9/2004-12-07.html
Thanks
--- Chris Lattner <sabre at nondot.org> wrote:
> On Sat, 12 Mar 2005, xavier wrote:
> > llvm[2]: Compiling zalloc.c for Release build
> > /homes/myuser/LLVM/llvmobj/../llvmsrc/utils/Burg/zalloc.c:9: error: conflictin
> > g types for
2006 Oct 02
2
[LLVMdev] Instruction descriptions question
Hi Chris,
Thanks a lot for your answer!
Chris Lattner wrote:
>> 1. Why does X86 instruction set description provide different
>> descriptions for the same instructions, which differ only in the
size
>> of operands?
>> E.g.
>>
>> def MOV8rm : I<0x8A, MRMSrcMem, (ops GR8 :$dst, i8mem :$src),
>> "mov{b} {$src, $dst|$dst, $src}",
2015 Mar 20
0
RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices
Hi Martin,
package arules heavily relies on ngCMatrix and uses multiplication and
addition for logical operations. I think it makes sense that in a mixed
operation with one dgCMatrix and one ngCMatrix the ngCMatrix should be
"promoted" to a dgCMatrix.
The current behavior of %*% and friends is in deed confusing:
> m <- matrix(sample(c(0,1), 5*5, replace=TRUE), nrow=5)
>
2005 Mar 12
1
[LLVMdev] GCC 3.4.1 and conflicting types for 'malloc' (2)
I commented this line and it is compiling now:
extern void *malloc ARGS((unsigned));
I hope that will not cause a different kind of problem. What it is zalloc used for?
Thanks
--- Chris Lattner <sabre at nondot.org> wrote:
> On Sat, 12 Mar 2005, xavier wrote:
>
> > It seems that this happened before but I do not know the details:
> >
2003 Feb 02
1
unable to open connection
Dear list members,
I have problem to load data of the library waveslim.
After I load the library waveslim and tried to load data ibm
data(ibm)
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `ibm.txt''
I also tried other data sets without success. It works for other
libraries though.
Any suggestions? Thanks.
Zhu Wang