search for: nusbj

Displaying 16 results from an estimated 16 matches for "nusbj".

Did you mean: nsubj
2004 Sep 30
1
Vectorising and loop (was Re: optim "a log-likelihood function")
>From: Sundar Dorai-Raj <sundar.dorai-raj at PDF.COM> >Reply-To: sundar.dorai-raj at PDF.COM >To: Zhen Pang <nusbj at hotmail.com> >CC: r-help at stat.math.ethz.ch >Subject: Vectorising and loop (was Re: [R] optim "a log-likelihood >function") >Date: Wed, 29 Sep 2004 18:21:17 -0700 > > > >Zhen Pang wrote: > >> >>I also use optim, however, for my case, can you...
2004 Oct 19
0
Question on Rprof(); was: Re: sapply and loop
...line sample.interval=20000 The situation is the same even if I specify the directory to the D drive,where I have the full read/write permissions. Anyway, I do success in my own laptops. Thanks. Yours, Zhen >From: Uwe Ligges <ligges at statistik.uni-dortmund.de> >To: Zhen Pang <nusbj at hotmail.com> >CC: tlumley at u.washington.edu, ripley at stats.ox.ac.uk, >r-help at stat.math.ethz.ch >Subject: Question on Rprof(); was: Re: [R] sapply and loop >Date: Tue, 19 Oct 2004 09:54:39 +0200 > >Zhen Pang wrote: > >>I am sorry for neglecting the acknowledg...
2003 Oct 21
5
run R under linux
...here i is the number of simulation). But I found although some anew is not printed, which I assume NA comes, the resulting matrix does not have NAs, they all be numbers. Why? Regards, Zhen >From: michaell taylor <mt at michaelltaylor.com> >To: R-help at stat.math.ethz.ch >CC: nusbj at hotmail.com >Subject: Re: [R] run R under unix >Date: 09 Oct 2003 08:00:15 -0400 > >One can run R 'txt', script files thusly: > >1. create the txt file (foo.txt) script. >2. at a command prompt type : > R --vanilla < foo.txt > foo.results > >The file &...
2004 Oct 16
7
sapply and loop
Dear all, I am doing 200 times simulation. For each time, I generate a matrix and define some function on this matrix to get a 6 dimension vector as my results. As the loop should be slow, I generate 200 matrice first, and save them into a list named ma, then I define zz<-sapply(ma, myfunction) To my surprise, It almost costs me the same time to get my results if I directly use a loop
2004 Oct 16
7
sapply and loop
Dear all, I am doing 200 times simulation. For each time, I generate a matrix and define some function on this matrix to get a 6 dimension vector as my results. As the loop should be slow, I generate 200 matrice first, and save them into a list named ma, then I define zz<-sapply(ma, myfunction) To my surprise, It almost costs me the same time to get my results if I directly use a loop
2004 Jan 04
1
array problem
Dear all, I define , for n=5 or any integer greater than 0. A<-array((1/2)^n , c(rep(2,n))) then for any i not equal to j, and 1<=i,j<=n, B<-apply(a,c(i,j),sum) now B is a 2 by 2 matrix, I also define another costant 2 by 2 matrix G, How can I change the values of each elements of array A, according the rule that, for example, i=3,j=5,
2004 Apr 03
6
memory limit problem
Could anyone advise me how to allocate 1.5Gbyte memory for R on a Dell laptop running XP professional with 2G memory? I have tried "C:\Program Files\R\rw1081\bin\Rgui.exe" --max-vsize=1400M but I only get only 500MB for R actually. I also tried memory.limit(2^30) in R and got error of: Error in memory.size(size) : cannot decrease memory limit Yi-Xiong
2004 Aug 17
2
Re: Thanks Frank, setting graph parameters, and why social scientists don't use R
...tps://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide! >> http://www.R-project.org/posting-guide.html >> >> > > > >------------------------------ > >Message: 23 >Date: Sun, 15 Aug 2004 09:38:44 +0800 >From: "Z P" <nusbj at hotmail.com> >Subject: [R] Dirichlet-Multinomial >To: r-help at stat.math.ethz.ch >Message-ID: <BAY22-F14e0qsiUJ40H000462d4 at hotmail.com> >Content-Type: text/plain; format=flowed > >Dear all, > >Is there any package in R, which can do the Dirichlet-Multinomial...
2003 Jan 11
2
beta-binomial
Does anyone have R functions or library to fit a beta-binomial distribution with glm? Thanks.
2003 Dec 19
1
iterative proportional fitting
Dear all, I wonder if there are some function or package in R which can do the iterative proportional fitting. In the exponential model f(y1,...yn)=exp(a'yi+b'(yi*yj)+.....+c'(y1*...*yn)+constance), instead of the canonical parameters, I use maginal probability instead of a and log odds ratio instead of b. and for the order higher than 3, I use the canonical way or even assume
2004 Jan 30
1
estimating mode
Dear all, I am considering a problem related to density regression. After we got the estimation of probability density function f(x), how can we estimate the mode of that population? Does the sm package support mode estimation? If not, is there any other function in R can estimate the mode according to the estimation of pdf f(x)? Univariate case is ok. If the function further support higher
2004 Feb 08
0
2D density contour plot
Dear all, Is there any function to construct bivariate kernel estimates using the sphering choice of bandwidth matrix H=h*S^(1/2), where S is the sample covariance matrix? Then draw a contour plot to see the structure? Thanks. _________________________________________________________________ Download games, logos, wallpapers and lots more at MSN Mobile!
2004 Mar 09
2
maxima
Dear all, suppose I have a bi-variate function f(x,y), I want to find the maxima. I define x and y vector, and get matrix z=f(x,y). how can I get which (x0,y0) makes z become the maxima? I can do two loops to get the x0 and y0, but I think there may exist a function to do this.
2004 Mar 12
1
confidence interval in local polynomial regression
Dear all, Is there any package or function can do the pointwise confidence interval and confidence band for the local polynomial regression? Maybe the local linear regression is enough. Thanks. Regards, Zhen
2003 Oct 10
3
command line limit under unix?
Dear all, I have made my testing program to run successfully under unix in the background. However, my simulation work does not work. I read the foo.results file, I found it only have part of my code and not any output I want. Is there any line limit? My code is nearly 400 line. I can cut some of them, but I want to know whether there is any limit or exactly the number of limit is. Thanks.
2003 Oct 09
2
run R under unix
Dear I used to use R under windows. I always save my code in a txt file. When I want to run something, I just copy and paste to the windows. I recently need to do a big simulation work which will cost 5 or 6 days. I am afraid the memory of windows can not cope with this situation. I now want to run the code under unix. However, I do not know how to run this code in txt file under unix. I