Skip to content

check.k function in mgcv packages

1 message · ywh123

#
Hi,thanks very much,
I have some another questions about GAM models. 

First,Is there some restrictions on the sample size? For example,I am
studying 
the GDP and foreign direct investment on 29 provinces in China(N=29).Whether
or 
not N is too samll? If so,could I use pooled data(N=29,T=5)? 


Second,Could I use the "mgcv" packages to implement panel data model through
adding 
specific fixed effect and time fixed effect as the generzlied mixed
model?(eg. adding factor(s)). 


Thanks very much in advance. 


Best Regards, 
Wanhai

--
View this message in context: http://r.789695.n4.nabble.com/choose-k-function-in-mgcv-packages-tp4634050p4635060.html
Sent from the R help mailing list archive at Nabble.com.