similar to: pdf function assignment (beginner''s question)

Displaying 20 results from an estimated 60000 matches similar to: "pdf function assignment (beginner''s question)"

2006 Sep 23
1
Fitdistr() versus nls()
Hello R-Users, I'm new to R so I apologize in advance for any big mistake I might be doing. I'm trying to fit a set of samples with some probabilistic curve, and I have an important question to ask; in particular I have some data, from which I calculate manually the CDF, and then I import them into R and try to fit: I have the x values (my original samples) and the y values
2007 Apr 23
0
New version of actuar
UseRs, actuar is a package for Actuarial Science. A rather preliminary version (0.1-3) of the package has been available on CRAN since February 2006. We now announce the immediate availability of version 0.9-2 sporting a large number of new features. Non actuaries behold! There can be some features of interest for you, especially those related to new probability distribution and to the
2007 Apr 23
0
New version of actuar
UseRs, actuar is a package for Actuarial Science. A rather preliminary version (0.1-3) of the package has been available on CRAN since February 2006. We now announce the immediate availability of version 0.9-2 sporting a large number of new features. Non actuaries behold! There can be some features of interest for you, especially those related to new probability distribution and to the
2010 May 26
2
Survival analysis extrapolation
Dear all, I'm trying to fit a curve to some 1 year failure-time data, so that I can extrapolate and predict failure rates up to 3 years. The data is in the general form: Treatment Time Status Treatment A 28 0 Treatment B 28 0 Treatment B 28 0 Treatment A 28
2011 Aug 22
1
d, p, q, r - What are the math relations with each other of this functions?
Hi all, Using the exponential distribution to exemplify: The dexp function is the PDF (1) and pexp is the CDF (2), that is obtained integrating the PDF. How can I get the qexp and the rexp? Considering that I have the PDF, how this two are mathematically related to the PDF? (1) ke^{-kx} (2) 1-e^{kx} Thanks in advance.
2001 Feb 01
1
Generalized Error Distribution (Exponential Power) CDF?
Hi all, Just a random shot in the dark. Does anyone have/know of a function for the CDF of a generalized error dist? -- Elliot Williams (ewilliams at ucsd.edu) Economics Department, UC San Diego -------------- next part -------------- An embedded message was scrubbed... From: Elliot Williams <ewilliams at ucsd.edu> Subject: [R] Generalized Error Distribution (Exponential Power) CDF?
2007 Nov 16
0
New version of actuar
UseRs, Version 0.9-4 of actuar should be making its way to CRAN mirrors. The main highlights of this new version are speed enhancements for a few functions, support for phase-type distributions and functions for ruin theory. The relevant section of the NEWS file follows Version 0.9-4 ============= Maintenance and new features release. NEW FEATURES -- LOSS DISTRIBUTIONS o Functions
2007 Nov 16
0
New version of actuar
UseRs, Version 0.9-4 of actuar should be making its way to CRAN mirrors. The main highlights of this new version are speed enhancements for a few functions, support for phase-type distributions and functions for ruin theory. The relevant section of the NEWS file follows Version 0.9-4 ============= Maintenance and new features release. NEW FEATURES -- LOSS DISTRIBUTIONS o Functions
2010 Nov 22
1
need smooth cdf lines
Hi, I would like to overlap the cdf curve for observed and generated data  Here is my code: plot(cdf,main ="CDF of the sum for winter season-Hume",cex.axis=1.2,xlab="Rainfall (mm)", xaxs="i",yaxs="i",col=c("black","red"), lty=c(1,1),ylab="Cumulative probability", xlim=c(0,800),lwd=1) lines(ecdf(datobs))
2008 Jul 21
0
optimize function help!!
Dear R users, I?m trying to optimize simultaneously two binomials inequalities used to acceptance sampling, which are nonlinear solution, so there is no simple direct solution. The 'n' represents the sample size and the 'c' an acceptance number or maximum number of defects (nonconforming) in sample size. The objective is to obtain the smallest value of 'n' (sample size)
2010 Nov 12
3
Replicate Excel's LOGEST worksheet function in R
Hi - I have a dataframe of (x,y) values. I'd like to fit an exponential curve to the data for further statistical analysis (pretty much the same functionality provided by Excel's LOGEST worksheet array function). Can someone point me to the (set of) functions/ package that is best suited to provide this functionality? Admittedly, I am a novice in the use of R statistical functions,
2008 Aug 29
1
nls() fails on a simple exponential fit, when lm() gets it right?
Dear R-help, Here's a simple example of nonlinear curve fitting where nls seems to get the answer wrong on a very simple exponential fit (my R version 2.7.2). Look at this code below for a very basic curve fit using nls to fit to (a) a logarithmic and (b) an exponential curve. I did the fits using self-start functions and I compared the results with a more simple fit using a straight lm()
2006 Sep 27
1
panel.curve
Hi, I am trying to fit experimental points by exponemtial curve my data are stored into a matrix data the first column is the geographical point (a number = data[,1] ) ( I would like to plot several graphes at the same time) the second column is the time of measurement (x in the plot) the third column is a speed (y in the plot) if we assume the point are folowing this exponential behaviour
2007 Jul 24
2
Fitting exponential curve to data points
Hi folks, I've looked through the list archives and online resources, but I haven't really found an answer to this -- it's pretty basic, but I'm (very much) not a statistician, and I just want to check that my solution is statistically sound. Basically, I have a data file containing two columns of data, call it data.tsv: year count 1999 3 2000 5 2001 9 2002 30 2003 62 2004 154
2003 Jan 29
2
Curve Fitting Question - Newbie
Hello, I have what should be an easy question. I'm a new r user and making the transition from menus to the command line so as to do batch processing of tons of data. One of my data streams needs to be detrended. It's a vector of numbers that follows a negative exponential decay. I need to fit a curve to it and use the residuals as an object. The data looks something like this: foo.dat
2011 May 17
2
pdf (probability distribution function) and cdf
Dear all, I would like for a given vector to calculate the pdf and the cdf and then plot these two graphs. Is there in R any toolkit that can help me do that fast? Regards Alex
2008 Jul 29
0
optimize simultaneously two binomials inequalities using nlm
Dear R users, I?m trying to optimize simultaneously two binomials inequalities used to acceptance sampling, which are nonlinear solution, so there is no simple direct solution. Please, let me explain shortly the the problem and the question as following. The objective is to obtain the smallest value of 'n' (sample size) satisfying both inequalities: (1-alpha) <= pbinom(c, n, p1)
2013 Jul 18
1
How code for an exponential function
Hi, I ran a linear regression on a data set and got an Rsq of about .27. The plot looks as though an exponential curve would be a better fit. What codes do I use to do this? Thank you, Ryan Munroe [[alternative HTML version deleted]]
2006 Apr 21
1
AIC and numbers of parameters
Hi. I'm fairly new to R and have a quick question regarding AIC, logLik and numbers of parameters. I see that there has been some correspondence on this in the past but none of the threads seem to have been satisfactorily resolved. I have been trying to use R to obtain AIC for fitted models and then to extrapolate to AICc. For example, using simple x-y regression data, I fitted a
2008 Jan 01
2
Non-Linear Quantile Regression
Please, I have a problem with nonlinear quantile regression. My data shows a large variability and the quantile regression seemed perfect to relate two given variables. I got to run the linear quantile regression analysis and to build the graph in the R (with quantreg package). However, the up part of my data dispersion seems a positive exponential curve, while the down part seems a negative