Displaying 20 results from an estimated 2000 matches similar to: "Sharp turn in cdf?"
2011 Aug 22
2
CDFs
Hello all,
I have two columns of numbers. I would like to do the following:
(1) Plot both cdfs, F1 and F2 on the same graph.
(2) Find smoothed approximations of F1 and F2 lets call them F1hat and F2hat
(3) Find values for F1hat when we substitue a value of x in it.
(4) Find the corresponding densities of the cdfs.
Any ideas?
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2010 Apr 26
3
Identifying breakpoints/inflection points?
Hello!
I have a dataset with the following two vectors:
year<-c(1967,1968,1969,1970,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009)
2011 Dec 01
2
how to get inflection point in binomial glm
Dear All,
I have a binomial response with one continuous predictor (d) and one
factor (g) (8 levels dummy-coded).
glm(resp~d*g, data, family=binomial)
Y=b0+b1*X1+b2*X2 ... b7*X7
how can I get the inflection point per group, e.g., P(d)=.5
I would be grateful for any help.
Thanks in advance,
Ren?
2012 Jul 05
3
Histogram
I have a column of 1000 datapoints from the normal distribution with mean 2
and variance 4. How can I get a histogram of these observations with 20
bins with each bin having 50 observations?
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2013 Mar 18
4
Counting confidence intervals
Hi,
I have a 2 x 10000 matrix of confidence intervals. The first column is the
lower and the next column is the upper. I want to cont how many times a
number say 12 lies in the interval. Can anyone assist?
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2011 Jul 07
4
Simulating from the null distribution of a 2 x 3 table
Dear all,
I want to simulate from the null distribution of the following 2 x 3 table,
2 5 10
4 8 5
I am using a chi-squared test.
Anyone has any idea how to do this?
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2011 Apr 08
4
Fast version of Fisher's Exact Test
Is anyone aware of a fast way of doing fisher's exact test for a series of 2
x 2 tables in R? The fisher.test is really slow if n1=1000 and n2 = 1000.
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2011 Apr 05
4
Rails 3.0.5 gives SQLite3::SQLException for the same code that works on 3.0.3
Hello,
I recently updated Rails to 3.0.5. The very same code that worked on
3.0.3 now gives error.
The code is:
def kategorialista
Kategoria.where(:elfogadva => TRUE).order("nev").collect {|s|
[s.nev, s.sefuri]}
end
It is in application_controller.rb with
helper_method :kategorialista
The error it gives on 3.0.5:
SQLite3::SQLException: no such table: kategoria: SELECT
2010 Oct 22
2
Bayesian constrained regression method?
Hello everyone,
I am trying to estimate the parameter b.
I have Y and X1 which I know and they are both random. However, I also have
X2 which I don't know and is also random. I want to estimat b from the
model:
Y = b*X1 + ( 1 - b ) * X2
Can anyone offer some suggestions. The values of Y and X1 are both pvalues
so they are constrained in (0,1).
--
Thanks,
Jim.
[[alternative HTML version
2012 Jul 19
20
Rails' inflections are messy
Yesterday, I opened a GitHub Issue<https://github.com/rails/rails/pull/7071> about
moving Rails inflections to an initializer. The idea wasn''t received well,
understandably, as generating a large initializer with new Rails apps is
pretty unappealing. However, the core members seemed open to the discussion
of alternatives continuing here.
For those of you not in the know,
2004 Jul 01
2
Inflection Points
Hi!
Some weeks ago I discovered R. Now, I have a somewhat complicated task
and am not sure whether R is the right tool to solve it.
I got data of several series or measurements where I have to find the
two inflection points. I did a linear regression (with ^2 and ^3
arguments), the problem there was that I had to look only at a very
narrow band of measurement in order to get the
2011 Mar 20
3
Part of a density plot
Suupose I have
y <- rbeta(10000, 2, 5)
and I only want to see only the density plot from x = 0 to x = 1
How do I do this?
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2011 Mar 21
2
Part of density plot not showing up
I am doing a histogram with 2 superimposed densities. However, the density
of one of the graphs is not coming out..its being erased.. Any ideas on how
to fix this problem?
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2011 Jun 04
3
cbind 3 or more matrices
How can I cbind three or more matrices like A,B and C. This does not work:
cbind(A,B,C)
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2011 Jun 21
4
Re; Getting SNPS from PLINK to R
I a using plink on a large SNP dataset with a .map and .ped file.
I want to get some sort of file say a list of all the SNPs that plink is
saying that I have. ANyideas on how to do this?
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2010 Nov 30
2
Adding noise
Hello,
I have some discrete pvalues and I would like to sort them. Then add random
noise so that they are ordered the same way as the original pvalues. Off
course I don't want any pvalues less than 0 or greater than 1. Any ideas on
how to do this in R?
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2011 Jun 02
3
Removing rows of zeros from a matrix
Hi,
Can someone tell me how to remove rows of zeros from a matrix?
For example if I have the following matrix,
0 0
0 1
2 8
0 0
4 56
I should end up with
0 1
2 8
4 56
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2011 Mar 16
2
Re; Fitting a Beta distribution
I want to fit some p-values to a beta distribution. But the problem is some
of the values have 0s and 1's. I am getting an error if I use the MASS
function to do this. Is there anyway to get around this?
--
Thanks,
Jim.
[[alternative HTML version deleted]]
2011 Sep 22
2
Proportions of a vector
>
> Hi all,
> I have a vector xm say: xm = c(1,2,3,4,5,5,5,6,6)
>
> I want to return a vector with the corresponding probabilities based on the
> amount of times the numbers occurred. For example, I should get the
> following vector for xm:
> prob.xm = c(1/9, 1/9, 1/9, 1/9, 3/9, 3/9, 3/9, 2/9, 2/9)
>
Using prop.table gives:
Usage (with table)
> prob.xm <-
2011 Feb 17
0
[BioC] Make.cdf.package error
Hi everybody,
I tried to analyze a custom Affymetrix 3'-biased Array. So I wanted to make
a cdf package. (My CDF file size is 1.12Go).
I tried several methods but the same error occured
Method 1
> #Set the working directory
> setwd("D:/Analyse R/Cel files")
> #library to create cdf env
> library("makecdfenv")
>#Create cdf environment
>pkgpath