search for: dderiveset

Displaying 1 result from an estimated 1 matches for "dderiveset".

2011 Jan 20
0
selecting predictors for model from dataframe
...t;p", type="individual", sls=0.5)[2]) variables=unlist(variables[i]) #So my "variables" are the significant ones. #Below is the sampling of the testset, in which I want to estimate a model, but the only predictors in the model should be the ones I found to be significant. dderiveset=sample(patnr, 50, replace=FALSE) dderiveset=d[dderiveset,] colnames(dderiveset)=c("pat", "X1d", "X2d", "X3d", "X4d", "Yd") attach(dderiveset) #Now in this new set of data, I want to build a model, but only using the coefficients that were...