search for: deviates

Displaying 20 results from an estimated 2023 matches for "deviates".

Did you mean: deviate
2012 Jul 12
1
Grabbing Indexes of a certain standard deviation
I have a graph of residuals and I am attempting to get a list of the indexes of each time the residual is greater than 2 standard deviations or less than -2 standard deviations, but only the first point of the section. And then I'd also need the first point where the point returns to the range between +/- 2 standard deviations. So basically if my standard deviation=1 and my residuals=c(1, 2.1,
2012 Aug 25
2
Standard deviation from MANOVA??
Hi, I have problem getting the standard deviation from the manova output. I have used the manova function: myfit <- manova(cbind(y1, y2) ~ x1 + x2 + x3, data=mydata) . I tried to get the predicted values and their standard deviation by using: predict(myfit, type="response", se.fit=TRUE) But the problem is that I don't get the standard deviation values, I only
2008 Oct 15
3
Standard deviation for rows
Hi everyone, I have just started using R, and I have a simple question. How can I get the Standard deviation for rows. basically I am looking for something like "rowMeans()" but for Standard deviation (I tried "rowSds()" didn't exist) Thanks, -- View this message in context: http://www.nabble.com/Standard-deviation-for-rows-tp19998106p19998106.html Sent from the R
2012 Jul 24
4
Integrate(dnorm) with different mean and standard deviation help
I'm trying to provide different parameters to the integrate function for various probability functions. I'm using dnorm as the simplest example here. For instance integrate(dnorm, -1.96, 1.96) produces the correct answer for a normal distribution with mean 0 and standard deviation 1. I've tried two ways to use mean=2.0 and standard deviation 1, but with no luck. The examples follow.
2003 Aug 06
1
Standard error of standard deviation: bootstrap or theoretical results?
Dear R users, This is more a statistical question rather than an R question. I'd appreciate it if you can give me some suggestions. I have a sample of a time series (sample size 500, fat tail in density). I am trying to calculate the Standard error of standard deviation of a sub-block-sample (sample size 250). I take 100 this kind of sub-block-sample, randomly. For these 100 subsamples, I
2010 Aug 25
1
Estimate average standard deviation of mean of two dependent groups
Dear R-experts! I am currently running a meta-analysis with the help of the great metafor package. However I have some difficulties setting up my raw data to enter it to the meta-analysis models. I have a group of subjects that have been measured in two continuous variables (A & B). I have the information about the mean of the two variables, the group size (n) and the standard deviations of
2009 Oct 14
0
Problem with NLSstClosestX; and suggested fix
Problem is demonstrated with this code, intended to find the approximate 'x' at which the 'y' is midway between the left and right asymptotes. This particular data set returns NA, which is a bit silly! -------------- sXY <- structure(list(x = c(0, 24, 27, 48, 51, 72, 75, 96, 99), y = c(4.98227, 6.38021, 6.90309, 7.77815, 7.64345, 7.23045, 7.27875, 7.11394, 6.95424)), .Names =
2004 May 21
2
bars with sd
I need some help for a curious question of a friend of mine. She usually does some experiments (3-5 repeats for each exp) and then she calculates mean and standard deviation. In microsoft excel she writes something like the following sample mean sd a 1.25 0.35 b 2.65 0.65 c 3.45 0.50 She can do a vertical barplot graph just giving mean value and specifying the
2011 Jan 30
3
How to do a moving window on standard deviation
I'd like to use vectorization to take a 4 point moving window on standard deviation on the close column and create another variable (st.dev) in the dataframe. Here's the dataframe head(xyz) Date Close 1 2011-01-28 56.42 2 2011-01-27 57.37 3 2011-01-26 56.48 4 2011-01-25 56.39 5 2011-01-24 55.74 6 2011-01-21 55.46 So the first 3 elements to the new st.dev column would be zero
2012 Jun 20
1
prcomp: where do sdev values come from?
In the manual page for prcomp(), it says that sdev is "the standard deviations of the principal components (i.e., the square roots of the eigenvalues of the covariance/correlation matrix, though the calculation is actually done with the singular values of the data matrix)." ?However, this is not what I'm finding. ?The values appear to be the standard deviations of a reprojection of
2004 Apr 06
0
Curious about nomenclature: random deviates
< Does anyone know why they're called random deviates, as opposed to random numbers?> Others will probably give you some technical reason about random numbers can be considered as random deviates from a mean (I think at least the 1875 Galton paper at http://www.mugu.com/galton/ uses similar terminology (I'm not claiming this is the earliest use...
2007 Oct 21
2
scatter plot with 1 standard deviation for each point
Hi, Could anyone give suggestions how to plot a scatter plot with 1 standard deviation for each point. To make it clearer, here is a simple example: the scatterplot is plot(X, Y), but I want to add 1 standard deviation according to the value of Z for each Y. X Y Z 1 3.5 1.1 . . . . . . . . . Thanks a lot in advance. FD [[alternative HTML
2008 Aug 13
1
The standard deviation of measurement 1 with respect to measurement 2
Hi, I have two (different types of) measurements, say X and Y, resulting from the same set of experiments. So X and Y are paired: (x_1, y_1), (x_2, y_2), ... I am trying to calculate the standard deviation of Y with respect to X. In other words, in terms of the scatter plot of X and Y, I would like to divide it into bins along the X-axis and for each bin calculate the standard deviation along
2011 Oct 23
1
how to plot a distribution of mean and standard deviation
Hi, I have the following data about courses (504) in a university, two attributes about the proportion of resources used (#resources_used / #resources_available), namely the average and the standard deviation. Thus I have: [1] n=504 rows [2] 1 id column and 2 attributes Here's a sample of the data: courseid,average,std 12741,1,0 17161,1,0 12514,1,0
2017 Sep 13
2
Help in R
I don?t know if my question is answerable, but it is worth a try. I have a data set that I am trying to analyze in R for a course and the instructions were to get a standard deviation which I already computed in R and use that number and change it to a biased standard deviation?.(I have the two equations and I understand the difference between the two and how the unbiased has the degree of
2009 Jun 22
3
Calculating "row standard deviations"
Hi R-helpers, I have been struggling with calculating row and column statistics, e.g. standard deviation. I know that > datac$Mean<-rowMeans(datac,na.rm=TRUE) will give me row means. I have tried to replicate those row means with the apply function: > datac$Mean2<-apply(datac,2,mean) so that I can replace the function argument with "sd" (instead of mean) to get standard
2004 Dec 13
3
Moving standard deviation?
Is there a simple function in R to get a moving standard deviation (i.e. for the last x samples)? My goal is to plot bollinger bands around a moving average for price data. I use kernel smoothing for the moving average. cheers and thanks! over and out -- doktora
2008 Jul 09
1
"non-sample" standard-deviation
Hi, R seems to use the "1/n-1"-factor calculating the standard-deviation sd(). If i wat to get the "non-sample" standard-deviation i use sqrt(sd(x)^2*((n-1)/n)) Is there a parameter to get the sd()-function using the "1/n" factor directly? Or is there any other function to do so? Thank you in advance :-) Best, Eli
2010 Feb 22
3
scale(x, center=FALSE) (PR#14219)
Full_Name: Maria Rizzo Version: 2.10.1 (2009-12-14) OS: Windows XP SP3 Submission from: (NULL) (72.241.75.222) platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor
2010 Feb 09
2
Model matrix using dummy regressors or deviation regressors
The model matrix for the code at the end the email is shown below. Since the model matrix doesn't have -1, I think that it is made of dummy regressors rather than deviation regressors. I'm wondering how to make a model matrix using deviation regressors. Could somebody let me know? > model.matrix(aaov) (Intercept) A2 B2 B3 A2:B2 A2:B3 1 1 0 0 0 0 0 2