Displaying 20 results from an estimated 600 matches similar to: "Chebyshev Inequality — MVUE"
2005 Feb 25
2
outlier threshold
For the analysis of financial data wih a large variance, what is the best way to select an outlier threshold?
Listed below, is there a best method to select an outlier threshold and how does R calculate it?
In R, how do you find the outlier threshold through an interquartile range?
In R, how do you find the outlier threshold using the hist command?
In R, how do you find the outlier threshold
2012 Oct 18
3
svyplot and svysmooth with hexbin
Hi all-
So sorry to bother you all with something pretty basic.
I am trying to add the lines method output from svysmooth to a svyplot with style="grayhex". However, the line either appears in the wrong place or if I am running in R Studio it causes the system to crash.
I know this is something to do with Lattice graphics, but for the life of me I can not figure out how. Dr. Lumley
2012 Feb 13
2
finding and describing missing data runs in a time series
Hi -
I am trying to find and describe missing data in a time series. For instance, in the library openair, there is a data frame called "mydata":
library(openair)
head(mydata)
date ws wd nox no2 o3 pm10 so2 co pm25
1 1998-01-01 00:00:00 0.60 280 285 39 1 29 4.7225 3.3725 NA
2 1998-01-01 01:00:00 2.16 230 NA NA NA 37 NA NA NA
3 1998-01-01 02:00:00
2011 Sep 30
2
isotope superscripts ggplot2
Happy Friday fellow R users.
I need some help - I am trying to make a graph using ggplot 2 of some lead isotope ratios. Normally, the isotope mass number appears as a superscript before the chemical symbol. However, I cannot figure out how to do this ggplot2's axis labels. The closest I have come is using "." In front of the numbers I am superscripting e.g:
ggplot(....
2010 May 17
2
best polynomial approximation
Dear R-users,
I learned today that there exists an interesting topic in numerical
analysis names "best polynomial approximation" (BSA). Given a function
f the BSA of degree k, say pk, is the polynomial such that
pk=arginf sup(|f-pk|)
Although given some regularity condition of f, pk is unique, pk IS NOT
calculated with least square. A quick google tour show a rich field of
research
2011 Nov 10
2
ggplot2 - regression statistics how to display on plot
Hello -
So I am trying to use ggplot2 to show a linear regression between two variables, but I want to also show the fit of the line on the graph as well.
I am using ggplot2 for other graphics in what I am working on, so even though this would be a fairly easy thing to do in Excel, I would prefer to do it in R to keep my look and feel, and I think ggplot2 is just cooler.
Here is a sample
2011 Sep 02
2
Chemical Names in Data Frames
Greetings -
I am working on some data that contain chemical names with air concentrations, and I am creating a data frame with date/time and each chemical having its own column. However, these are organic chemicals (e.g. 1-butene, 2,3,4-trimethylbenzene etc). The package I am going to be using the data with is openair, and many of the great functions require you to specify a column name which
2001 Mar 01
2
aggregated CHM help files
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2490 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20010301/996dcd36/attachment.bin
2006 Oct 17
1
About compositional data analysis
The compositional data xi=(x_i1,x_i2,...,x_in), for each fixed i , xij>0,
and sum(xij)=1;
I want to compare the mean( u_i) of several groups
i.e.
H0: u_1=u_2=...=u_N
or
H0: u_11=u_21=...=u_N1
Are there any ANOVA tpye tools to do this work in R?
Thanks,
WEN S Q
[[alternative HTML version deleted]]
2007 Sep 13
2
Reciprocal Mill's Ratio
I believe that this may be more appropriate here in r-devel than in r-help.
The normal hazard function, or reciprocal Mill's Ratio, may be obtained
in R as dnorm(z)/(1 - pnorm(z)) or, better, as dnorm(z)/pnorm(-z) for
small values of z. The latter formula breaks dowm numerically for me
(running R 2.4.1 under Windows XP 5.1 SP 2) for values of z near 37.4
or greater.
Looking at the pnorm
2008 Aug 21
1
pnmath compilation failure; dylib issue?
(1) ...need to speed up a monte-carlo sampling...any suggestions about
how I can get R to use all 8 cores of a mac pro would be most useful
and very appreciated...
(2) spent the last few hours trying to get pnmath to compile under os-
x 10.5.4...
using gcc version 4.2.1 (Apple Inc. build 5553) as downloaded from
CRAN, xcode 3.0...
...xcode 3.1 installed over top of above after
2001 Mar 01
1
Kohonen's SOM in R?
Is there an implementation of the SOM ('Self Organizing Map') procedure in
R ?
I am aware of the implementations of Sammon mapping, multidimensional
scaling and, somewhat peripherally, principal curves and projection
pursuit .. but not SOM per se as far as I can see. Am I missing
something?
---------------------
for anyone interesed in SOM
I found Samuel Kaski's thesis
2001 Mar 01
1
SOM code
The (slow) SOM code can be found on my web page (towards the bottom)
http://peabody.vanderbilt.edu/depts/psych_and_hd/faculty/wallern/
On Thu, 1 Mar 2001, John Aitchison wrote:
>
> Is there an implementation of the SOM ('Self Organizing Map') procedure in
> R ?
>
> I am aware of the implementations of Sammon mapping, multidimensional
> scaling and, somewhat
2012 Oct 19
2
Which package/function for solving weighted linear least squares with inequality and equality constraints?
Dear All,
Which package/function could i use to solve following linear least square
problem?
A over determined system of linear equations is given. The nnls-function may
would be a possibility BUT:
The solving is constrained with
a inequality that all unknowns are >= 0
and a equality that the sum of all unknowns is 1
The influence of the equations according to the solving process is
2001 Mar 02
1
inc function .. more generally, var arguments
Hi
I'd like to be able to write a simple 'increment' function (like inc in
pascal or ++ in C++) that takes the argument and increments it
'permanently' ie so that z<-1; inc(z) # no assignment; z #2
I can see how to do it with a global variable but that is not what I want -
I want to modify the object that is the actual argument.. I have looked
at assign(), <<
2013 Mar 19
0
linear model with equality and inequality (redundant) constraints
Dear R-users,
in the last days I have been trying to estimate a normal linear model with equality and inequality constraints.
Please find below a simple example of my problem.
Of course, one could easily see that, though the constraints are consistent, there is some redundancy in the specific constraints. Nevertheless my actual applications can get much larger and I would not like to manually
2003 Sep 26
1
least squares regression using (inequality) restrictions
Dear R Users,
I would like to make a lesast squares regression similar to that what is
done by the command "lm". But additionally, I would like to impose some
restrictions:
1) The sum of all regression coefficients should be equal to 1.
2) Each coefficient should assume a value between 0 and 1. (inequality
restrictions)
Which command is the best to use in order to solve this problem
2001 Feb 19
2
"locking" functions
Hi .. another newbie question .. is it possible to "lock" a function
(or indeed any object), making it read-only until "unlocked"?
For example, should I inadvertently (or through sheer stupidity <g> )
override the definition of t
> t
function (x)
UseMethod("t")
with
> t <- function(x){min(x)}
R raises no objection and uses this new version happily
2011 Sep 08
3
global optimisation with inequality constraints
Dear All,
I would like to minimise a nonlinear function subject to linear inequality constraints as part of an R program. I have been using the constrOptim function. I have tried all of the methods that come with Optim, but nothing finds the correct solution. If I use the correct solution as the vector of starting values, though, my program does output the correct solution and optimum - the
2010 Jan 21
1
Double inequality with plotmath
Hello,
I'm fairly new to R and I can't work out how to produce a double
inequality like (LaTeX) $0 \leq x \leq 1$ in the legend of a graph. If
I try
> legend(50, 0.1, legend = c(expression(0 <= x <= 1), c(2 <= x <= 3)), pch = c(1,1), col = c(2, 3))
then I get an error message "unexpected '<=' in ...". I've checked the
help files for plotmath and