Displaying 3 results from an estimated 3 matches for "xbig".
Did you mean:
big
2004 Apr 11
3
pcauchy precision (PR#6756)
Full_Name: Morten Welinder
Version: snapshot
OS:
Submission from: (NULL) (65.213.85.129)
Two things are wrong.
1. There is nan test outside IEEE_754.
2. The meat part of the function should really be something like...
if (!lower_tail)
x = -x;
if (fabs (x) > 1) {
double temp = atan (1 / x) / M_PI;
return (x > 0) ? R_D_Clog (temp) : R_D_val (-temp);
} else
2017 Aug 02
0
Generating samples from truncated multivariate Student-t distribution
...; 40,
>> 49.95,
>> 35.31, # "4th element of mean vector"
>> 44.94,
>> 31.32]
>>
> I get similar results for the output from your code,
> My 100-fold run of your calculations were:
> meansBig <- replicate(100, {Xbig <- rtmvt(n=100000, meann, covv, df, lower, upper)
> colMeans(Xbig)} )
> describe(meansBig[4,]) # describe is from Hmisc package
> meansBig[4, ]
> n missing distinct Info Mean Gmd .05 .10 .25
> 100 0 100 1...
2011 Aug 08
1
select from matrix
Suppose I have a matrix like
A=matrix(0,4,6)
A[1,]=c(16,10,2,4,8,7)
A[2,]=c(16,10,12,14,8,7)
A[3,]=c(16,10,13,15,19,17)
A[4,]=c(16,9,13,15,9,7)
> A
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 16 10 2 4 8 7
[2,] 16 10 12 14 8 7
[3,] 16 10 13 15 19 17
[4,] 16 9 13 15 9 7
I want to creat an indicator variable X which takes three values:
X=1