search for: glmreg

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

2009 Mar 31
1
Can not get a prediction interval from Predict
I am trying to get a prediction interval from a glm regression. With newdat being my set of values to be fitted, and glmreg the name of my regression, I am using the following code. predict(glmreg, newdat, se.fit = TRUE, interval = "confidence", level = 0.90) The problem is that I am only getting the standard error and the fitted value, not a prediction interval. Any help would be great! Thanks so much. __...
2014 Mar 04
1
How to import S3 method
Dear Helpers, I wanted to import an S3 method from package glmnet to my own R package. Specifically, I tried the following: plot.glmreg=function(x, xvar=c("norm","lambda","dev"),label=FALSE,shade=TRUE, ...) UseMethod("glmnet") I got the following message when installing my package: Error : object 'plot.glmnet' is not exported by 'namespace:glmnet' Is there a correct way to...