[R] R question

2004-09-05 Thread house-ball
Hi, Would you help me solve the following question? Thanks. my program is as follows: library(mvtnorm) value-pmvnorm(lower=-Inf, upper=-2.178, mean=0, sigma=1)+ pmvnorm(lower=2.178, upper=Inf, mean=0, sigma=1)+

[R] R question

2004-09-04 Thread house-ball
Hi, Would you help me solve the following question? Thanks. Question: If I try to set the probability=0.05 and find the approximate x. (The answer should be somewhere between 2.1782 and 2.1783.) I write about this R program as follows but I don¡¦t know how to get the value of x which is

[R] R question

2004-09-03 Thread house-ball
Hi, Would you help me solve the following question? Thanks. Question: If I try to set the probability=0.05 and find the approximate x. (The answer should be somewhere between 2.1782 and 2.1783.) I write about this R program as follows but I don¡¦t know how to get the value of x which is

[R] questions about R

2004-07-14 Thread house-ball
Hi, I try to compute critical value for multivariate normal distribution, and I find the crit(fit, const = c(0, 1), d = 1, cov = 0.95, rdf = 0) which seems to compute critical value. However, I can't compute right critical value for multivariate normal distribution which I want. I don't know