[R] plotting gam plots from mgcv package

2017-04-05 Thread Husam El Alqamy
Dear List
I am fitting some GAM models using the package mgcv. When plotting the
response curves of the individual predictors using gam.plot I get a dotted
line of the confidence interval around the fitted line. Does anybody know a
way to make these as grey area around the fitted lined instead of the
dotted lines/ Thanks in advance
Regards

*BCTS*

GIS

*Hossameldin ELALKAMY, **MPhill., PhD.*

*GIS Analyst *

BC Timber Sales |  Prince George

Ministry of Forests, Lands and Natural Resource Operations

P. 250.614.7521 C. 778.896.3229 | 2000 Ospika Blvd.  PG, BC., V2N 4W5



Webpage <https://www.for.gov.bc.ca/bcts/> | GIS Requests
<https://spc-bcts.gov.bc.ca/BCTSNGG/SitePages/TPG%20Prince%20George.aspx> |
Profile <https://www.linkedin.com/in/husam-el-alqamy-82212b6a/>

[image: BC FLNRO]

[[alternative HTML version deleted]]

__
R-help@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.


[R] GCV=0 in gam fitting

2014-02-06 Thread Husam El Alqamy
Dear List

I am trying to use gam function in mgcv 17.26. I have a big data set of
about 40,000 data points. Every time that I run it ,it results in GCV score
of 0

 

Family: gaussian 

Link function: identity 

 

Formula:

D ~ s(Ghazl_res) + s(Depth)

 

Estimated degrees of freedom:

3.77 2.91  total = 7.68 

 

GCV score: 0

 

Plotting the curves of the predictor variables also gives a straight
horizontal line along the zero value of the y axis. I really couldn't
interpret whats going wrong. Appreciate it if anyone can comment

 

 

Husam El Alqamy,  B.Sc, M.Phil.

Sr. Biodiversity GIS Analyst,

Enivronmental Information Sector

Environment Agency - Abu Dhabi

 


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.


[R] GCV=0

2014-02-04 Thread Husam El Alqamy
Dear List

I am trying to use gam function in mgcv 17.26. I have a big data set of
about 40,000 data points. Every time that I run it ,it results in GCV score
of 0

 

Family: gaussian 

Link function: identity 

 

Formula:

D ~ s(Ghazl_res) + s(Depth)

 

Estimated degrees of freedom:

3.77 2.91  total = 7.68 

 

GCV score: 0

 

Plotting the curves of the predictor variables also gives a straight
horizontal line along the zero value of the y axis. I really couldn't
interpret whats going wrong. Appreciate it if anyone can comment

 

Husam El Alqamy,  B.Sc, M.Phil.

Sr. Biodiversity GIS Analyst,

Enivronmental Information Sector

Environment Agency - Abu Dhabi

 


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
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.