similar to: create trend variable in a regression using R

Displaying 20 results from an estimated 1000 matches similar to: "create trend variable in a regression using R"

2005 Jul 28
2
Cochran-Armitage-trend-test
Hi! I am searching for the Cochran-Armitage-trend-test. Is it included in an R-package? Thank you! --
2005 Jul 08
1
Orthogonal regression
Dear R-Users, is there any statement to fit a orthogonal regression in R environment? Many thanks in advance. Best regards, Vito Diventare costruttori di soluzioni Became solutions' constructors "The business of the statistician is to catalyze the scientific learning process." George E. P. Box "Statistical thinking will one day be as necessary for efficient
2005 Nov 17
1
Fitdistr()
When using fitdistr() with the exponential, log-normal and beta distributions, you get the relevent rate, mean, standard deviation, shape1 and shape2 but you get a number bellow those that are in () and I was wandering what exactly those numbers represent and how they relate to the data. Many thanks Mark Miller
2005 Jul 19
2
data mining
Dear all, I'm looking for some material on data mining with R. I have something from Luis Torgo but I'd like to see something else. If anybody could help me I'll be thankful Adri??n
2005 Jul 28
1
stl()
Hello, anyone got an idea on how to use stl() so that the remainder eventually becomes white noise? i used stl repeatedly but there is autocorrelation in the remainder that i can't get rid of. os: linux suse9.3 ------------------------------------------------ Sebastian Leuzinger Institute of Botany, University of Basel Sch??nbeinstr. 6 CH-4056 Basel ph 0041 (0) 61 2673511 fax 0041 (0)
2005 Jul 29
1
R: non parametric regression/kernels
hi all i have a another stats question. i would like to solve the following question: y(i)=a+b*x(i)+e(i) i.e. estimate a and b (they should be fixed) but i dont want to specify the standard density to the straight line. this can be done using kernel regression. the fitted line is however fitted locally. does anyone have a reference that will help me with my problem. i am still new to
2005 Oct 19
1
Help needed with ks.test
Hello to everybody, I'd like to submit a problem I'm dealing with, and I can't get an answer to by myself. I have to test if my data come from a specific probability distribution, of which I know the analytic form both of the p.d.f. and the c.d.f. Namely, it is the hypoexponential distribution, sum of two exponentials with different parameters. Is there any way I can manage the
2005 Oct 27
1
Box.test
Does p-value on Box.test(data,lag=l) returns probability, that H0: cor(1)=cor(2)=..=cor(l)=0 holds? Thanks. [[alternative HTML version deleted]]
2005 Nov 24
2
Chi-squared test
Hello, I'm trying to calculate a chi-squared test to see if my data are different from the theoretical distribution or not: chisq.test(rbind(c(79, 52, 69, 71, 82, 87, 95, 74, 55, 78, 49, 60),c(80,80,80, 80, 80, 80, 80, 80, 80, 80, 80, 80))) Pearson's Chi-squared test data: rbind(c(79, 52, 69, 71, 82, 87, 95, 74, 55, 78, 49, 60), c(80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
2005 Jul 27
3
fitting extreme value distribution
hi, rgev function gives me random deviates and I have a data set which I am fitting to an EVD,IS there a way I can plot both observed and ideal evd on the same plot thankyou Rangesh
2005 Nov 17
3
Goodness fit test HELP!
Hi there, I'm a newbie, plesae bear with me. I have a dataset with about 10000 ~ 30000 data points. Would like fit to both Gamma and Normal distribution to see which one fits better. How do I do this in R? Or I could do a normality test of the data, if it's normal, I then will do a normal fit, otherwise, a gamma fit. But again, I don't know how to do this either. Please help! David
2005 Jul 20
4
poisson fit for histogram
I haven't been an R lister for a bit, but I hope to enlist someone's help here. I think this is a simple question, so I hope the answer is not much trouble. Can you please respond directly to this email address in addition to the list (if responding to the list is warranted)? I have a histogram and I want to see if the data fit a Poisson distribution. How do I do this? It is
2006 Apr 14
4
how to count the columns of a data.frame
Hi, I would like to count the columns of a data.frame. I know how to count the rows, but not the columns. Can someone tell me how to do it? My best regards, Giacomo Moro --------------------------------- [[alternative HTML version deleted]]
2005 Jan 28
3
GLM fitting
DeaR R-useRs, I'm trying to fit a logist model with these data: > dati y x 1 1 37 2 1 35 3 1 33 4 1 40 5 1 45 6 1 41 7 1 42 8 0 20 9 0 21 10 0 25 11 0 27 12 0 29 13 0 18 I use glm(), having this output: > g<-glm(y~x,family=binomial,data=dati) Warning messages: 1: Algorithm did not converge in: glm.fit(x = X, y = Y, weights = weights, start = start, etastart =
2005 Oct 15
2
regression using a lagged dependent variable as explanatory variable
Hi, I would like to regress y (dependent variable) on x (independent variable) and y(-1). I have create the y(-1) variable in this way: ly<-lag(y, -1) Now if I do the following regression lm (y ~ x + ly) the results I obtain are not correct. Can someone tell me the code to use in R in order to perform a regression using as explanatory variable a lagged dependent variable? My best regards,
2005 Jan 11
3
Kolmogorov-Smirnof test for lognormal distribution with estimated parameters
Hello all, Would somebody be kind enough to show me how to do a KS test in R for a lognormal distribution with ESTIMATED parameters. The R function ks.test()says "the parameters specified must be prespecified and not estimated from the data" Is there a way to correct this when one uses estimated data? Regards, Kwabena. -------------------------------------------- Kwabena Adusei-Poku
2005 Jan 13
1
Re:Time-Series
Hi, you can address to a single ts in a multivariate ts object by namets[,index]. See this example: > dati X Y 1 100 200 2 150 210 3 180 220 4 200 230 5 220 250 > serie<-ts(dati,start=1999) > serie Time Series: Start = 1999 End = 2003 Frequency = 1 X Y 1999 100 200 2000 150 210 2001 180 220 2002 200 230 2003 220 250 > serie[,1] ## first ts Time Series: Start =
2005 Jan 25
1
Fitting distribution with R: a contribute
Dear R-useRs, I've written a contribute (in Italian language) concering fitting distribution with R. I believe it could be usefull for someones. It's available on CRAN web-site: http://cran.r-project.org/doc/contrib/Ricci-distribuzioni.pdf Here's the abstract: This paper deals with distribution fitting using R environment for statistical computing. It treats briefly some
2005 Jan 25
1
spearman rank test correlation
Hallo, does anybody know if there is an implementation of the Spearman rank correlation in R that gives a correct (or at least 'safe') p-value in the case of ties?? I have browsed the R-help archives but I found nothing. Thanks a lot in advance for any help, Antonino Casile
2004 Dec 09
1
How can I estimate parameters of probability distributions?
Hi list, I have a group of data. It looks like they follow a exponential distribution. In R, how can I esimate lamda, that is the rate in pexp, of the distribution and can I use Kolmogorov-Smirnov for hypothesis testing in such a situation? I have read the "8.2 Examing the distribution of a set of data" of "An Introduction to R" but I did not find any clues on this issue.