search for: mecdf

Displaying 9 results from an estimated 9 matches for "mecdf".

Did you mean: ecdf
2005 Feb 18
2
bivariate empirical cdf
Dear R users, I'm trying to write a small function in order to compute empirical cumulative density function.All seems to work but when I try to plot the function, I always get error messages. This is the function I use mecdf<-function(u,v,z) { u=sort(u) v=sort(v) n=length(u) nb=0 for (i in seq(1,n)) { if (u[i]<z & v[i]<z) { nb<-nb+1 } } nb=nb/n return(nb) } In fact if I try to obtain mecdf(u,v,0.1) or mecdf(u,v,0.2), all is good, but with mecdf(u,v,c(0.1,0.2)), for example, I get erro...
2005 Jun 23
1
mac osx, g95 package port problem
...n an OS X system, I don't have access to a desktop. The set up is: R 2.1.0 Patched (2005-05-12). Darwin Kernel Version 8.1.0 G95 (GCC 4.0.0 20050124 (experimental) (g95!) 06/20/05) Here is the Makefile: F90_FILES=\ dbest_dbase_class.f90 \ ... r_estimate.f90 \ FORTRAN_FILES=\ dgletc.f \ ... mecdf.f C_FILES=init.c CFLAGS=-g -fPIC %.o: %.f90 g95 -c -g $< %.o: %.f g95 -c -g $< %.o: %.c gcc -c -g $< bpkg.so: $(F90_FILES:%.f90=%.o) $(C_FILES:%.c=%.o) $(FORTRAN_FILES:%.f=%.o) g95 -L/Library/Frameworks -o $@ $^ -L/Library/Frameworks/R.framewo\ rk/Resources -----end makefile--------...
2005 Sep 28
1
gfortran Makefile for cygwin
...ion is, how can I find out (or what is), the link command? Here is the OS X Makefile: RLIB_LOC=${R_HOME} F90_FILES=\ class_data_frame.f90 \ class_old_dbest.f90 \ class_cm_data.f90 \ class_cm.f90 \ class_bgw.f90 \ class_cm_mle.f90 \ cme.f90 FORTRAN_FILES=\ dgletc.f \ dglfgb.f\ dglfg.f\ dmdc.f\ mecdf.f %.o: %.f90 gfortran -c -g $< %.o: %.f gfortran -c -g $< bpkg.so: $(F90_FILES:%.f90=%.o) $(FORTRAN_FILES:%.f=%.o) gcc -Wall -bundle -flat_namespace -undefined suppress -L/sw/lib -L/usr/local/lib -o $@ $^ \ -L$(RLIB_LOC)/lib -lR ###EOF#### The -L lib dirs are not correct. On a *nix plat...
2005 Sep 28
3
gfortran Makefile for windows
...ion is, how can I find out (or what is), the link command? Here is the OS X Makefile: RLIB_LOC=${R_HOME} F90_FILES=\ class_data_frame.f90 \ class_old_dbest.f90 \ class_cm_data.f90 \ class_cm.f90 \ class_bgw.f90 \ class_cm_mle.f90 \ cme.f90 FORTRAN_FILES=\ dgletc.f \ dglfgb.f\ dglfg.f\ dmdc.f\ mecdf.f %.o: %.f90 gfortran -c -g $< %.o: %.f gfortran -c -g $< bpkg.so: $(F90_FILES:%.f90=%.o) $(FORTRAN_FILES:%.f=%.o) gcc -Wall -bundle -flat_namespace -undefined suppress -L/sw/lib -L/usr/local/lib -o $@ $^ \ -L$(RLIB_LOC)/lib -lR ###EOF#### The -L lib dirs are not correct. On a *nix plat...
2009 Dec 10
0
Multivariate ECDFs
Hey R people, I have just put a package on CRAN, mecdf 0.2.1. It computes multivariate ECDFs. i.e. Estimates (or perhaps I should say evaluates) a multivariate cumulative distribution function, using data, without any assumptions per se. Plus contrary to my own advise, the vignette contains some pretty pictures of the bivariate normal... The current...
2009 Dec 10
0
Multivariate ECDFs
Hey R people, I have just put a package on CRAN, mecdf 0.2.1. It computes multivariate ECDFs. i.e. Estimates (or perhaps I should say evaluates) a multivariate cumulative distribution function, using data, without any assumptions per se. Plus contrary to my own advise, the vignette contains some pretty pictures of the bivariate normal... The current...
2010 Aug 29
1
Finding functions of large dataset for numerical integration
Hello everyone, I have been trying to figure out away to integrate under a spline produced by the package tps(fields). As the package does not output functions I am trying to do something similar to the trapezium rule. My data are 3D (x, y & z). I have extracted from the surface output by Tps the values of z at regular intervals so that I have a grid of figures, for example: 1 4 6 6 8 8
2009 Dec 13
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * Bergm (1.0) Alberto Caimo http://crantastic.org/packages/Bergm Functions implementing Bayesian estimation for exponential random graph models via exchange algorithm Updated packages ---------------- lmtest (0.9-26), logcondens (1.3.5), MTSKNN (0.0-4), pmml (1.2.21), r2lUniv (0.9.4), rattle (2.5.11), rgdal (0.6-23),
2010 Jul 18
6
CRAN (and crantastic) updates this week
...(0.6.5), lordif (0.1-5), ltm (0.9-4), maanova (1.18.0), MAc (1.1), MAd (0.8), mapdata (2.1-3), maps (2.1-4), maptools (0.7-34), marelac (2.1), MASS (7.3-7), Matrix (0.999375-42), matrixStats (0.2.1), maxLik (0.7-2), mbmdr (2.1), mboost (2.0-6), mc2d (0.1-8), mclust (3.4.4), mcmc (0.8), mco (1.0.9), mecdf (0.4.1), memisc (0.95-30), meta (1.6-0), MetabolAnalyze (1.1), metafor (1.3-0), mgcv (1.6-2), mhsmm (0.3.5), mi (0.09-11), micEcon (0.6-4), micEconAids (0.6-4), minet (2.4.0), minqa (1.1.8), miscTools (0.6-2), mitools (2.0.1), mixAK (1.0), mixdist (0.5-3), mixlow (1.0.0), mixOmics (2.7-1), mixtools...