Re: [R] automatic exploration of all possible loglinear models?

2009-04-22 Thread bartjoosen
Hi, you could also take a look at: http://www.nabble.com/finding-best-fitting-model-td22852224.html Bart ryancw wrote: Is there a way to automate fitting and assessing loglinear models for several nominal variables . . . something akin to step or drop1 or add1 for linear or logistic

Re: [R] automatic exploration of all possible loglinear models?

2009-04-21 Thread Dieter Menne
Christopher W. Ryan cryan at binghamton.edu writes: Is there a way to automate fitting and assessing loglinear models for several nominal variables . . . something akin to step or drop1 or add1 for linear or logistic regression? Not strictly for loglinear, but glm works with stepAIC. Make

Re: [R] automatic exploration of all possible loglinear models?

2009-04-21 Thread Frank E Harrell Jr
Dieter Menne wrote: Christopher W. Ryan cryan at binghamton.edu writes: Is there a way to automate fitting and assessing loglinear models for several nominal variables . . . something akin to step or drop1 or add1 for linear or logistic regression? Not strictly for loglinear, but glm works

Re: [R] automatic exploration of all possible loglinear models?

2009-04-21 Thread Ben Bolker
Dieter Menne wrote: Christopher W. Ryan cryan at binghamton.edu writes: Is there a way to automate fitting and assessing loglinear models for several nominal variables . . . something akin to step or drop1 or add1 for linear or logistic regression? Not strictly for loglinear, but

Re: [R] automatic exploration of all possible loglinear models?

2009-04-21 Thread Christopher W. Ryan
Thank you all. Warnings well-taken. My question arose in the context of my Applied Categorical Data Analysis course. We're mainly using SAS. Recent homework questions have been of the form, The file provides data on 4 variables A, B, C, and D. Find a good-fitting model . . . [more questions about

Re: [R] automatic exploration of all possible loglinear models?

2009-04-21 Thread Dimitris Rizopoulos
Have also a look at package bootStepAIC. Best, Dimitris Christopher W. Ryan wrote: Thank you all. Warnings well-taken. My question arose in the context of my Applied Categorical Data Analysis course. We're mainly using SAS. Recent homework questions have been of the form, The file provides

[R] automatic exploration of all possible loglinear models?

2009-04-20 Thread Christopher W. Ryan
Is there a way to automate fitting and assessing loglinear models for several nominal variables . . . something akin to step or drop1 or add1 for linear or logistic regression? Thanks. --Chris -- Christopher W. Ryan, MD SUNY Upstate Medical University Clinical Campus at Binghamton 40 Arch