Displaying 6 results from an estimated 6 matches for "finv".
Did you mean:
find
2007 Nov 16
1
generate multivariate F with specified correlation matrix
Dear all,
In MATLAB, to generate multivariate F with specified correlation matrix Pn I can use the code such as
Z = mvnrnd([0 0 0 0 0], Pn, N);
U = normcdf(Z,0,1);
X = [finv(U(:,1),5,15) finv(U(:,2),5,15) finv(U(:,3),5,15) finv(U(:,4),5,15) finv(U(:,5),5,15)];
Is there something similar in R?
Thank you for your time.
2009 Jan 02
1
R: numerical integration problems
...) for different sample sizes:
Method 1
=========
(integral(s2*L(X|s2)*p(s2)))/(integral(L(X|s2)*p(s2))) where the integrals are calculated using the integrate function
Method 2
=========
transform s2 to tau (from (0,Inf) to (-1,1))
f(s2) = tau = 4*arctan(s2)/pi-1
so
E(s2|X) = (integral(jac*finv(s2)*L(X|finv(s2))*p(finv(s2))))/(integral(L(X|finv(s2))*p(finv(s2)))) . the bounds on both integrals is (-1,1)
jac = the jacobian and finv is the inverse function of f(s2)
once again the integrals are calculated using the intergrate function
Method 3
=========
legendre gaussian quadriture is...
2008 Apr 24
2
inverse F distribution in R?
Dear all,
I'm looking for a function that calls the inverse F-distribution.
Something equivalent to FINV in matlab or excel.
Does anyone know if such a function already exists for R? (I haven't
been able to find one.)
Thanks for any leads.
Best,
Jennifer
2011 Aug 22
3
Changing data scales
I have data that ranges from 0.3 to 2 and I want to change the scale to be
from 0 to 1.
Can this be done in R?
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2007 Oct 31
0
set initial parameter values for GLMM estimation
...error)
proc mixed data = dataSet;
class treat group;
model y = treat*time ;
random intercept / subject=group(treat);
PARMS (2.1) (1.2) / NOITER;
contrast 'slopes' treat*time 1 -1 0,treat*time 1 0 -1;
ods output contrasts=c;
run;
data dataSet;
set c;
alpha=0.05;
ncparm=numdf*fvalue;
fc=finv(1-alpha,numdf,dendf,0);
power=1-probf(fc,numdf,dendf,ncparm);
run;
proc print;run;
cheers,
Wilfried
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
2006 Jul 28
1
Calculate x-values from a spline
Hello,
I calculate splines from messured points(x,y) of an unknown function f(x).
e.g.
x <- c(0.004115, 0.012345, 0.037037, 0.111110, 0.333330, 1.000000)
y <- c(37, 50, 45, 60, 50, 66)
w <- c(0.8540541, 0.8320000, 0.8822222, 0.7983333, 0.8220000, 0.8151515) as
weights
f <- smooth.spline(x,y,w)
Now I have y-values and want to calculate the x-value(s) from this spline.
There is no