search for: salic

Displaying 2 results from an estimated 2 matches for "salic".

Did you mean: saic
2010 May 26
1
validation logistic regression
...I did validation for prediction by logistic regression according to following:   validationsize <- 23 set.seed(1) random<-runif(123) order(random) nrprofilesinsample<-sort(order(random)[1:100]) profilesample <- data[nrprofilesinsample,] profilevalidation <- data[-nrprofilesinsample,] salich<-profilesample$SALIC.H.1 salic.lr<-glm(salich~wetnessindex, profilesample, family=binomial('logit')) summary(salic.lr) salichpred<-predict(salic.lr, newdata=profilevalidation) expsalichpred<-exp(salichpred) salichprediction<-(expsalichpred/(1+expsalichpred)) So,  table(sal...
2010 Jul 21
0
Piecewise regression using lme()
Hi everyone, I'm trying to fit a of piecewise regression model on a time series. The idea is to divide the series into segments and then to apply linear regression models on each segment but in a "global way" and considering heteroskedasticity between the segments. For example, I build a time series y with 3 segments: segment1=1:20+rnorm(20,0,2) segment2=20-2*1:30+rnorm(30,0,5)