[R] mgcv gam bs=re questions

2014-05-03 Thread William Shadish
ss: William R. Shadish University of California School of Social Sciences, Humanities and Arts 5200 North Lake Rd Merced CA 95343 Physical/Delivery Address: University of California Merced ATTN: William Shadish School of Social Sciences, Humanities and Arts Facilities Services Building A 5200 No

[R] metafor package

2014-02-12 Thread William Shadish
nd Arts 5200 North Lake Rd Merced CA 95343 Physical/Delivery Address: University of California Merced ATTN: William Shadish School of Social Sciences, Humanities and Arts Facilities Services Building A 5200 North Lake Rd. Merced, CA 95343 209-228-4372 voice 209-228-4007 fax (communal fax: be sure to incl

[R] package mgcv - predict with bam: Error in X[ind, ] :, subscript out of bounds

2014-02-03 Thread William Shadish
R. Shadish Distinguished Professor Founding Faculty Mailing Address: William R. Shadish University of California School of Social Sciences, Humanities and Arts 5200 North Lake Rd Merced CA 95343 Physical/Delivery Address: University of California Merced ATTN: William Shadish School of Social Scien

[R] mgcv gam modeling trend variation over cases

2013-12-04 Thread William Shadish
stinguished Professor Founding Faculty Mailing Address: William R. Shadish University of California School of Social Sciences, Humanities and Arts 5200 North Lake Rd Merced CA 95343 Physical/Delivery Address: University of California Merced ATTN: William Shadish School of Social Sciences, Human

Re: [R] significance of random effect in mgcv gam

2013-12-04 Thread William Shadish
On 03/12/13 20:09, William Shadish wrote: Dear R-helpers, I would like to test whether a random effect is significant when implemented with bs="re" in mgcv gam. For example, if I run: M3b <- gam(DVY ~ s(SessIDX, fTX, bs = "re") + factor(TX), data = PCP,

[R] significance of random effect in mgcv gam

2013-12-03 Thread William Shadish
rnia School of Social Sciences, Humanities and Arts 5200 North Lake Rd Merced CA 95343 Physical/Delivery Address: University of California Merced ATTN: William Shadish School of Social Sciences, Humanities and Arts Facilities Services Building A 5200 North Lake Rd. Merced, CA 95343 209-228-4372

Re: [R] two questions about xyplot

2013-09-23 Thread William Shadish
t lines for each group of numph you have in each case. For your first question, did you mean you want a text to display the mean in each panel? Richard On Mon, Sep 23, 2013 at 10:41 AM, William Shadish wrote: Dear R helpers, I am generating three artificial short interrupted time series datasets (si

Re: [R] two questions about xyplot

2013-09-23 Thread William Shadish
ean you want a text to display the mean in each panel? Richard On Mon, Sep 23, 2013 at 10:41 AM, William Shadish wrote: Dear R helpers, I am generating three artificial short interrupted time series datasets (single-case designs; call them Case 1, Case 2, Case 3) and then plotting them in xyplot.

[R] two questions about xyplot

2013-09-23 Thread William Shadish
uot;, ylab = "Number of Seconds", type="l") update(p, panel=function(...){ panel.xyplot(...) panel.abline(v=6.5) panel.abline(v=12.5) panel.abline(v=18.5) } ) -- William R. Shadish Distinguished Professor Founding Faculty Mailing Address: Wil

Re: [R] gamm in mgcv random effect significance

2013-06-11 Thread William Shadish
ary.gam is probably just to compare fit indices like Log Likelihoods. If anyone has any other suggestions, though, please do let me know. Thanks so much. Will Shadish On 6/7/2013 3:02 PM, Gavin Simpson wrote: On Fri, 2013-06-07 at 13:12 -0700, William Shadish wrote: Dear R-helpers, I&

[R] gamm in mgcv random effect significance

2013-06-07 Thread William Shadish
attr(,"class") [1] "gamm" "list" -- William R. Shadish Distinguished Professor Founding Faculty Mailing Address: William R. Shadish University of California School of Social Sciences, Humanities and Arts 5200 North Lake Rd Merced CA 95343 Physical/Delivery Address: