similar to: Median on Aggregated data

Displaying 7 results from an estimated 7 matches similar to: "Median on Aggregated data"

2007 Jan 21
5
Integration + Normal Distribution + Directory Browsing Processing Questions
Hi everyone, I am new to R, but it's really great and helped me a lot! But now I have 2 questions. It would be great, if someone can help me: 1. I want to integrate a normal distribution, given a median and sd. The integrate function works great BUT the first argument has to be a function so I do integrate(dnorm,0,1) and it works with standard m. and sd. But I have the m and sd given.
2010 Nov 14
1
Integrate to 1? (gauss.quad)
Does anyone see why my code does not integrate to 1? library(statmod) mu <- 0 s <- 1 Q <- 5 qq <- gauss.quad(Q, kind='hermite') sum((1/(s*sqrt(2*pi))) * exp(-((qq$nodes-mu)^2/(2*s^2))) * qq$weights) ### This does what's it is supposed to myNorm <- function(theta) (1/(s*sqrt(2*pi))) * exp(-((theta-mu)^2/(2*s^2))) integrate(myNorm, -Inf, Inf)
2005 Jun 16
5
Vectorization
Greetings, Can anyone suggest me if we can vectorize the following problem effectively? I have two datasets, one dataset is portfolio of stocks returns on a historical basis and another dataset consist of a bunch of factors (again on a historical basis). I intend to compute a rolling n-day sensitivitiesfor each stock for each factor, so the output will be a data frame with
2012 Sep 18
1
creating graphs using Rook
hi, I m said to display graph in browser using Rook. So i found a code i.e library(Rook) # for web functionality library(ggplot2) # for graphing library(tseries) # used to grab time series from yahoo for stock symbols library(plyr) # data tweaks PIC.DIR = paste(getwd(), 'pic', sep='/') # define the web page form newapp = function(env) { req =
2001 Sep 29
0
oggenc autonaming with bitrate and input filename.
I thought it would be useful for testing to include the bitrate in the output filename. I often screw it up and overwrite it by accident. That facility appears in the -n string as %B (uppercase to distinguish it from any comment field argument). I also implemented %F for input filename, for completeness and to save the bother of having to add a comment to a test file just so -n can be used.
2007 Apr 17
1
PROC DISCRIM vs. lda( ) in MASS
Hello, I am using WinXP, R version 2.3.1, and SAS for PC version 8.1. I have mostly used SAS over the last 4 years and would like to compare the output of PROC DISCRIM to that of lda( ) with respect to a very specific aspect. My data have k=3 populations and there are 3 variates in the feature space. When using using the code PROC DISCRIM DATA = FOO OUT = FOO_OUT OUTSTAT = FOOSTAT
2012 Oct 06
7
How to auto-start Guests when using 'xl' toolstack? 'old' configs in /etc/xen/auto/ are ignored without xend service active.
I''ve migrated my Dom0 host to Xen 4.2.0 + xl toolstack. With ''xm'' toolstack, configs in /etc/xen/auto are autostarted, assuming xend/xendomains services are started. IIUC, when using xl toolstack, those services are not to be started; and, afaict, the installation process for 4.2 has them disabled by default. Now, the configs in /etc/xen/auto are simply ignored. I