search for: meani

Displaying 10 results from an estimated 10 matches for "meani".

Did you mean: means
2005 Oct 05
1
(no subject)
hi all why does the following not work??? this was someone elses code and i couldnt explain why it doesn't work. m=matrix(c(0,0),2,1) v=matrix(c(1,0,0,1),2,2) Y=function(X1,X2,mu=m,V=v) { X=matrix(c(X1,X2),2,1) a=(1/((2*pi)*sqrt(det(V))))*exp((-0.5)*(t(X-mu)%*%solve(V)%*%(X-mu))) a[1] } x1=seq(-1,1) x2=x1 Z=outer(x1,x2,FUN="Y",mu=m,V=v) persp(x1,x2,Z) my code:
2011 Aug 11
1
Splitting data
I want to implement the following algorithm in R: I want to split my data, use a t test to compare both means of the groups to see if they significantly differ from each other. If this is a yes (p < alpha) I want to split again (into 4 groups) and do the same procedure twice, and stop otherwise (here the problem arises). As a final result I would have different groups of data. I made some
2006 Jul 06
1
a question about glm( )
Hi, I am working on an example about generalized linear model in a paper using glm( ). The code is quite simple and straightforward, but the result is rediculous. The true parameter is c(4, -6), but the result is c(2.264774, -3.457114) Can anybody tell me the reason for this? Thanks a lot!!! Here is the code: g=function(t){exp(t)/(1+exp(t))} #the given link function n = 100 # sample size
2011 Aug 25
2
within-groups variance and between-groups variance
...lt;- 0 denomtotal <- 0 for (i in 1:numlevels) { leveli <- levels[i] levelidata <- variable[groupvariable==leveli,] levelilength <- length(levelidata) # get the mean and standard deviation for group i: meani <- mean(levelidata) sdi <- sd(levelidata) numi <- (levelilength - 1)*(sdi * sdi) denomi <- levelilength numtotal <- numtotal + numi denomtotal <- denomtotal + denomi } # calculate the within-groups var...
2008 Jul 06
3
Lots of huge matrices, for-loops, speed
Hello, we have 80 text files with matrices. Each matrix represents a map (rows for latitude and columns for longitude), the 80 maps represent steps in time. In addition, we have a vector x of length 80. We would like to compute a regression between matrices (response through time) and x and create maps representing coefficients, r2 etc. Problem: the 80 matrices are of the size 4000 x 3500 and we
2011 Nov 22
3
Binned line plot
I have a scatter plot with 10000 points.? I would like to add a line that bins every 50 points and connects the average of each bin.? I'm looking for something similar to line type "m" in Stata. With this dataset of 10000 points, I would also like to bin the data and make boxplots at certain intervals, so that I have a set of boxplots to represent each bin.? I would also like the
2015 Feb 21
1
RStudio Calling C++ Visual Studio DLL
All, I'm a newbie to R and I am interested in seeing a simple example of calling a 3rd party Visual Studio generated DLL from RStudio. Does anyone have a simple example which also walks through the preliminary steps of setting up the INCLUDE path and the library path to either a DLL or LIB file ? I have tried to find an easy example, but thus far had no luck finding an example using Rcpp
2011 Sep 02
2
ISO question.
I am new to linux and am currently using Kubuntu 11.04 on a coby 10in netbook with no cd drive. I have ISO files of the diablo II install play cinematics and LOD discs. i was wondering if it was possible to mount and play off of those files. something similar to Daemon tools. i tried Acetone ISO but after i mounted nothing happend. I googled for a while and came to this site and read alot about
2005 Mar 12
2
Unable to create channel of type 'IAX2'
Hi all, I'm a newbie and I have a configuration problem with Asterisk. Seems that I'm not able to call an outbound number. I'm quite sure that it is a configuration problem, but I'm not able to find out where is the mistake, even reading several docs to www.voip-info.org. I do not have a good knowledge of Asterisk, I'm not very familiar with its configuration and I've a
2010 Nov 22
1
Using RInside in Visual Studio 8.0 VC++.NET Program
Hello, I am trying to use Rinside package in my VC++.Net program ( using Visual Studio 8.0 environment). I have downloaded Windows binary of RInside from the following link http://cran.r-project.org/web/packages/RInside/index.htm Version of RInside - 0.2.3 While compiling the program , i am getting about 69 error. Some of them are the folllowing ones. Please me in solving the following issue