Re: [R] MAd and trim-and-fill plot in R meta-analysis

2014-11-10 Thread huang jialin
Thank you for your response. I apologize for cross posting. I will try the way you suggested. Thanks again. On Mon, Nov 10, 2014 at 11:08 AM, Michael Dewey wrote: > > > On 10/11/2014 14:20, huang jialin wrote: > >> Hi, >> >> I am planning to use BHHR method to cond

[R] MAd and trim-and-fill plot in R meta-analysis

2014-11-10 Thread huang jialin
Hi, I am planning to use BHHR method to conduct a meta-analysis, including calculation of a summary effect size and subgroup analysis. Meanwhile, I need to draw a trim-and-fill plot of all the effect sizes. However, MAd package cannot achieve the goal, while meta and metafor do. But it seems meta

Re: [R] how to calculate a variance and covariance matrix for a vector

2012-03-12 Thread huang jialin
t; #Covariance matrix > cov(A) > > > cov(A) > a b > a 2.8529990 0.7481056 > b 0.7481056 1.3910519 > > By the way, the covariance of two scalars will be zero, since the scalars > are constants. > > > I hope this helps. > > Sincerely yo

Re: [R] how to calculate a variance and covariance matrix for a vector

2012-03-12 Thread huang jialin
w us some of your actual data. > > ** ** > > Of course, if a and b1 are really scalars, I don’t think there is such a > thing as the covariance between two scalars > > ** ** > > ** ** > > * * > > ** ** > > *From:* huang jialin [mailto:huangps..

Re: [R] how to calculate a variance and covariance matrix for a vector

2012-03-12 Thread huang jialin
ect.org] > On > > Behalf Of huang jialin > > Sent: Monday, March 12, 2012 11:43 AM > > To: r-help@r-project.org > > Subject: [R] how to calculate a variance and covariance matrix for a > vector > > > > Hello, > > > > I have a vector {a, b1, b2, b3

[R] how to calculate a variance and covariance matrix for a vector

2012-03-12 Thread huang jialin
Hello, I have a vector {a, b1, b2, b3, b4}. How can I calculate the following matrix: var(a) cov(a, b1) cov(a, b2) cov(a, b3) cov(a, b4) cov(a, b1) var(b1) cov(a, b2) cov(a, b3) cov(a, b4) ... ... cov(a, b1) cov(a, b2) cov(a, b3) cov(a, b4) var(b4) I would very appreciate your inputs.

Re: [R] How to identify a matrix which causes memory limit?

2012-03-05 Thread huang jialin
Hi Thomas, I found a package called Rprofmem(). Is it the one you are referring to? Thanks. Sincerely, Jialin Huang On Mon, Mar 5, 2012 at 1:34 PM, Thomas Lumley wrote: > On Tue, Mar 6, 2012 at 7:14 AM, jim holtman wrote: > > Learn some basic debugging for R. There are several functions (d

Re: [R] How to identify a matrix which causes memory limit?

2012-03-05 Thread huang jialin
hints above to > trap when the error occurs so you can trace down what is causing it. > > On Mon, Mar 5, 2012 at 12:22 PM, David Winsemius > wrote: > > > > On Mar 5, 2012, at 10:23 AM, huang jialin wrote: > > > >> Hello, > >> > >> I am runni

[R] How to identify a matrix which causes memory limit?

2012-03-05 Thread huang jialin
Hello, I am running a simulation on an old computer with memory of 512M. I constantly received a warning of "cannot allocate a vector of ...". How can I identify the matrix causing the problem? Is there any way to fix this issue? I would very appreciate your inputs. Thank you very much. Sincerel

[R] A simulation project based Graded Response Model with multiple groups

2011-11-28 Thread huang jialin
Hi All, I am a beginner in R, and I am planning to learn it by finishing a project. The simulation involves in multiple criteria. Specifically, it is based on Graded Response Model according to IRT. Also, it needs to generate multiple datasets which fit different levels of criteria, like multiple