[R] Error in gam() object 'scat' no found

David Winsemius dwinsemius at comcast.net
Tue Sep 27 17:15:30 CEST 2016


> On Sep 26, 2016, at 9:50 PM, Karl Neergaard <karlneergaard at gmail.com> wrote:
> 
> I received an error message while trying to use family=scat in the GAM
> package. The models were working fine yesterday.
> The problem is not with my data seeing as the gaussian distribution is
> working fine.
> 
> mod=gam(RT~s(a) + s(b), data=dat, family=gaussian)
> mod=gam(RT~s(a) + s(b), data=dat, family=scat)
> 
> Might this problem be unrelated to GAM specifically, and to my R
> configuration?
> I have removed the gam package and re-installed it several times to no
> avail.

The scat function is in package mgcv. It also has a `gam` function and is generally thought of as the "standard" approach for estimating generalized additive models.


> 
> Thank you for any assistance,
> Karl
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list