Hello, You can either use nls and add weights see ?nls. Or use a generalized linear model and also change the weights. se ?glm
Regards Wayne -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 08:37 To: [EMAIL PROTECTED] Subject: [R] logistic regression with temporal correlation Hello We would like to perform a logistic regression analysis weighting the independent variable in a temporal fashion, i.e. events occuring most recent get highest weight. Does anyone know how to do this in R?? Regards S. Merser and S. Lophaven ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html KSS Ltd Seventh Floor St James's Buildings 79 Oxford Street Manchester M1 6SS England Company Registration Number 2800886 Tel: +44 (0) 161 228 0040 Fax: +44 (0) 161 236 6305 mailto:[EMAIL PROTECTED] http://www.kssg.com The information in this Internet email is confidential and m...{{dropped}} ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html